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 | 71 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 …]
|
D | StatusBarTest.java | 609 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/ |
D | ScrimState.java | 28 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 …]
|
D | ScrimController.java | 123 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 …]
|
D | LightBarController.java | 179 public void setScrimState(ScrimState scrimState, float scrimBehindAlpha, in setScrimState() 185 mForceDarkForScrim = scrimState != ScrimState.BOUNCER in setScrimState() 186 && scrimState != ScrimState.BOUNCER_SCRIMMED in setScrimState()
|
D | BiometricUnlockController.java | 248 final ScrimState scrimState = mScrimController.getState(); in pulsingOrAod() 249 return scrimState == ScrimState.AOD in pulsingOrAod() 250 || scrimState == ScrimState.PULSING; in pulsingOrAod()
|
D | StatusBar.java | 3272 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/ |
D | SystemUIFactory.java | 59 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/ |
D | NotificationMediaManager.java | 62 import com.android.systemui.statusbar.phone.ScrimState; 580 && !ScrimState.AOD.getAnimateChange(); in finishUpdateMediaMetaData()
|