diff options
| author | Jeff Brown <jeffbrown@google.com> | 2010-09-27 12:37:03 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-27 12:37:03 -0700 |
| commit | 9785bf0f2b6b8758aed7ded3b996a2ef0be89919 (patch) | |
| tree | e444042c55ec1f06c8997a37b920d6d6b130d73d /core/java/android/view/WindowManager.java | |
| parent | 761427f85b7b7478801dcb4e0fb2f1b824cf1268 (diff) | |
| parent | 14a288da6a372230d9af41da12241fe500eec837 (diff) | |
am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread
Merge commit '14a288da6a372230d9af41da12241fe500eec837' into gingerbread-plus-aosp
* commit '14a288da6a372230d9af41da12241fe500eec837':
Add suuport for splitting touch events across windows.
Diffstat (limited to 'core/java/android/view/WindowManager.java')
| -rw-r--r-- | core/java/android/view/WindowManager.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java index eebbc931d0a3..9c4aefefd075 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -583,6 +583,19 @@ public interface WindowManager extends ViewManager { * also been set. */ public static final int FLAG_DISMISS_KEYGUARD = 0x00400000; + + /** Window flag: when set the window will accept for touch events + * outside of its bounds to be sent to other windows that also + * support split touch. When this flag is not set, the first pointer + * that goes down determines the window to which all subsequent touches + * go until all pointers go up. When this flag is set, each pointer + * (not necessarily the first) that goes down determines the window + * to which all subsequent touches of that pointer will go until that + * pointer goes up thereby enabling touches with multiple pointers + * to be split across multiple windows. + * + * {@hide} */ + public static final int FLAG_SPLIT_TOUCH = 0x00800000; /** Window flag: *sigh* The lock screen wants to continue running its * animation while it is fading. A kind-of hack to allow this. Maybe |
