summaryrefslogtreecommitdiff
path: root/services/inputflinger/reader/mapper/CursorInputMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/inputflinger/reader/mapper/CursorInputMapper.h')
-rw-r--r--services/inputflinger/reader/mapper/CursorInputMapper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/inputflinger/reader/mapper/CursorInputMapper.h b/services/inputflinger/reader/mapper/CursorInputMapper.h
index f65ac3934a..88e947f7d5 100644
--- a/services/inputflinger/reader/mapper/CursorInputMapper.h
+++ b/services/inputflinger/reader/mapper/CursorInputMapper.h
@@ -105,8 +105,10 @@ private:
VelocityControl mWheelYVelocityControl;
int32_t mOrientation;
+ int32_t mDisplayWidth;
+ int32_t mDisplayHeight;
- sp<PointerControllerInterface> mPointerController;
+ std::shared_ptr<PointerControllerInterface> mPointerController;
int32_t mButtonState;
nsecs_t mDownTime;
@@ -114,7 +116,7 @@ private:
void configureParameters();
void dumpParameters(std::string& dump);
- void sync(nsecs_t when);
+ void sync(nsecs_t when, nsecs_t readTime);
};
} // namespace android