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.java72 private ScrimState mScrimState;
104 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
115 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
125 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
137 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
144 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper()
153 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
165 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
179 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
187 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
[all …]
DStatusBarTest.java607 verify(mScrimController).transitionTo(eq(ScrimState.UNLOCKED), any()); in testFingerprintUnlock_UpdatesScrims()
635 verify(mScrimController).transitionTo(eq(ScrimState.PULSING), any()); in testPulseWhileDozing_updatesScrimController()
639 verify(mScrimController).transitionTo(eq(ScrimState.KEYGUARD)); in testPulseWhileDozing_updatesScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java126 private ScrimState mState = ScrimState.UNINITIALIZED;
164 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener;
181 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in ScrimController() argument
216 final ScrimState[] states = ScrimState.values(); in ScrimController()
228 public void transitionTo(ScrimState state) { in transitionTo()
232 public void transitionTo(ScrimState state, Callback callback) { in transitionTo()
243 if (state == ScrimState.UNINITIALIZED) { in transitionTo()
247 final ScrimState oldState = mState; in transitionTo()
289 mNeedsDrawableColorUpdate = state != ScrimState.BRIGHTNESS_MIRROR; in transitionTo()
309 if (mKeyguardUpdateMonitor.needsSlowUnlockTransition() && mState == ScrimState.UNLOCKED) { in transitionTo()
[all …]
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()
156 public void prepare(ScrimState previousState) { in prepare()
[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.java245 final ScrimState scrimState = mScrimController.getState(); in pulsingOrAod()
246 return scrimState == ScrimState.AOD in pulsingOrAod()
247 || scrimState == ScrimState.PULSING; in pulsingOrAod()
DStatusBar.java3393 boolean isScrimmedBouncer = mScrimController.getState() == ScrimState.BOUNCER_SCRIMMED; in onBackPressed()
3982 ScrimState state = mStatusBarKeyguardViewManager.bouncerNeedsScrimming() in updateScrimController()
3983 ? ScrimState.BOUNCER_SCRIMMED : ScrimState.BOUNCER; in updateScrimController()
3987 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController()
3989 mScrimController.transitionTo(ScrimState.BRIGHTNESS_MIRROR); in updateScrimController()
3991 mScrimController.transitionTo(ScrimState.PULSING, in updateScrimController()
3994 mScrimController.transitionTo(ScrimState.AOD); in updateScrimController()
3996 mScrimController.transitionTo(ScrimState.KEYGUARD); in updateScrimController()
3998 mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED); in updateScrimController()
4000 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java46 import com.android.systemui.statusbar.phone.ScrimState;
140 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in createScrimController() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java67 import com.android.systemui.statusbar.phone.ScrimState;
601 && !ScrimState.AOD.getAnimateChange(); in finishUpdateMediaMetaData()