diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-06-22 01:27:15 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-06-28 19:10:54 -0700 |
commit | 349703effce5acc53ed96f7ed8556131f0c65e18 (patch) | |
tree | 359217d5076e3005c724b2117a59ffec81e7a83b /include/ui/Input.h | |
parent | f2b544f5ae7676f7ab4cdf3379b2ed3c60a65def (diff) | |
download | frameworks_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.h | 3 |
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, }; /* |