Merge "Add a way to fade out taskbar view when closing an app in the taskbar." into tm-qpr-dev

This commit is contained in:
Jon Miranda
2023-03-21 13:01:30 +00:00
committed by Android (Google) Code Review
3 changed files with 26 additions and 6 deletions

View File

@@ -640,7 +640,8 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
(mLauncher.getTaskbarUIController() == null || !isTransientTaskbar(mLauncher))
? null
: mLauncher.getTaskbarUIController().findMatchingView(v),
!appTargetsAreTranslucent, launcherIconBounds, true /* isOpening */);
null /* fadeOutView */, !appTargetsAreTranslucent, launcherIconBounds,
true /* isOpening */);
Rect crop = new Rect();
Matrix matrix = new Matrix();
@@ -1355,7 +1356,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
mDeviceProfile.isMultiWindowMode ? 0 : getWindowCornerRadius(mLauncher),
isTransluscent, fallbackBackgroundColor);
} else if (launcherView != null) {
floatingIconView = getFloatingIconView(mLauncher, launcherView,
floatingIconView = getFloatingIconView(mLauncher, launcherView, null,
mLauncher.getTaskbarUIController() == null
? null
: mLauncher.getTaskbarUIController().findMatchingView(launcherView),