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
This commit is contained in:
Federico Baron
2023-01-17 16:42:43 -08:00
parent a13d5c4b91
commit 3278715fd4

View File

@@ -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;