Home
last modified time | relevance | path

Searched refs:shouldControlScreenOff (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java226 assertFalse(mDozeParameters.shouldControlScreenOff()); in testControlUnlockedScreenOffAnimation_dozeAfterScreenOff_false()
231 assertTrue(mDozeParameters.shouldControlScreenOff()); in testControlUnlockedScreenOffAnimation_dozeAfterScreenOff_false()
241 assertFalse(mDozeParameters.shouldControlScreenOff()); in propagatesAnimateScreenOff_noAlwaysOn()
252 assertTrue(mDozeParameters.shouldControlScreenOff()); in propagatesAnimateScreenOff_alwaysOn()
256 assertFalse(mDozeParameters.shouldControlScreenOff()); in propagatesAnimateScreenOff_alwaysOn()
266 assertFalse(mDozeParameters.shouldControlScreenOff()); in neverAnimateScreenOff_whenNotSupported()
268 assertFalse(mDozeParameters.shouldControlScreenOff()); in neverAnimateScreenOff_whenNotSupported()
282 assertTrue(mDozeParameters.shouldControlScreenOff()); in controlScreenOffTrueWhenKeyguardNotShowingAndControlUnlockedScreenOff()
291 assertFalse(mDozeParameters.shouldControlScreenOff()); in keyguardVisibility_changesControlScreenOffAnimation()
293 assertTrue(mDozeParameters.shouldControlScreenOff()); in keyguardVisibility_changesControlScreenOffAnimation()
[all …]
DLegacyNotificationIconAreaControllerImplTest.java124 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAppearResetsTranslation()
DScrimControllerTest.java1491 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAnimatesTransitionToAod()
1497 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimatesTransitionToAod()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DDozeParameters.java31 boolean shouldControlScreenOff(); in shouldControlScreenOff() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeWallpaperStateTest.java80 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimates_whenSupported()
98 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testDoesNotAnimate_whenNotSupported()
DDozeScreenStateTest.java264 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testDelayEnterDozeScreenState_whenUdfpsFingerDown()
289 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java248 if (shouldControlScreenOff()) { in getWallpaperAodDuration()
288 public boolean shouldControlScreenOff() { in shouldControlScreenOff() method in DozeParameters
355 return shouldControlScreenOff() && mKeyguardVisible; in willAnimateFromLockScreenToAod()
DScrimState.java206 mAnimateChange = mDozeParameters.shouldControlScreenOff() in prepare()
DCentralSurfacesImpl.java2320 || (mDozing && mDozeParameters.shouldControlScreenOff() && keyguardVisibleOrWillBe); in updateDozingState()
2650 && !mDozeParameters.shouldControlScreenOff(); in updateNotificationPanelTouchState()
2654 !mDozeParameters.shouldControlScreenOff(), !mDeviceInteractive, in updateNotificationPanelTouchState()
3165 && mDozeParameters.shouldControlScreenOff();
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeWallpaperState.java78 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo()
DDozeMachine.java124 return parameters.shouldControlScreenOff() ? Display.STATE_ON in screenState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeLogger.kt379 shouldControlScreenOff: Boolean, in logUpdateNotificationPanelTouchState()
389 bool3 = shouldControlScreenOff in logUpdateNotificationPanelTouchState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt182 whenever(dozeParams.shouldControlScreenOff()).thenReturn(false) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
206 whenever(dozeParams.shouldControlScreenOff()).thenReturn(true) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImpl.kt95 goingToSleep -> dozeParams.shouldControlScreenOff() in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt165 whenever(dozeParams.shouldControlScreenOff()).thenReturn(false) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
189 whenever(dozeParams.shouldControlScreenOff()).thenReturn(true) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImplTest.kt394 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(false) in isShadeTouchable_isFalse_whenStartingToSleepAndNotControlScreenOff()
418 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(true) in isShadeTouchable_isTrue_whenStartingToSleepAndControlScreenOff()