Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +1 −0 Original line number Diff line number Diff line Loading @@ -974,6 +974,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, inflateEmptyShadeView(); updateEmptyShadeView(); inflateOverflowContainer(); mStatusBarKeyguardViewManager.onDensityOrFontScaleChanged(); } private void inflateSignalClusters() { Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +9 −1 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, private boolean mSkipFirstFrame; private boolean mDontAnimateBouncerChanges; private boolean mKeyguardFadingOutInProgress; private ValueAnimator mKeyguardFadeoutAnimation; public ScrimController(ScrimView scrimBehind, ScrimView scrimInFront, View headsUpScrim) { mScrimBehind = scrimBehind; Loading Loading @@ -135,6 +136,9 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, if (mPinnedHeadsUpCount != 0) { updateHeadsUpScrim(false); } if (mKeyguardFadeoutAnimation != null) { mKeyguardFadeoutAnimation.cancel(); } } } Loading Loading @@ -345,7 +349,10 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, mOnAnimationFinished.run(); mOnAnimationFinished = null; } if (mKeyguardFadingOutInProgress) { mKeyguardFadeoutAnimation = null; mKeyguardFadingOutInProgress = false; } scrim.setTag(TAG_KEY_ANIM, null); scrim.setTag(TAG_KEY_ANIM_TARGET, null); } Loading @@ -353,6 +360,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, anim.start(); if (mAnimateKeyguardFadingOut) { mKeyguardFadingOutInProgress = true; mKeyguardFadeoutAnimation = anim; } if (mSkipFirstFrame) { anim.setCurrentPlayTime(16); Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -349,6 +349,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb } } public void onDensityOrFontScaleChanged() { mBouncer.hide(true /* destroyView */); } private void animateScrimControllerKeyguardFadingOut(long delay, long duration, boolean skipFirstFrame) { animateScrimControllerKeyguardFadingOut(delay, duration, null /* endRunnable */, Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +1 −0 Original line number Diff line number Diff line Loading @@ -974,6 +974,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, inflateEmptyShadeView(); updateEmptyShadeView(); inflateOverflowContainer(); mStatusBarKeyguardViewManager.onDensityOrFontScaleChanged(); } private void inflateSignalClusters() { Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +9 −1 Original line number Diff line number Diff line Loading @@ -91,6 +91,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, private boolean mSkipFirstFrame; private boolean mDontAnimateBouncerChanges; private boolean mKeyguardFadingOutInProgress; private ValueAnimator mKeyguardFadeoutAnimation; public ScrimController(ScrimView scrimBehind, ScrimView scrimInFront, View headsUpScrim) { mScrimBehind = scrimBehind; Loading Loading @@ -135,6 +136,9 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, if (mPinnedHeadsUpCount != 0) { updateHeadsUpScrim(false); } if (mKeyguardFadeoutAnimation != null) { mKeyguardFadeoutAnimation.cancel(); } } } Loading Loading @@ -345,7 +349,10 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, mOnAnimationFinished.run(); mOnAnimationFinished = null; } if (mKeyguardFadingOutInProgress) { mKeyguardFadeoutAnimation = null; mKeyguardFadingOutInProgress = false; } scrim.setTag(TAG_KEY_ANIM, null); scrim.setTag(TAG_KEY_ANIM_TARGET, null); } Loading @@ -353,6 +360,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, anim.start(); if (mAnimateKeyguardFadingOut) { mKeyguardFadingOutInProgress = true; mKeyguardFadeoutAnimation = anim; } if (mSkipFirstFrame) { anim.setCurrentPlayTime(16); Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -349,6 +349,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb } } public void onDensityOrFontScaleChanged() { mBouncer.hide(true /* destroyView */); } private void animateScrimControllerKeyguardFadingOut(long delay, long duration, boolean skipFirstFrame) { animateScrimControllerKeyguardFadingOut(delay, duration, null /* endRunnable */, Loading