Searched refs:getAlwaysOn (Results 1 – 10 of 10) sorted by relevance
112 when(mDozeParameters.getAlwaysOn()).thenReturn(false); in propagatesAnimateScreenOff_noAlwaysOn()122 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in propagatesAnimateScreenOff_alwaysOn()151 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in transitionSetsAnimateWakeup_alwaysOn()161 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in keyguardVisibility_changesControlScreenOffAnimation()
58 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDreamNotification()77 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testAnimates_whenSupported()91 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in testDoesNotAnimate_whenNotSupported()
70 when(mDozeParameters.getAlwaysOn()).thenReturn(true); in setUp()
86 final boolean controlScreenOff = mDozeParameters.getAlwaysOn() && mKeyguardShowing; in updateAnimateScreenOff()154 mHost.setAnimateWakeup(mCanAnimateTransition && mDozeParameters.getAlwaysOn()); in updateAnimateWakeup()
107 final boolean alwaysOnEnabled = mDozeParameters.getAlwaysOn(); in prepare()
275 if (mWallpaperSupportsAmbientMode && mDozeParameters.getAlwaysOn() in transitionTo()292 } else if ((!mDozeParameters.getAlwaysOn() && oldState == ScrimState.AOD) in transitionTo()463 if (mState == ScrimState.AOD && mDozeParameters.getAlwaysOn() in setAodFrontScrimAlpha()
175 public boolean getAlwaysOn() { in getAlwaysOn() method in DozeParameters
146 || (state.dozing && mDozeParameters.getAlwaysOn()); in applyKeyguardFlags()
4695 final boolean alwaysOn = DozeParameters.getInstance(mContext).getAlwaysOn(); in updateDozing()
88 when(mDozeParamenters.getAlwaysOn()).thenAnswer(invocation -> mAlwaysOnEnabled); in setup()