Merge "Fade in/out taskbar when launching apps from or back to AllApps/-1" into tm-qpr-dev am: c10a003aa0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20411894

Change-Id: Idbed5a030b1e000a250c1a59446553ab7b4dc73d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2022-12-02 12:28:57 +00:00
committed by Automerger Merge Worker
6 changed files with 110 additions and 37 deletions

View File

@@ -482,6 +482,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
final View appsView = mLauncher.getAppsView();
final float startAlpha = appsView.getAlpha();
final float startScale = SCALE_PROPERTY.get(appsView);
if (mDeviceProfile.isTablet) {
// AllApps should not fade at all in tablets.
alphas = new float[]{1, 1};
}
appsView.setAlpha(alphas[0]);
ObjectAnimator alpha = ObjectAnimator.ofFloat(appsView, View.ALPHA, alphas);