diff options
| author | Jeff Brown <jeffbrown@google.com> | 2010-09-27 14:40:38 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-27 14:40:38 -0700 |
| commit | 464fb74e28b6d76d5e741abcdbb714eea2d9b4d1 (patch) | |
| tree | 806828fef18870b8c0a5cde7a6e679dce8b5a122 /core/java/android/view/WindowManager.java | |
| parent | 6d3ed72bf2fb9d958245c9d34443291a26128c59 (diff) | |
| parent | 9785bf0f2b6b8758aed7ded3b996a2ef0be89919 (diff) | |
am 9785bf0f: am 14a288da: Merge "Add suuport for splitting touch events across windows." into gingerbread
Merge commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919'
* commit '9785bf0f2b6b8758aed7ded3b996a2ef0be89919':
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 c147b74aec88..dc3b44df5b17 100644 --- a/core/java/android/view/WindowManager.java +++ b/core/java/android/view/WindowManager.java @@ -590,6 +590,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 |
