Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f811c9d authored by Federico Baron's avatar Federico Baron
Browse files

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
parent a695986d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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<Integer, PorterDuffColorFilter> COLOR_FILTER_MAP =
            new WeakHashMap<>();