diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-26 15:33:41 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-26 17:24:12 -0700 |
commit | 00c9c9a6fc551fef89658a11abe544248247f3b6 (patch) | |
tree | e1f452f350129fe10fda2c589522f500ab12976d /quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java | |
parent | 3d58de67a87b589eacbf8b4d4e3872b7bb7576e7 (diff) | |
download | android_packages_apps_Trebuchet-00c9c9a6fc551fef89658a11abe544248247f3b6.tar.gz android_packages_apps_Trebuchet-00c9c9a6fc551fef89658a11abe544248247f3b6.tar.bz2 android_packages_apps_Trebuchet-00c9c9a6fc551fef89658a11abe544248247f3b6.zip |
Adding an empty message in RecentsView
Moving the content instead of translating the view. This ensures
that the empty message fades in place while the other content come-in
from the side.
Change-Id: I081d2e21206de24ad530814cb6a8ca7c3e293724
Diffstat (limited to 'quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java')
-rw-r--r-- | quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java b/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java index d8f206c5e..5f94bcaf1 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java +++ b/quickstep/src/com/android/launcher3/uioverrides/RecentsViewStateController.java @@ -56,6 +56,7 @@ public class RecentsViewStateController implements StateHandler { mRecentsView.setTranslationXFactor(translationFactor[0]); mRecentsView.setTranslationYFactor(translationFactor[1]); if (state.overviewUi) { + mRecentsView.updateEmptyMessage(); mRecentsView.resetTaskVisuals(); } } @@ -94,6 +95,7 @@ public class RecentsViewStateController implements StateHandler { }); updateAnim.setDuration(config.duration); builder.play(updateAnim); + mRecentsView.updateEmptyMessage(); } } } |