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

Commit 181394dd authored by Aaron Liu's avatar Aaron Liu Committed by Android (Google) Code Review
Browse files

Merge "Bouncer: add alpha animation on success." into tm-dev

parents e45a811c 272c9bb2
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();