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

Commit 272c9bb2 authored by Aaron Liu's avatar Aaron Liu
Browse files

Bouncer: add alpha animation on success.

Adds an alpha animation along with the y animation.

Bug: 222541980
Test: Manual test on device
Change-Id: I6452eb22a8e60c0cd5449880c2cce26a4bf53f5a
parent c6c97b7b
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -188,14 +188,13 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {

        enableClipping(false);
        setTranslationY(0);
        AppearAnimationUtils.startTranslationYAnimation(this, 0 /* delay */, 280 /* duration */,
                mDisappearYTranslation, mDisappearAnimationUtils.getInterpolator(),
                getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR));
        DisappearAnimationUtils disappearAnimationUtils = needsSlowUnlockTransition
                        ? mDisappearAnimationUtilsLocked
                        : mDisappearAnimationUtils;
        disappearAnimationUtils.startAnimation2d(mViews,
                () -> {
        disappearAnimationUtils.createAnimation(
                this, 0, 200, mDisappearYTranslation, false,
                mDisappearAnimationUtils.getInterpolator(), () -> {
                    getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PIN_DISAPPEAR);
                    enableClipping(true);
                    if (finishRunnable != null) {
                        finishRunnable.run();