/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeUiTest.java | 63 private DozeParameters mDozeParameters; field in DozeUiTest 83 mDozeParameters, mKeyguardUpdateMonitor); in setUp() 109 when(mDozeParameters.getAlwaysOn()).thenReturn(false); in propagatesAnimateScreenOff_noAlwaysOn() 110 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(false); in propagatesAnimateScreenOff_noAlwaysOn() 119 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in propagatesAnimateScreenOff_alwaysOn() 120 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(false); in propagatesAnimateScreenOff_alwaysOn() 134 reset(mDozeParameters); in neverAnimateScreenOff_whenNotSupported() 136 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(true); in neverAnimateScreenOff_whenNotSupported() 138 mDozeParameters, mKeyguardUpdateMonitor); in neverAnimateScreenOff_whenNotSupported() 148 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in transitionSetsAnimateWakeup_alwaysOn() [all …]
|
D | DozeWallpaperStateTest.java | 50 @Mock DozeParameters mDozeParameters; field in DozeWallpaperStateTest 56 mDozeParameters); in setUp() 62 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDreamNotification() 71 reset(mDozeParameters); in testDreamNotification() 79 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(false); in testAnimates_whenSupported() 80 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimates_whenSupported() 81 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testAnimates_whenSupported() 96 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(true); in testDoesNotAnimate_whenNotSupported() 97 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDoesNotAnimate_whenNotSupported() 98 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testDoesNotAnimate_whenNotSupported() [all …]
|
D | DozeScreenStateTest.java | 60 DozeParameters mDozeParameters; field in DozeScreenStateTest 66 when(mDozeParameters.getDisplayNeedsBlanking()).thenReturn(true); in setUp() 67 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp() 71 mScreen = new DozeScreenState(mServiceFake, mHandlerFake, mDozeParameters, mWakeLock); in setUp() 156 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_holdsWakeLockWhenGoingToLowPowerDelayed() 173 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_releasesWakeLock_abortingLowPowerDelayed()
|
D | DozeSensorsTest.java | 68 private DozeParameters mDozeParameters; field in DozeSensorsTest 147 super(getContext(), mAlarmManager, mSensorManager, mDozeParameters, in TestableDozeSensors() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowControllerTest.java | 54 private DozeParameters mDozeParameters; field in StatusBarWindowControllerTest 71 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp() 74 mActivityManager, mDozeParameters, mStatusBarStateController, in setUp() 100 mActivityManager, mDozeParameters, mStatusBarStateController, in testOnThemeChanged_doesntCrash() 113 mActivityManager, mDozeParameters, mStatusBarStateController, in testSetForcePluginOpen_beforeStatusBarInitialization()
|
D | DozeScrimControllerTest.java | 43 private DozeParameters mDozeParameters; field in DozeScrimControllerTest 49 mDozeScrimController = new DozeScrimController(mDozeParameters); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeScrimController.java | 37 private final DozeParameters mDozeParameters; field in DozeScrimController 73 mHandler.postDelayed(mPulseOut, mDozeParameters.getPulseVisibleDuration()); 75 mDozeParameters.getPulseVisibleDurationExtended()); 98 mDozeParameters = dozeParameters; in DozeScrimController() 120 Log.d(TAG, "Pulse supressed. Dozing: " + mDozeParameters + " had callback? " in pulse()
|
D | ScrimState.java | 102 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare() 110 mAnimateChange = mDozeParameters.shouldControlScreenOff(); in prepare() 206 DozeParameters mDozeParameters; field in ScrimState 223 mDozeParameters = dozeParameters; in init()
|
D | ScrimController.java | 132 private final DozeParameters mDozeParameters; field in ScrimController 202 mDozeParameters = dozeParameters; in ScrimController() 218 states[i].init(mScrimInFront, mScrimBehind, mDozeParameters); in ScrimController() 303 mTimeTicker.schedule(mDozeParameters.getWallpaperAodDuration(), in transitionTo() 314 } else if ((!mDozeParameters.getAlwaysOn() && oldState == ScrimState.AOD) in transitionTo() 315 || (mState == ScrimState.AOD && !mDozeParameters.getDisplayNeedsBlanking())) { in transitionTo() 332 if (mState == ScrimState.AOD && mDozeParameters.getAlwaysOn()) { in shouldFadeAwayWallpaper() 375 mAnimationDuration = mDozeParameters.getWallpaperFadeOutDuration(); in onHideWallpaperTimeout() 426 mTimeTicker.schedule(mDozeParameters.getWallpaperAodDuration(), in setPanelExpansion() 501 if (((mState == ScrimState.AOD && mDozeParameters.getAlwaysOn()) in setAodFrontScrimAlpha() [all …]
|
D | NotificationIconAreaController.java | 57 private final DozeParameters mDozeParameters; field in NotificationIconAreaController 95 mDozeParameters = DozeParameters.getInstance(mContext); in NotificationIconAreaController() 507 boolean animate = mDozeParameters.getAlwaysOn() in onDozingChanged() 508 && !mDozeParameters.getDisplayNeedsBlanking(); in onDozingChanged() 576 animate = mDozeParameters.getAlwaysOn() && !mDozeParameters.getDisplayNeedsBlanking(); in onFullyHiddenChanged()
|
D | StatusBarWindowController.java | 78 private final DozeParameters mDozeParameters; field in StatusBarWindowController 118 mDozeParameters = dozeParameters; in StatusBarWindowController() 119 mScreenBrightnessDoze = mDozeParameters.getScreenBrightnessDoze(); in StatusBarWindowController() 227 || (state.dozing && mDozeParameters.getAlwaysOn()); in applyKeyguardFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeWallpaperState.java | 43 private final DozeParameters mDozeParameters; field in DozeWallpaperState 60 mDozeParameters = parameters; in DozeWallpaperState() 82 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo() 86 boolean fastDisplay = !mDozeParameters.getDisplayNeedsBlanking(); in transitionTo()
|
D | DozeUi.java | 51 private final DozeParameters mDozeParameters; field in DozeUi 75 mDozeParameters = params; in DozeUi() 86 final boolean controlScreenOff = mDozeParameters.getAlwaysOn() && mKeyguardShowing in updateAnimateScreenOff() 88 mDozeParameters.setControlScreenOffAnimation(controlScreenOff); in updateAnimateScreenOff() 165 mHost.setAnimateWakeup(mCanAnimateTransition && mDozeParameters.getAlwaysOn()); in updateAnimateWakeup()
|
D | DozeTriggers.java | 75 private final DozeParameters mDozeParameters; field in DozeTriggers 98 mDozeParameters = dozeParameters; in DozeTriggers() 202 timeSinceNotification < mDozeParameters.getPickupVibrationThreshold(); in onSensor() 212 if (mDozeParameters.getDisplayNeedsBlanking()) { 387 }, !mDozeParameters.getProxCheckBeforePulse() || performedProxCheck, reason); in requestPulse()
|
D | DozeSensors.java | 68 private final DozeParameters mDozeParameters; field in DozeSensors 89 mDozeParameters = dozeParameters; in DozeSensors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationWakeUpCoordinator.kt | 70 private val mDozeParameters: DozeParameters constant in com.android.systemui.statusbar.notification.NotificationWakeUpCoordinator 149 mDozeParameters = DozeParameters.getInstance(mContext) 380 mDozeParameters.getAlwaysOn() && !mDozeParameters.getDisplayNeedsBlanking() in shouldAnimateVisibility()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 90 private DozeParameters mDozeParameters; field in KeyguardSliceProviderTest 101 mKeyguardBypassController, mDozeParameters); in setup() 137 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in onBindSlice_readsMedia_withBypass_notDozing()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 108 private DozeParameters mDozeParameters; field in KeyguardSliceProvider 204 mDozeParameters = dozeParameters; in initDependencies() 230 && mKeyguardBypassController.getBypassEnabled() && mDozeParameters.getAlwaysOn(); in needsMediaLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | BubbleControllerTest.java | 104 private DozeParameters mDozeParameters; field in BubbleControllerTest 156 mActivityManager, mDozeParameters, mStatusBarStateController, in setUp()
|