diff options
| author | 2010-10-10 14:47:57 -0700 | |
|---|---|---|
| committer | 2010-10-10 14:47:57 -0700 | |
| commit | 1e6a3a53fc4d56e3a0f86c8721dedfd46e738a32 (patch) | |
| tree | 71a66aa8a9a760086aba831e07101474dede90e2 /include/ui/Input.h | |
| parent | b72a335a7f11176838d2d12e7295344c092c62ac (diff) | |
| parent | b699726018a0049665d8ad6b90dbc5af0e18f135 (diff) | |
Merge "Added more robust tracking and cancelation of events." into gingerbread
Diffstat (limited to 'include/ui/Input.h')
| -rw-r--r-- | include/ui/Input.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h index ee40b85d7b33..66061fd71935 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -71,6 +71,8 @@ namespace android { /* * Flags that flow alongside events in the input dispatch system to help with certain * policy decisions such as waking from device sleep. + * + * These flags are also defined in frameworks/base/core/java/android/view/WindowManagerPolicy.java. */ enum { /* These flags originate in RawEvents and are generally set in the key map. @@ -102,6 +104,11 @@ 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 event should be dispatched to applications. + // The input event should still be sent to the InputDispatcher so that it can see all + // input events received include those that it will not deliver. + POLICY_FLAG_PASS_TO_USER = 0x40000000, }; /* |