Home
last modified time | relevance | path

Searched refs:AOD (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt30 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
104 collectValues(underTest.transition(Edge.create(LOCKSCREEN, AOD))) in transitionCollectorsReceivesOnlyAppropriateEvents()
106 collectValues(underTest.transition(Edge.create(AOD, LOCKSCREEN))) in transitionCollectorsReceivesOnlyAppropriateEvents()
109 steps.add(TransitionStep(AOD, GONE, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
110 steps.add(TransitionStep(AOD, GONE, 1f, FINISHED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
111 steps.add(TransitionStep(AOD, LOCKSCREEN, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
112 steps.add(TransitionStep(AOD, LOCKSCREEN, 0.5f, RUNNING)) in transitionCollectorsReceivesOnlyAppropriateEvents()
113 steps.add(TransitionStep(AOD, LOCKSCREEN, 1f, FINISHED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
114 steps.add(TransitionStep(LOCKSCREEN, AOD, 0f, STARTED)) in transitionCollectorsReceivesOnlyAppropriateEvents()
115 steps.add(TransitionStep(LOCKSCREEN, AOD, 0.1f, RUNNING)) in transitionCollectorsReceivesOnlyAppropriateEvents()
[all …]
DFromAodTransitionInteractorTest.kt99 to = KeyguardState.AOD, in setup()
117 from = KeyguardState.AOD, in testTransitionToLockscreen_onWakeup()
133 from = KeyguardState.AOD, in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop()
148 .startedTransition(from = KeyguardState.AOD, to = KeyguardState.OCCLUDED) in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissibleKeyguard()
162 .startedTransition(from = KeyguardState.AOD, to = KeyguardState.GONE) in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromAod_dismissibleKeyguard()
171 from = KeyguardState.AOD, in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
186 to = KeyguardState.AOD, in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
200 .startedTransition(from = KeyguardState.AOD, to = KeyguardState.GONE) in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
209 from = KeyguardState.AOD, in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetectedAfterFinishedInAod_fromGone()
222 to = KeyguardState.AOD, in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetectedAfterFinishedInAod_fromGone()
[all …]
DWindowManagerLockscreenVisibilityInteractorTest.kt99 from = KeyguardState.AOD, in <lambda>()
109 from = KeyguardState.AOD, in <lambda>()
414 from = KeyguardState.AOD, in <lambda>()
422 from = KeyguardState.AOD, in <lambda>()
475 from = KeyguardState.AOD, in <lambda>()
483 from = KeyguardState.AOD, in <lambda>()
528 to = KeyguardState.AOD, in <lambda>()
565 from = KeyguardState.AOD, in <lambda>()
574 from = KeyguardState.AOD, in <lambda>()
650 to = KeyguardState.AOD, in <lambda>()
[all …]
DKeyguardOcclusionInteractorTest.kt93 to = KeyguardState.AOD, in transitionFromPowerGesture_whileGoingToSleep_isTrue()
110 to = KeyguardState.AOD, in transitionFromPowerGesture_whileAsleep_isTrue()
126 to = KeyguardState.AOD, in transitionFromPowerGesture_whileWaking_isFalse()
130 from = KeyguardState.AOD, in transitionFromPowerGesture_whileWaking_isFalse()
148 to = KeyguardState.AOD, in transitionFromPowerGesture_whileAwake_isFalse()
152 from = KeyguardState.AOD, in transitionFromPowerGesture_whileAwake_isFalse()
170 to = KeyguardState.AOD, in showWhenLockedActivityLaunchedFromPowerGesture_notTrueSecondTime()
224 to = KeyguardState.AOD, in showWhenLockedActivityLaunchedFromPowerGesture_falseIfReturningToGone()
235 from = KeyguardState.AOD, in showWhenLockedActivityLaunchedFromPowerGesture_falseIfReturningToGone()
DKeyguardInteractorTest.kt198 from = KeyguardState.AOD, in dismissAlpha()
224 from = KeyguardState.AOD, in dismissAlpha_whenShadeResetsEmitsOne()
253 from = KeyguardState.AOD, in dismissAlpha_doesNotEmitWhileTransitioning()
259 from = KeyguardState.AOD, in dismissAlpha_doesNotEmitWhileTransitioning()
289 from = KeyguardState.AOD, in keyguardTranslationY_whenGoneEmitsZero()
311 from = KeyguardState.AOD, in keyguardTranslationY_whenNotGoneAndShadeIsFullyCollapsedEmitsZero()
333 from = KeyguardState.AOD, in keyguardTranslationY_whenNotGoneAndShadeIsReesetEmitsZero()
357 from = KeyguardState.AOD, in keyguardTranslationY_whenTransitioningToGoneAndShadeIsExpandingEmitsNonZero()
363 from = KeyguardState.AOD, in keyguardTranslationY_whenTransitioningToGoneAndShadeIsExpandingEmitsNonZero()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt30 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
90 val job = underTest.transition(AOD, LOCKSCREEN).onEach { steps.add(it) }.launchIn(this) in <lambda>()
94 TransitionInfo(OWNER_NAME, AOD, LOCKSCREEN, getAnimator()), in <lambda>()
98 assertSteps(steps, listWithStep(BigDecimal(.1)), AOD, LOCKSCREEN) in <lambda>()
106 val job = underTest.transition(AOD, LOCKSCREEN).onEach { steps.add(it) }.launchIn(this) in <lambda>()
109 TransitionInfo(OWNER_NAME, AOD, LOCKSCREEN, getAnimator()), in <lambda>()
114 val job2 = underTest.transition(LOCKSCREEN, AOD).onEach { steps.add(it) }.launchIn(this) in <lambda>()
120 AOD, in <lambda>()
127 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN) in <lambda>()
131 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/scenetransition/
DLockscreenSceneTransitionInteractorTest.kt192 to = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
201 from = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
218 from = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
227 to = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
235 to = KeyguardState.AOD, in transition_from_ls_scene_on_aod_end_in_ls()
281 underTest.onSceneAboutToChange(Scenes.Lockscreen, KeyguardState.AOD) in transition_to_ls_scene_with_changed_next_scene_is_respected_just_once()
288 to = KeyguardState.AOD, in transition_to_ls_scene_with_changed_next_scene_is_respected_just_once()
590 to = KeyguardState.AOD, in transition_to_ls_scene_interrupted_by_ktf_transition_then_finish_in_lockscreen()
599 to = KeyguardState.AOD, in transition_to_ls_scene_interrupted_by_ktf_transition_then_finish_in_lockscreen()
614 to = KeyguardState.AOD, in transition_to_ls_scene_interrupted_by_ktf_transition_then_finish_in_lockscreen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DKeyguardState.kt52 AOD,
96 AOD, in mapToSceneContainerState()
113 AOD, in mapToSceneContainerScene()
148 AOD -> false in deviceIsAwakeInState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewLegacyControllerWithCoroutinesTest.kt296 to = KeyguardState.AOD, in aodToLockscreen_dozeAmountChanged()
313 to = KeyguardState.AOD, in aodToLockscreen_dozeAmountChanged()
343 to = KeyguardState.AOD, in lockscreenToAod_dozeAmountChanged()
360 to = KeyguardState.AOD, in lockscreenToAod_dozeAmountChanged()
390 to = KeyguardState.AOD, in goneToAod_dozeAmountChanged()
407 to = KeyguardState.AOD, in goneToAod_dozeAmountChanged()
436 from = KeyguardState.AOD, in aodToOccluded_dozeAmountChanged()
449 from = KeyguardState.AOD, in aodToOccluded_dozeAmountChanged()
476 to = KeyguardState.AOD, in occludedToAod_dozeAmountChanged()
493 to = KeyguardState.AOD, in occludedToAod_dozeAmountChanged()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAodAlphaViewModelTest.kt83 from = KeyguardState.AOD, in alpha_WhenNotGone_clockMigrationFlagIsOff_emitsKeyguardAlpha()
102 from = KeyguardState.AOD, in alpha_WhenGoneToAod()
110 to = KeyguardState.AOD, in alpha_WhenGoneToAod()
128 from = KeyguardState.AOD, in alpha_WhenGoneToAod_scene_container()
138 to = KeyguardState.AOD, in alpha_WhenGoneToAod_scene_container()
155 from = KeyguardState.AOD, in alpha_WhenGoneToDozing()
233 to = KeyguardState.AOD, in enterFromTopAlpha()
255 to = KeyguardState.AOD, in enterFromTopAlpha_scene_container()
DAodBurnInViewModelTest.kt102 from = KeyguardState.AOD, in translationAndScale_whenNotDozing()
134 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing()
157 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing()
185 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing_MigrationFlagOff_staysOutOfTopInset()
209 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing_MigrationFlagOff_staysOutOfTopInset()
237 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing_MigrationFlagOn_staysOutOfTopInset()
261 to = KeyguardState.AOD, in translationAndScale_whenFullyDozing_MigrationFlagOn_staysOutOfTopInset()
284 to = KeyguardState.AOD, in translationAndScale_useScaleOnly()
419 to = KeyguardState.AOD, in translationAndScale_composeFlagOff_weatherLargeClock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAodToPrimaryBouncerTransitionViewModel.kt22 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
46 edge = Edge.create(from = AOD, to = Scenes.Bouncer),
49 edge = Edge.create(from = AOD, to = PRIMARY_BOUNCER),
DAodToGoneTransitionViewModel.kt23 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
46 edge = Edge.create(from = AOD, to = Scenes.Gone),
49 edge = Edge.create(from = AOD, to = GONE),
DPrimaryBouncerToAodTransitionViewModel.kt23 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
51 edge = Edge.create(from = Scenes.Bouncer, to = AOD), in <lambda>()
54 edge = Edge.create(from = PRIMARY_BOUNCER, to = AOD), in <lambda>()
DGoneToAodTransitionViewModel.kt24 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
51 edge = Edge.create(from = Scenes.Gone, to = AOD), in <lambda>()
54 edge = Edge.create(from = GONE, to = AOD), in <lambda>()
DAodAlphaViewModel.kt25 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
64 step.to == AOD && in <lambda>()
91 } else if (step.from == GONE && step.to == AOD) { in <lambda>()
DAodToOccludedTransitionViewModel.kt23 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
41 edge = Edge.create(from = AOD, to = OCCLUDED),
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt178 to = KeyguardState.AOD, in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff()
202 to = KeyguardState.AOD, in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff()
279 to = KeyguardState.AOD, in tintAlpha_isOne_whenOnAod()
304 to = KeyguardState.AOD, in tintAlpha_isOne_whenTransitionFromAodToDoze()
313 from = KeyguardState.AOD, in tintAlpha_isOne_whenTransitionFromAodToDoze()
323 from = KeyguardState.AOD, in tintAlpha_isOne_whenTransitionFromAodToDoze()
343 to = KeyguardState.AOD, in tintAlpha_isFraction_midTransitionToAod()
353 to = KeyguardState.AOD, in tintAlpha_isFraction_midTransitionToAod()
385 to = KeyguardState.AOD, in iconAnimationsDisabled_whenOnAod()
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md3 `Dozing` is a low-powered state of the device. If Always-on Display (AOD), pulsing, or wake-gesture…
5 Always-on Display (AOD) provides an alternative 'screen-off' experience. Instead, of completely tur…
9 The default doze component controls AOD and is specified by `config_dozeComponent` in the [framewor…
11 Note: The default UI used in AOD shares views with the Lock Screen and does not create its own new …
13 * AOD - persistently showing UI when the device is in a low-powered state
14 * Pulsing - waking up the screen to show notifications (from AOD and screen off)
16 * Wake-up gestures - including lift to wake and tap to wake (from AOD and screen off)
54 …till be suppressed based on the device state. On a high-level, doze and/or AOD may be suppressed i…
62 ## AOD burn-in and image retention
63 Because AOD will show an image on the screen for an elongated period of time, AOD designs must take…
[all …]
Dkeyguard.md7 3. Always-on Display (AOD)
15 ### Power On - AOD enabled or disabled
17AOD][3] or inactive. [PowerManagerService][2] can be directed to wake up on various user-configura…
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneContainerOcclusionInteractorTest.kt208 to = KeyguardState.AOD,
218 to = KeyguardState.AOD,
229 to = KeyguardState.AOD,
243 from = KeyguardState.AOD,
253 from = KeyguardState.AOD,
264 from = KeyguardState.AOD,
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerLegacy.kt37 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
221 edge = Edge.create(Scenes.Bouncer, AOD), in <lambda>()
222 edgeWithoutSceneContainer = Edge.create(PRIMARY_BOUNCER, AOD) in <lambda>()
237 transitionInteractor.transition(Edge.create(DREAMING, AOD)).collect { transitionStep -> in <lambda>()
250 transitionInteractor.transition(Edge.create(ALTERNATE_BOUNCER, AOD)).collect { in <lambda>()
264 transitionInteractor.transition(Edge.create(AOD, OCCLUDED)).collect { transitionStep -> in <lambda>()
277 transitionInteractor.transition(Edge.create(OCCLUDED, AOD)).collect { transitionStep -> in <lambda>()
292 edge = Edge.create(Scenes.Gone, AOD), in <lambda>()
293 edgeWithoutSceneContainer = Edge.create(GONE, AOD) in <lambda>()
308 transitionInteractor.transitionValue(AOD).collect { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java49 if (previousState == AOD) { in prepare()
69 if (previousState == ScrimState.AOD) { in prepare()
184 AOD { enumConstant
243 : AOD.getMaxLightRevealScrimAlpha(); in getMaxLightRevealScrimAlpha()
261 boolean fromAod = previousState == AOD || previousState == PULSING; in prepare()
273 if (mDisplayRequiresBlanking && previousState == ScrimState.AOD) { in prepare()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java397 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
417 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
441 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
460 mScrimController.legacyTransitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
488 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
505 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
516 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
519 assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
536 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
547 mScrimController.legacyTransitionTo(ScrimState.AOD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt31 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
327 whenever(keyguardTransitionInteractor.transition(Edge.create(LOCKSCREEN, AOD))) in listenForDozeAmountTransition_updatesClockDozeAmount()
329 whenever(keyguardTransitionInteractor.transition(Edge.create(AOD, LOCKSCREEN))) in listenForDozeAmountTransition_updatesClockDozeAmount()
336 to = AOD, in listenForDozeAmountTransition_updatesClockDozeAmount()
352 .transition(Edge.create(to = AOD))) in listenForTransitionToAodFromGone_updatesClockDozeAmountToOne()
359 to = AOD, in listenForTransitionToAodFromGone_updatesClockDozeAmountToOne()
396 .transition(Edge.create(to = AOD))) in listenForTransitionToAodFromLockscreen_neverUpdatesClockDozeAmount()
403 to = AOD, in listenForTransitionToAodFromLockscreen_neverUpdatesClockDozeAmount()
424 from = AOD, in listenForAnyStateToLockscreenTransition_neverUpdatesClockDozeAmount()

12345