Searched refs:ScrimState (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 70 private ScrimState mScrimState; 102 mScrimController.getState(), ScrimState.UNINITIALIZED); in initialState() 107 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard() 117 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper() 129 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper() 136 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper() 143 ScrimState.AOD.mKeyguardUpdateMonitor = new KeyguardUpdateMonitor(getContext()) { in transitionToAod_withAodWallpaperAndLockScreenWallpaper() 150 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper() 162 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates() 170 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates() [all …]
|
D | DozeScrimControllerTest.java | 61 }).when(mScrimController).transitionTo(any(ScrimState.class), in setup() 72 verify(mScrimController).transitionTo(eq(ScrimState.PULSING), in changesScrimControllerState()
|
D | StatusBarTest.java | 585 verify(mScrimController).transitionTo(eq(ScrimState.UNLOCKED), any()); in testFingerprintUnlock_UpdatesScrims()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimState.java | 30 public enum ScrimState { enum 43 public void prepare(ScrimState previousState) { in prepare() 45 if (previousState == ScrimState.AOD) { in prepare() 73 public void prepare(ScrimState previousState) { in prepare() 84 public void prepare(ScrimState previousState) { in prepare() 95 public void prepare(ScrimState previousState) { in prepare() 106 public void prepare(ScrimState previousState) { in prepare() 131 public void prepare(ScrimState previousState) { in prepare() 146 public void prepare(ScrimState previousState) { in prepare() 151 if (previousState == ScrimState.AOD || previousState == ScrimState.PULSING) { in prepare() [all …]
|
D | ScrimController.java | 111 private ScrimState mState = ScrimState.UNINITIALIZED; 148 private final TriConsumer<ScrimState, Float, GradientColors> mScrimStateListener; 166 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in ScrimController() argument 194 final ScrimState[] states = ScrimState.values(); in ScrimController() 199 mState = ScrimState.UNINITIALIZED; in ScrimController() 207 public void transitionTo(ScrimState state) { in transitionTo() 211 public void transitionTo(ScrimState state, Callback callback) { in transitionTo() 222 if (state == ScrimState.UNINITIALIZED) { in transitionTo() 226 final ScrimState oldState = mState; in transitionTo() 264 mNeedsDrawableColorUpdate = state != ScrimState.BRIGHTNESS_MIRROR; in transitionTo() [all …]
|
D | DozeScrimController.java | 116 mScrimController.transitionTo(ScrimState.PULSING, mScrimCallback); in pulse() 178 mScrimController.transitionTo(ScrimState.AOD,
|
D | FingerprintUnlockController.java | 184 final ScrimState scrimState = mScrimController.getState(); in pulsingOrAod() 185 return scrimState == ScrimState.AOD in pulsingOrAod() 186 || scrimState == ScrimState.PULSING; in pulsingOrAod()
|
D | LightBarController.java | 158 public void setScrimState(ScrimState scrimState, float scrimBehindAlpha, in setScrimState() 164 mForceDarkForScrim = scrimState != ScrimState.BOUNCER in setScrimState() 165 && scrimState != ScrimState.BOUNCER_SCRIMMED in setScrimState()
|
D | StatusBar.java | 1724 boolean cannotAnimateDoze = mDozing && !ScrimState.AOD.getAnimateChange(); in updateMediaMetaData() 3966 boolean isScrimmedBouncer = mScrimController.getState() == ScrimState.BOUNCER_SCRIMMED; in onBackPressed() 4733 ScrimState state = mIsOccluded || mStatusBarKeyguardViewManager.bouncerNeedsScrimming() in updateScrimController() 4736 ScrimState.BOUNCER_SCRIMMED : ScrimState.BOUNCER; in updateScrimController() 4739 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController() 4741 mScrimController.transitionTo(ScrimState.BRIGHTNESS_MIRROR); in updateScrimController() 4745 mScrimController.transitionTo(ScrimState.AOD); in updateScrimController() 4747 mScrimController.transitionTo(ScrimState.KEYGUARD); in updateScrimController() 4749 mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback); in updateScrimController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 55 import com.android.systemui.statusbar.phone.ScrimState; 109 TriConsumer<ScrimState, Float, GradientColors> scrimStateListener, in createScrimController() argument
|