From 3278715fd49514432cb124c9efbf75bbb3d4a191 Mon Sep 17 00:00:00 2001 From: Federico Baron Date: Tue, 17 Jan 2023 16:42:43 -0800 Subject: [PATCH] Change preload icon size to always be 0.7 scale when downloading In order to match upcoming designs. We will keep the icon size when downloading at 0.7 scale Test: download an app with ENABLE_DOWNLOAD_APP_UX_V2 on Bug: 254858049 Change-Id: I7f22eb3a5c6f1e75f19e033ff11a70aa4010ea10 --- src/com/android/launcher3/graphics/PreloadIconDrawable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/graphics/PreloadIconDrawable.java b/src/com/android/launcher3/graphics/PreloadIconDrawable.java index 9001a5270e..f2fde0e7dd 100644 --- a/src/com/android/launcher3/graphics/PreloadIconDrawable.java +++ b/src/com/android/launcher3/graphics/PreloadIconDrawable.java @@ -82,7 +82,7 @@ public class PreloadIconDrawable extends FastBitmapDrawable { // Duration = COMPLETE_ANIM_FRACTION * DURATION_SCALE private static final float COMPLETE_ANIM_FRACTION = 1f; - private static final float SMALL_SCALE = ENABLE_DOWNLOAD_APP_UX_V2.get() ? 0.867f : 0.7f; + private static final float SMALL_SCALE = 0.7f; private static final float PROGRESS_STROKE_SCALE = ENABLE_DOWNLOAD_APP_UX_V2.get() ? 0.0655f : 0.075f;