Merge "Update timings for the Home <> All Apps transition." into tm-qpr-dev

This commit is contained in:
Luca Zuccarini authored and Android (Google) Code Review committed 2022-12-19 11:10:14 +00:00
commit 49d07b1688
3 files changed
+34 -20

No files matched your search

@@ -108,7 +108,10 @@ public class BaseDepthController {
float depth = mDepth;
IBinder windowToken = mLauncher.getRootView().getWindowToken();
if (windowToken != null) {
mWallpaperManager.setWallpaperZoomOut(windowToken, depth);
// The API's full zoom-out is three times larger than the zoom-out we apply to the
// icons. To keep the two consistent throughout the animation while keeping Launcher's
// concept of full depth unchanged, we divide the depth by 3 here.
mWallpaperManager.setWallpaperZoomOut(windowToken, depth / 3);
}
if (!BlurUtils.supportsBlursOnWindows()) {