Revert "[Bouncer] Refine entry animation scrimmed."

This reverts commit fc6b5a31a9.

Reason for revert: b/264030929 and b/262948363

Change-Id: Id407dab5bb0e24dc0f1226bd8819af2d8c3e7d54
This commit is contained in:
Aaron Liu
2023-01-03 19:18:51 +00:00
committed by Android (Google) Code Review
parent fc6b5a31a9
commit 91b5eb1100
2 changed files with 3 additions and 2 deletions

View File

@@ -177,6 +177,8 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
@Override
public void startAppearAnimation() {
setAlpha(1f);
setTranslationY(0);
if (mAppearAnimator.isRunning()) {
mAppearAnimator.cancel();
}
@@ -213,7 +215,6 @@ public class KeyguardPINView extends KeyguardPinBasedInputView {
/** Animate subviews according to expansion or time. */
private void animate(float progress) {
setAlpha(progress);
Interpolator standardDecelerate = Interpolators.STANDARD_DECELERATE;
Interpolator legacyDecelerate = Interpolators.LEGACY_DECELERATE;

View File

@@ -77,6 +77,7 @@ constructor(
/** Runnable to show the primary bouncer. */
val showRunnable = Runnable {
repository.setPrimaryVisible(true)
repository.setPrimaryShow(
KeyguardBouncerModel(
promptReason = repository.bouncerPromptReason ?: 0,
@@ -85,7 +86,6 @@ constructor(
)
)
repository.setPrimaryShowingSoon(false)
repository.setPrimaryVisible(true)
primaryBouncerCallbackInteractor.dispatchVisibilityChanged(View.VISIBLE)
}