summaryrefslogtreecommitdiffstats
path: root/include/androidfw
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2013-04-10 21:12:00 -0700
committerMichael Wright <michaelwr@google.com>2013-04-22 17:01:51 -0700
commita44dd26a75e24cc021802288fb81f4761e47be6b (patch)
treece61491d8a35cc7a61af5597f6709b3c92504a54 /include/androidfw
parentc3d0a81a4a1809446bc1fa9abc9b5b74b01e676e (diff)
downloadframeworks_base-a44dd26a75e24cc021802288fb81f4761e47be6b.zip
frameworks_base-a44dd26a75e24cc021802288fb81f4761e47be6b.tar.gz
frameworks_base-a44dd26a75e24cc021802288fb81f4761e47be6b.tar.bz2
Rewrite input handling for native applications
Bug: 8473020 Change-Id: Ic4353d8924ab877bec21aff8c2dba9fe725bf906
Diffstat (limited to 'include/androidfw')
-rw-r--r--include/androidfw/Input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/androidfw/Input.h b/include/androidfw/Input.h
index e88835e..37ab279 100644
--- a/include/androidfw/Input.h
+++ b/include/androidfw/Input.h
@@ -36,6 +36,9 @@ class SkMatrix;
* Additional private constants not defined in ndk/ui/input.h.
*/
enum {
+ /* Signifies that the key is being predispatched */
+ AKEY_EVENT_FLAG_PREDISPATCH = 0x20000000,
+
/* Private control to determine when an app is tracking a key sequence. */
AKEY_EVENT_FLAG_START_TRACKING = 0x40000000,