diff options
author | Matthew Ng <ngmatthew@google.com> | 2018-05-09 11:40:44 -0700 |
---|---|---|
committer | Matthew Ng <ngmatthew@google.com> | 2018-05-18 00:48:51 +0000 |
commit | 8b92fe336be8d7d06925b50f63fe15538d2fe1db (patch) | |
tree | 1596eae8cab974f9ef24597087b22546631d1268 /src_ui_overrides | |
parent | 48059dc7061b3144ba0b2f49d4ac4da7f7471752 (diff) | |
download | packages_apps_Trebuchet-8b92fe336be8d7d06925b50f63fe15538d2fe1db.tar.gz packages_apps_Trebuchet-8b92fe336be8d7d06925b50f63fe15538d2fe1db.tar.bz2 packages_apps_Trebuchet-8b92fe336be8d7d06925b50f63fe15538d2fe1db.zip |
Fade back button in and out tied with the overview/shelf (2/3)
Back button changes opacity when moving the shelf during swipe up
between home screen and overview. The alpha changes depending on the
progress of the swipe up animation. When going from app to home and vice
versa, the fade animation does not tie with the swipe up progress. The
fade animation also masks the back button drawable when ime visibility
changes.
Change-Id: I51e42930640ba711e81880b385bb722d7ee8ad33
Fixes: 74581837
Fixes: 76900236
Test: swipe up from home screen to overview
Diffstat (limited to 'src_ui_overrides')
-rw-r--r-- | src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java index e93dd5a03..db98f9a80 100644 --- a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java +++ b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java @@ -56,4 +56,6 @@ public class UiFactory { } public static void prepareToShowOverview(Launcher launcher) { } + + public static void setBackButtonAlpha(Launcher launcher, float alpha, boolean animate) { } } |