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

Commit cb3fc6b0 authored by Jon Miranda's avatar Jon Miranda
Browse files

Update start radius for reveal animation to match spec.

Bug: 273961611
Change-Id: I3330b8b2ec47d7e9608b900a859d2a865f92a994
Flag: ENABLE_TRANSIENT_TASKBAR
Test: stash/unstash
parent 149246f0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -335,8 +335,8 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
        }
        }


        Rect stashedRect = new Rect(left, top, right, bottom);
        Rect stashedRect = new Rect(left, top, right, bottom);
        float radius = 0;
        float radius = viewBounds.height() / 2f;
        float stashedRadius = stashedRect.width() / 2f;
        float stashedRadius = stashedRect.height() / 2f;


        return new RoundedRectRevealOutlineProvider(radius, stashedRadius, viewBounds, stashedRect)
        return new RoundedRectRevealOutlineProvider(radius, stashedRadius, viewBounds, stashedRect)
                .createRevealAnimator(view, !isStashed, 0);
                .createRevealAnimator(view, !isStashed, 0);