Searched refs:shouldControlScreenOff (Results 1 – 11 of 11) 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 …]
114 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAppearResetsTranslation()
1226 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testAnimatesTransitionToAod()1232 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()
261 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testDelayEnterDozeScreenState_whenUdfpsFingerDown()286 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()
190 mAnimateChange = mDozeParameters.shouldControlScreenOff() in prepare()
3170 || (mDozing && mDozeParameters.shouldControlScreenOff() && keyguardVisibleOrWillBe); in updateDozingState()3625 && !mDozeParameters.shouldControlScreenOff(); in updateNotificationPanelTouchState()4341 && mDozeParameters.shouldControlScreenOff();
78 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo()
123 return parameters.shouldControlScreenOff() ? Display.STATE_ON in screenState()