diff options
| author | Jeff Brown <jeffbrown@google.com> | 2011-06-08 15:37:10 -0700 |
|---|---|---|
| committer | Jeff Brown <jeffbrown@google.com> | 2011-06-13 18:05:18 -0700 |
| commit | 98db5fabdad86dca379740d8050697950b9f026c (patch) | |
| tree | d73d51bed473f165d74eb6cac1aee571fce3b183 /core/java/android/view/WindowManager.java | |
| parent | b3a2d1330716812784aee91b6d6275764b5e4210 (diff) | |
Allow touches to slide out of the navigation bar.
Change-Id: I73cabba3d62f47829bf6217700ace56a27c42b1d
Diffstat (limited to 'core/java/android/view/WindowManager.java')
| -rw-r--r-- | core/java/android/view/WindowManager.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index b0181bbc3de0..6b6aee3c37d0 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -685,7 +685,19 @@ public interface WindowManager extends ViewManager { // ----- HIDDEN FLAGS. // These start at the high bit and go down. - + + /** Window flag: Enable touches to slide out of a window into neighboring + * windows in mid-gesture instead of being captured for the duration of + * the gesture. + * + * This flag changes the behavior of touch focus for this window only. + * Touches can slide out of the window but they cannot necessarily slide + * back in (unless the other window with touch focus permits it). + * + * {@hide} + */ + public static final int FLAG_SLIPPERY = 0x04000000; + /** * Flag for a window belonging to an activity that responds to {@link KeyEvent#KEYCODE_MENU} * and therefore needs a Menu key. For devices where Menu is a physical button this flag is |
