diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-10-11 18:32:20 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-10-11 18:32:20 -0700 |
commit | 9c9f1a3ba1bc19754e4d38cb27a537d4dfedc0fe (patch) | |
tree | fc519d8f2f97dc3fa6007f16e07cc05b09849109 /include/ui/InputDispatcher.h | |
parent | e20c9e0264190f94324197a8271cf03811a4ca58 (diff) | |
download | frameworks_base-9c9f1a3ba1bc19754e4d38cb27a537d4dfedc0fe.zip frameworks_base-9c9f1a3ba1bc19754e4d38cb27a537d4dfedc0fe.tar.gz frameworks_base-9c9f1a3ba1bc19754e4d38cb27a537d4dfedc0fe.tar.bz2 |
Track input state when transferring touch focus.
Copies the input state to the destination window and sends synthesic
cancelation events to the source window.
Change-Id: Ia75820b0d756ed5d6cd22dce7830251ac85141ed
Diffstat (limited to 'include/ui/InputDispatcher.h')
-rw-r--r-- | include/ui/InputDispatcher.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/InputDispatcher.h b/include/ui/InputDispatcher.h index 2c22cad..63185d3 100644 --- a/include/ui/InputDispatcher.h +++ b/include/ui/InputDispatcher.h @@ -757,6 +757,9 @@ private: // Clears the current state. void clear(); + // Copies pointer-related parts of the input state to another instance. + void copyPointerStateTo(InputState& other) const; + private: struct KeyMemento { int32_t deviceId; |