diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-02-11 14:28:48 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-02-11 14:43:19 -0800 |
commit | ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4 (patch) | |
tree | 14c881e204f113307a474f613ea41f02e2ec37cc /include/input | |
parent | 0f0ccf07bad594b618f4fcce9a8f79a5bc188bb3 (diff) | |
download | frameworks_native-ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4.zip frameworks_native-ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4.tar.gz frameworks_native-ed4d28dd70448b13eb74a3166ec8d1c1a530e2d4.tar.bz2 |
Add method to apply offset to PointerCoords. (DO NOT MERGE)
Change-Id: I3dc2ba22b026e5b8e1c3d90f7366ec09a59ce6b6
Diffstat (limited to 'include/input')
-rw-r--r-- | include/input/Input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h index e778076..be79c59 100644 --- a/include/input/Input.h +++ b/include/input/Input.h @@ -184,6 +184,7 @@ struct PointerCoords { status_t setAxisValue(int32_t axis, float value); void scale(float scale); + void applyOffset(float xOffset, float yOffset); inline float getX() const { return getAxisValue(AMOTION_EVENT_AXIS_X); |