diff options
author | Tony Wickham <twickham@google.com> | 2019-04-05 13:52:35 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2019-04-09 10:53:24 -0700 |
commit | 9791bd1555b2143fcc39830cdc555aa51114f4b0 (patch) | |
tree | 4ccb461497a01766d21b339e0ecb72a9c7feff11 /quickstep/res | |
parent | 2a059c7802c68ffbccbde00b6036b8cbd2b04a7d (diff) | |
download | android_packages_apps_Trebuchet-9791bd1555b2143fcc39830cdc555aa51114f4b0.tar.gz android_packages_apps_Trebuchet-9791bd1555b2143fcc39830cdc555aa51114f4b0.tar.bz2 android_packages_apps_Trebuchet-9791bd1555b2143fcc39830cdc555aa51114f4b0.zip |
Swipe up on nav bar to go home from -1 and widgets
More specifically, any window (e.g. qsb search) or AbstractFloatingView.
NavBarToHomeTouchController now implements TouchController directly instead
of AbstractStateChangeTouchController, as it not only dealing with
launcher states. This makes it easier to override intercept logic to
handle cases like not having window focus, for example.
AbstractFloatingViews can createHintCloseAnim() to play an animation
hinting that it is about to be closed by swiping up. Widgets sheets use
this to pull back similar to the all apps transition to home.
Bug: 129976669
Change-Id: Ie157b978d9f1ee36d5fd32cea72ec02ce40878c0
Diffstat (limited to 'quickstep/res')
-rw-r--r-- | quickstep/res/values/dimens.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quickstep/res/values/dimens.xml b/quickstep/res/values/dimens.xml index 97f2de762..9e1833c75 100644 --- a/quickstep/res/values/dimens.xml +++ b/quickstep/res/values/dimens.xml @@ -68,4 +68,7 @@ <!-- Assistant Gestures --> <dimen name="gestures_assistant_size">28dp</dimen> <dimen name="gestures_assistant_drag_threshold">70dp</dimen> + + <!-- Distance to move elements when swiping up to go home from launcher --> + <dimen name="home_pullback_distance">28dp</dimen> </resources> |