summaryrefslogtreecommitdiffstats
path: root/include/ui/Input.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-06-22 01:27:15 -0700
committerJeff Brown <jeffbrown@google.com>2010-06-28 19:10:54 -0700
commit349703effce5acc53ed96f7ed8556131f0c65e18 (patch)
tree359217d5076e3005c724b2117a59ffec81e7a83b /include/ui/Input.h
parentf2b544f5ae7676f7ab4cdf3379b2ed3c60a65def (diff)
downloadframeworks_base-349703effce5acc53ed96f7ed8556131f0c65e18.zip
frameworks_base-349703effce5acc53ed96f7ed8556131f0c65e18.tar.gz
frameworks_base-349703effce5acc53ed96f7ed8556131f0c65e18.tar.bz2
Native input event dispatching.
Target identification is now fully native. Fixed a couple of minor issues related to input injection. Native input enabled by default, can be disabled by setting WindowManagerPolicy.ENABLE_NATIVE_INPUT_DISPATCH to false. Change-Id: I7edf66ed3e987cc9306ad4743ac57a116af452ff
Diffstat (limited to 'include/ui/Input.h')
-rw-r--r--include/ui/Input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h
index 32f85b3..57b292b 100644
--- a/include/ui/Input.h
+++ b/include/ui/Input.h
@@ -87,6 +87,9 @@ enum {
// Indicates that the screen was dim when the event was received and the event
// should brighten the device.
POLICY_FLAG_BRIGHT_HERE = 0x20000000,
+
+ // Indicates that the dispatcher should call back into the policy before dispatching. */
+ POLICY_FLAG_INTERCEPT_DISPATCH = 0x40000000,
};
/*