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

Commit 3b4511c3 authored by Aaron Liu's avatar Aaron Liu Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17125030

Change-Id: I1287e97a475dc687df76232a1ef3e56db8adaefd
parents c2495ab3 181394dd
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();