From 5f811c9dada38c826c367eb41aa0568212fc9f23 Mon Sep 17 00:00:00 2001 From: Federico Baron Date: Thu, 2 Mar 2023 13:24:00 -0800 Subject: [PATCH] Set range of overlay for pending download app animation to 0-75% from 0-50% The pending download app animation had an overlay that ranged from 0% to 50% opacity. With this CL we shift the range to 0-75%. Fix: 271470372 Test: download an app and see the animation for pending download Change-Id: Ib0332eca2dad37efa916a9410e9466cc63574b5a --- 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 8efd12a917..5a50569755 100644 --- a/src/com/android/launcher3/graphics/PreloadIconDrawable.java +++ b/src/com/android/launcher3/graphics/PreloadIconDrawable.java @@ -92,7 +92,7 @@ public class PreloadIconDrawable extends FastBitmapDrawable { private static final int PRELOAD_BACKGROUND_COLOR_INDEX = 1; private static final int ALPHA_DURATION_MILLIS = 3000; - private static final int OVERLAY_ALPHA_RANGE = 127; + private static final int OVERLAY_ALPHA_RANGE = 191; private static final long WAVE_MOTION_DELAY_FACTOR_MILLIS = 100; private static final WeakHashMap COLOR_FILTER_MAP = new WeakHashMap<>();