diff options
author | Jon Miranda <jonmiranda@google.com> | 2019-05-10 11:36:51 -0700 |
---|---|---|
committer | Jon Miranda <jonmiranda@google.com> | 2019-05-13 10:58:54 -0700 |
commit | a3c0b0aa68d2d980ed21a76b347da6a7b7537da2 (patch) | |
tree | 539987db3988c1047d62d9fea7477715a3301afa /quickstep/recents_ui_overrides/res | |
parent | 57730ed095cacdd91c847775e857fbe61b564d6d (diff) | |
download | android_packages_apps_Trebuchet-a3c0b0aa68d2d980ed21a76b347da6a7b7537da2.tar.gz android_packages_apps_Trebuchet-a3c0b0aa68d2d980ed21a76b347da6a7b7537da2.tar.bz2 android_packages_apps_Trebuchet-a3c0b0aa68d2d980ed21a76b347da6a7b7537da2.zip |
Swipe up to home animation changes.
* Tracks either the top or bottom of the rect for the fling/spring in the
Y direction.
- This allows us to have the icon always animate downwards.
* Scales the spring velocity for the Y component.
Bug: 124510042
Change-Id: I47571f906c8aa1beca4dd703d67d013ab6a1161f
Diffstat (limited to 'quickstep/recents_ui_overrides/res')
-rw-r--r-- | quickstep/recents_ui_overrides/res/values/dimens.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quickstep/recents_ui_overrides/res/values/dimens.xml b/quickstep/recents_ui_overrides/res/values/dimens.xml index 61c576e82..b316edd73 100644 --- a/quickstep/recents_ui_overrides/res/values/dimens.xml +++ b/quickstep/recents_ui_overrides/res/values/dimens.xml @@ -23,4 +23,8 @@ <!-- Minimum distance to swipe to trigger accessibility gesture --> <dimen name="accessibility_gesture_min_swipe_distance">80dp</dimen> + + <!-- Swipe up to home related --> + <dimen name="swipe_up_fling_min_visible_change">18dp</dimen> + <dimen name="swipe_up_y_overshoot">10dp</dimen> </resources>
\ No newline at end of file |