Searched refs:ScrimState (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 81 private ScrimState mScrimState; 206 any(ScrimState.class), anyFloat(), any(GradientColors.class)); in setup() 228 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup() 240 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard() 254 mScrimController.transitionTo(ScrimState.OFF); in transitionToOff() 268 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper() 283 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper() 291 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper() 303 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper() 318 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt() [all …]
|
D | StatusBarTest.java | 766 verify(mScrimController).transitionTo(eq(ScrimState.UNLOCKED), any()); in testFingerprintUnlock_UpdatesScrims() 787 verify(mScrimController).transitionTo(eq(ScrimState.PULSING), any()); in testPulseWhileDozing_updatesScrimController() 792 verify(mScrimController).transitionTo(eq(ScrimState.KEYGUARD)); in testPulseWhileDozing_updatesScrimController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 138 private ScrimState mState = ScrimState.UNINITIALIZED; 182 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener; 244 final ScrimState[] states = ScrimState.values(); in attachViews() 263 public void transitionTo(ScrimState state) { in transitionTo() 267 public void transitionTo(ScrimState state, Callback callback) { in transitionTo() 278 if (state == ScrimState.UNINITIALIZED) { in transitionTo() 282 final ScrimState oldState = mState; in transitionTo() 328 mNeedsDrawableColorUpdate = state != ScrimState.BRIGHTNESS_MIRROR; in transitionTo() 350 if (mKeyguardUpdateMonitor.needsSlowUnlockTransition() && mState == ScrimState.UNLOCKED) { in transitionTo() 355 } else if ((!mDozeParameters.getAlwaysOn() && oldState == ScrimState.AOD) in transitionTo() [all …]
|
D | ScrimState.java | 29 public enum ScrimState { enum 41 public void prepare(ScrimState previousState) { in prepare() 64 public void prepare(ScrimState previousState) { in prepare() 66 if (previousState == ScrimState.AOD) { in prepare() 74 } else if (previousState == ScrimState.KEYGUARD) { in prepare() 94 public void prepare(ScrimState previousState) { in prepare() 106 public void prepare(ScrimState previousState) { in prepare() 118 public void prepare(ScrimState previousState) { in prepare() 130 public void prepare(ScrimState previousState) { in prepare() 166 public void prepare(ScrimState previousState) { in prepare() [all …]
|
D | LightBarController.java | 174 public void setScrimState(ScrimState scrimState, float scrimBehindAlpha, in setScrimState() 180 mForceDarkForScrim = scrimState != ScrimState.BOUNCER in setScrimState() 181 && scrimState != ScrimState.BOUNCER_SCRIMMED in setScrimState()
|
D | BiometricUnlockController.java | 328 final ScrimState scrimState = mScrimController.getState(); in pulsingOrAod() 329 return scrimState == ScrimState.AOD in pulsingOrAod() 330 || scrimState == ScrimState.PULSING; in pulsingOrAod()
|
D | StatusBar.java | 3458 boolean isScrimmedBouncer = mScrimController.getState() == ScrimState.BOUNCER_SCRIMMED; in onBackPressed() 3974 ScrimState state = mStatusBarKeyguardViewManager.bouncerNeedsScrimming() in updateScrimController() 3975 ? ScrimState.BOUNCER_SCRIMMED : ScrimState.BOUNCER; in updateScrimController() 3979 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController() 3981 mScrimController.transitionTo(ScrimState.BRIGHTNESS_MIRROR); in updateScrimController() 3983 mScrimController.transitionTo(ScrimState.PULSING, in updateScrimController() 3986 mScrimController.transitionTo(ScrimState.OFF, new ScrimController.Callback() { in updateScrimController() 3993 mScrimController.transitionTo(ScrimState.AOD); in updateScrimController() 3995 mScrimController.transitionTo(ScrimState.KEYGUARD); in updateScrimController() 3997 mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED, mUnlockScrimCallback); in updateScrimController() [all …]
|
D | DozeServiceHost.java | 413 if (mScrimController.getState() == ScrimState.OFF) { in cancelGentleSleep()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 65 import com.android.systemui.statusbar.phone.ScrimState; 626 && !ScrimState.AOD.getAnimateChange(); in finishUpdateMediaMetaData()
|