Loading packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java +8 −5 Original line number Diff line number Diff line Loading @@ -158,15 +158,18 @@ public class KeyguardPatternView extends KeyguardInputView public void startAppearAnimation() { enableClipping(false); setAlpha(1f); setAlpha(0f); setTranslationY(mAppearAnimationUtils.getStartTranslation()); AppearAnimationUtils.startTranslationYAnimation(this, 0 /* delay */, 500 /* duration */, 0, mAppearAnimationUtils.getInterpolator(), getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PATTERN_APPEAR)); mLockPatternView.post(() -> { setAlpha(1f); mAppearAnimationUtils.startAnimation2d( mLockPatternView.getCellStates(), () -> enableClipping(true), this); KeyguardPatternView.this); }); if (!TextUtils.isEmpty(mSecurityMessageDisplay.getText())) { mAppearAnimationUtils.createAnimation(mSecurityMessageDisplay, 0, AppearAnimationUtils.DEFAULT_APPEAR_DURATION, Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardPatternView.java +8 −5 Original line number Diff line number Diff line Loading @@ -158,15 +158,18 @@ public class KeyguardPatternView extends KeyguardInputView public void startAppearAnimation() { enableClipping(false); setAlpha(1f); setAlpha(0f); setTranslationY(mAppearAnimationUtils.getStartTranslation()); AppearAnimationUtils.startTranslationYAnimation(this, 0 /* delay */, 500 /* duration */, 0, mAppearAnimationUtils.getInterpolator(), getAnimationListener(InteractionJankMonitor.CUJ_LOCKSCREEN_PATTERN_APPEAR)); mLockPatternView.post(() -> { setAlpha(1f); mAppearAnimationUtils.startAnimation2d( mLockPatternView.getCellStates(), () -> enableClipping(true), this); KeyguardPatternView.this); }); if (!TextUtils.isEmpty(mSecurityMessageDisplay.getText())) { mAppearAnimationUtils.createAnimation(mSecurityMessageDisplay, 0, AppearAnimationUtils.DEFAULT_APPEAR_DURATION, Loading