Searched refs:shouldControlScreenOff (Results 1 – 16 of 16) sorted by relevance
226 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 …]
124 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAppearResetsTranslation()
1491 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAnimatesTransitionToAod()1497 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimatesTransitionToAod()
31 boolean shouldControlScreenOff(); in shouldControlScreenOff() method
80 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimates_whenSupported()98 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testDoesNotAnimate_whenNotSupported()
264 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testDelayEnterDozeScreenState_whenUdfpsFingerDown()289 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
248 if (shouldControlScreenOff()) { in getWallpaperAodDuration()288 public boolean shouldControlScreenOff() { in shouldControlScreenOff() method in DozeParameters355 return shouldControlScreenOff() && mKeyguardVisible; in willAnimateFromLockScreenToAod()
206 mAnimateChange = mDozeParameters.shouldControlScreenOff() in prepare()
2320 || (mDozing && mDozeParameters.shouldControlScreenOff() && keyguardVisibleOrWillBe); in updateDozingState()2650 && !mDozeParameters.shouldControlScreenOff(); in updateNotificationPanelTouchState()2654 !mDozeParameters.shouldControlScreenOff(), !mDeviceInteractive, in updateNotificationPanelTouchState()3165 && mDozeParameters.shouldControlScreenOff();
78 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo()
124 return parameters.shouldControlScreenOff() ? Display.STATE_ON in screenState()
379 shouldControlScreenOff: Boolean, in logUpdateNotificationPanelTouchState()389 bool3 = shouldControlScreenOff in logUpdateNotificationPanelTouchState()
182 whenever(dozeParams.shouldControlScreenOff()).thenReturn(false) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()206 whenever(dozeParams.shouldControlScreenOff()).thenReturn(true) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
95 goingToSleep -> dozeParams.shouldControlScreenOff() in <lambda>()
165 whenever(dozeParams.shouldControlScreenOff()).thenReturn(false) in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()189 whenever(dozeParams.shouldControlScreenOff()).thenReturn(true) in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
394 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(false) in isShadeTouchable_isFalse_whenStartingToSleepAndNotControlScreenOff()418 whenever(dozeParameters.shouldControlScreenOff()).thenReturn(true) in isShadeTouchable_isTrue_whenStartingToSleepAndControlScreenOff()