diff options
author | Michael Wright <michaelwr@google.com> | 2015-06-22 16:18:21 +0100 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2015-07-13 09:44:02 +0100 |
commit | a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5 (patch) | |
tree | 101eba9b209f56932a7181ba62bdfcbaa0c5bf00 /services/inputflinger/InputReader.h | |
parent | 982719b179aecc33aa6c258318fcbf6e4faa81d7 (diff) | |
download | frameworks_native-a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5.zip frameworks_native-a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5.tar.gz frameworks_native-a44766cf0ec1cb017a6aee2c74e5d64fa37f44e5.tar.bz2 |
Cancel touches as well as pointer gestures.
Bug: 19264992
Change-Id: If48e0953b972c9d69f516906adf7c6faf67e3eb8
Diffstat (limited to 'services/inputflinger/InputReader.h')
-rw-r--r-- | services/inputflinger/InputReader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/inputflinger/InputReader.h b/services/inputflinger/InputReader.h index 4062ec7..7cb4680 100644 --- a/services/inputflinger/InputReader.h +++ b/services/inputflinger/InputReader.h @@ -1469,6 +1469,9 @@ protected: // Have we assigned pointer IDs for this stream bool mHavePointerIds; + // Is the current stream of direct touch events aborted + bool mCurrentMotionAborted; + // The time the primary pointer last went down. nsecs_t mDownTime; @@ -1802,6 +1805,7 @@ private: void dispatchButtonPress(nsecs_t when, uint32_t policyFlags); const BitSet32& findActiveIdBits(const CookedPointerData& cookedPointerData); void cookPointerData(); + void abortTouches(nsecs_t when, uint32_t policyFlags); void dispatchPointerUsage(nsecs_t when, uint32_t policyFlags, PointerUsage pointerUsage); void abortPointerUsage(nsecs_t when, uint32_t policyFlags); |