8a148a3b1de69a018867506a42774a47870f6f6c |
|
08-Aug-2015 |
Bryce Lee <brycelee@google.com> |
Make sure that changes to UI in SwipeDismissLayout are on UI thread. Bug: 23036658 Change-Id: I2f51f7275c24f32c5f291f58b0dd331e608d8beb
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
06756f352d2046246bc147fa1f55d1dfbfcb37f5 |
|
01-Jun-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Dismiss or cancel in SwipeDismissLayout on screen off. Fix for situation where you palm the device while swiping away an ambiactive activity (or rather, when you swipe slightly an ambiactive activity during palm gesture). This would make the activity stay in half dismissed state. Instead when the screen goes off, we either dismiss or cancel the dismissal. Change-Id: I82e699c00c25bc97dd95bc6473a17e5817f7667a
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
026e204ee461e101fe251742f6ffb09b1747c804 |
|
30-Apr-2015 |
Gus Prevas <kprevas@google.com> |
Fixes velocity tracking bug in SwipeDismissLayout. This is the framework version of ag/682710. Original change description: This change adds a missing call to offsetLocation() when tracking swipe velocities on a SwipeDismissLayout. This bug was causing incorrect velocities to be measured which often resulted in an incorrectly interpreted leftward swipe cancelling the dismiss gesture. Bug: 20350515 Change-Id: I4f3e3668a1f9aab963fdfa9095a43f4c5344703f
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
55555a3dab1f3b99a3299b90851624e9dc10f3cc |
|
24-Apr-2015 |
Mark Renouf <mrenouf@google.com> |
Fixes rejected dismiss gestures (framework version of ag/677161) Gus's original change description: This change modifies the logic in SwipeDismissLayout which determines whether or not a gesture should be interpreted as a dismiss gesture. Previously, on the first touch move event, the gesture was classified as a dismiss gesture if the X movement exceeded the touch slop and the Y movement did not. At this point the gesture was not intercepted and the underlying widget (in the case of the cue card, the GridViewPager) received all subsequent move events. In the case of a very fast gesture at a slight vertical angle, it was easy for the total Y movement to exceed the touch slop. This change only rejects the gesture if the Y movement exceeds the X movement, which is consistent with how GridViewPager distinguishes horizontal vs. vertical swipes. This change also cancels the dismissal if the end of the gesture is a leftwards flight. BUG: 20542762 (Same as b/20350515 but for Activity dismissal at the system level.) Change-Id: I6e3fb646c42dda0d1c1f5552d91b27c6374fc08c
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
23958c6e2ffd4e76a88bc553fe2874d2f5f3f5e2 |
|
24-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Force translucency from windowIsTranslucent on SwipeDismissLayout. Bug: 18799741 Change-Id: Ifb05869f1bf080d7555d7728dc085c41cc2c277c
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
6eafa902cbc15fa35f8f0dfb5e559673fa67f637 |
|
14-Nov-2014 |
Filip Gruszczynski <gruszczy@google.com> |
SwipeDismissLayout makes activity opaque only after entry animation ends. Bug: 18340863 Change-Id: Ic60fa2463618f86b1ae23fc4a0c06cd348f28334
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
625ec4849118f061a99558ad558b16020435a88d |
|
23-Oct-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Check if context is actually an activity. Bug: 18101409 Change-Id: Iab21338ef4ccaab0ce66d664502e0b5e88ad9c50
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
3f8dd14451521d728fba548c7655d8fe531ed2ef |
|
21-Oct-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Disable activity's translucency until it starts being swiped away. Change-Id: Ia5dceac7bd9ff57920a43736f9db6a33175e01ac
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
6c5c48a8b05e7668de551c3bf37aa3f33c7f0920 |
|
18-Jun-2014 |
Mark Renouf <mrenouf@google.com> |
Limit swipe dismiss progress to positive values BUG: 15716749 Change-Id: Ibd6daa1a515611e5c9b8a02c6df75130aa8c093b
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
56e533a5f69e930608f6caf478d4fa5afc7c5eec |
|
20-May-2014 |
Mindy Pereira <mindyp@google.com> |
Make a smaller cliff for dismissing cards Fixes b/14997474 swipe to dismiss cliff guard may be too big Change-Id: I3e681f1c6dc3eaac37a0e840b36f4c7041e86e62
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
072c6033fd48900f9f522aad1c984055e38d8380 |
|
07-May-2014 |
Mindy Pereira <mindyp@google.com> |
Make distance count when dismissing swipedismisslayout verify the user's gesture took up at least 40% of the screen before dismissing Part of b/14319825 Cliff guard against accidental card dismissals Works in conjunction with GridViewPager change: https://googleplex-android-review.git.corp.google.com/#/c/461036/ Change-Id: Id8ff02d0a2d727b54c9950ad14ddef7a110f4eef
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
11b1469144d73ad0280ef9d0c2e478d180f17074 |
|
01-May-2014 |
Mark Renouf <mrenouf@google.com> |
Implement cliff guard for swipeDismiss gesture BUG: 14319825 Change-Id: I6a80c91b4a6ee2eaf49a8c0c69065d4b97d7f8f2
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
df4ee5c8ac0830b23451ea466d48487f8b2205a0 |
|
06-Mar-2014 |
Justin Koh <justinkoh@google.com> |
Fix possible invalid pointer index in swipe dismiss. Fix possible invalid pointer index in swipe dismiss: exit out if the pointer index is -1. Also allow user to cancel this if in swipe mode. Change-Id: I0f623ced0287679be8dd5c93ab6c67504b82fe9b
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|
ca6234e084a71e0c968cff404620298bcd971fcc |
|
12-Feb-2014 |
Will Haldean Brown <haldean@google.com> |
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
/frameworks/base/core/java/com/android/internal/widget/SwipeDismissLayout.java
|