Home
last modified time | relevance | path

Searched refs:ScrimState (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java71 private ScrimState mScrimState;
102 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
113 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
123 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
135 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
142 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper()
151 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
163 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
177 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
185 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
[all …]
DStatusBarTest.java609 verify(mScrimController).transitionTo(eq(ScrimState.UNLOCKED), any()); in testFingerprintUnlock_UpdatesScrims()
637 verify(mScrimController).transitionTo(eq(ScrimState.PULSING), any()); in testPulseWhileDozing_updatesScrimController()
641 verify(mScrimController).transitionTo(eq(ScrimState.KEYGUARD)); in testPulseWhileDozing_updatesScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java28 public enum ScrimState { enum
41 public void prepare(ScrimState previousState) { in prepare()
43 if (previousState == ScrimState.AOD) { in prepare()
51 } else if (previousState == ScrimState.KEYGUARD) { in prepare()
68 public void prepare(ScrimState previousState) { in prepare()
79 public void prepare(ScrimState previousState) { in prepare()
90 public void prepare(ScrimState previousState) { in prepare()
101 public void prepare(ScrimState previousState) { in prepare()
129 public void prepare(ScrimState previousState) { in prepare()
147 public void prepare(ScrimState previousState) { in prepare()
[all …]
DScrimController.java123 private ScrimState mState = ScrimState.UNINITIALIZED;
161 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener;
178 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in ScrimController() argument
206 final ScrimState[] states = ScrimState.values(); in ScrimController()
218 public void transitionTo(ScrimState state) { in transitionTo()
222 public void transitionTo(ScrimState state, Callback callback) { in transitionTo()
233 if (state == ScrimState.UNINITIALIZED) { in transitionTo()
237 final ScrimState oldState = mState; in transitionTo()
275 mNeedsDrawableColorUpdate = state != ScrimState.BRIGHTNESS_MIRROR; in transitionTo()
295 if (mKeyguardUpdateMonitor.needsSlowUnlockTransition() && mState == ScrimState.UNLOCKED) { in transitionTo()
[all …]
DLightBarController.java179 public void setScrimState(ScrimState scrimState, float scrimBehindAlpha, in setScrimState()
185 mForceDarkForScrim = scrimState != ScrimState.BOUNCER in setScrimState()
186 && scrimState != ScrimState.BOUNCER_SCRIMMED in setScrimState()
DBiometricUnlockController.java248 final ScrimState scrimState = mScrimController.getState(); in pulsingOrAod()
249 return scrimState == ScrimState.AOD in pulsingOrAod()
250 || scrimState == ScrimState.PULSING; in pulsingOrAod()
DStatusBar.java3272 boolean isScrimmedBouncer = mScrimController.getState() == ScrimState.BOUNCER_SCRIMMED; in onBackPressed()
3834 ScrimState state = mStatusBarKeyguardViewManager.bouncerNeedsScrimming() in updateScrimController()
3835 ? ScrimState.BOUNCER_SCRIMMED : ScrimState.BOUNCER; in updateScrimController()
3839 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController()
3841 mScrimController.transitionTo(ScrimState.BRIGHTNESS_MIRROR); in updateScrimController()
3843 mScrimController.transitionTo(ScrimState.PULSING, in updateScrimController()
3846 mScrimController.transitionTo(ScrimState.AOD); in updateScrimController()
3848 mScrimController.transitionTo(ScrimState.KEYGUARD); in updateScrimController()
3850 mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED); in updateScrimController()
3852 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java59 import com.android.systemui.statusbar.phone.ScrimState;
139 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in createScrimController() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java62 import com.android.systemui.statusbar.phone.ScrimState;
580 && !ScrimState.AOD.getAnimateChange(); in finishUpdateMediaMetaData()