summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorWill Haldean Brown <haldean@google.com>2014-02-12 10:23:41 -0800
committerWill Haldean Brown <haldean@google.com>2014-03-04 09:26:15 -0800
commitca6234e084a71e0c968cff404620298bcd971fcc (patch)
treebd5c5a5ba959637f34af9d70e97b5b60def2eb70 /rs/java/android/renderscript/ProgramStore.java
parenta4bd2cbe509911729c9f185b045e54d7528d8836 (diff)
Add swipe-to-dismiss support to PhoneWindow.
This adds a new window feature -- FEATURE_SWIPE_TO_DISMISS -- and a theme attribute to activate that feature. When the feature is activated, a SwipeDismissLayout is inflated as the DecorView layout. SwipeDismissLayout intercepts touch events and steals ones that are large swipes to the right if its children don't. PhoneWindow registers handlers that listen for these swipe events, translate the window when necessary, and finish the activity at the end of the gesture. Change-Id: I512e758f3c3ffd3b353dba3b911c0e80a88d6f5f
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions