Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt25 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
71 steps.add(TransitionStep(AOD, GONE, 0f, STARTED)) in transition collectors receives only appropriate events()
72 steps.add(TransitionStep(AOD, GONE, 1f, FINISHED)) in transition collectors receives only appropriate events()
73 steps.add(TransitionStep(AOD, LOCKSCREEN, 0f, STARTED)) in transition collectors receives only appropriate events()
74 steps.add(TransitionStep(AOD, LOCKSCREEN, 0.5f, RUNNING)) in transition collectors receives only appropriate events()
75 steps.add(TransitionStep(AOD, LOCKSCREEN, 1f, FINISHED)) in transition collectors receives only appropriate events()
76 steps.add(TransitionStep(LOCKSCREEN, AOD, 0f, STARTED)) in transition collectors receives only appropriate events()
77 steps.add(TransitionStep(LOCKSCREEN, AOD, 0.1f, RUNNING)) in transition collectors receives only appropriate events()
78 steps.add(TransitionStep(LOCKSCREEN, AOD, 0.2f, RUNNING)) in transition collectors receives only appropriate events()
97 steps.add(TransitionStep(AOD, LOCKSCREEN, 0f, STARTED)) in dozeAmountTransitionTest()
[all …]
DLightRevealScrimInteractorTest.kt113 from = KeyguardState.AOD, in revealAmount - inverted when appropriate()
124 to = KeyguardState.AOD, in revealAmount - inverted when appropriate()
141 TransitionStep(from = KeyguardState.DOZING, to = KeyguardState.AOD, value = 0.3f) in revealAmount - ignores transitions that do not affect reveal amount()
147 TransitionStep(from = KeyguardState.AOD, to = KeyguardState.DOZING, value = 0.3f) in revealAmount - ignores transitions that do not affect reveal amount()
DKeyguardTransitionScenariosTest.kt320 fun `OCCLUDED to AOD`() = in OCCLUDED to AOD()
354 assertThat(info.to).isEqualTo(KeyguardState.AOD) in OCCLUDED to AOD()
446 fun `LOCKSCREEN to AOD`() = in LOCKSCREEN to AOD()
480 assertThat(info.to).isEqualTo(KeyguardState.AOD) in LOCKSCREEN to AOD()
602 fun `GONE to AOD`() = in GONE to AOD()
636 assertThat(info.to).isEqualTo(KeyguardState.AOD) in GONE to AOD()
761 fun `ALTERNATE_BOUNCER to AOD`() = in ALTERNATE_BOUNCER to AOD()
797 assertThat(info.to).isEqualTo(KeyguardState.AOD) in ALTERNATE_BOUNCER to AOD()
890 fun `PRIMARY_BOUNCER to AOD`() = in PRIMARY_BOUNCER to AOD()
925 assertThat(info.to).isEqualTo(KeyguardState.AOD) in PRIMARY_BOUNCER to AOD()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardTransitionRepositoryTest.kt29 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
76 val job = underTest.transition(AOD, LOCKSCREEN).onEach { steps.add(it) }.launchIn(this) in <lambda>()
80 TransitionInfo(OWNER_NAME, AOD, LOCKSCREEN, getAnimator()), in <lambda>()
84 assertSteps(steps, listWithStep(BigDecimal(.1)), AOD, LOCKSCREEN) in <lambda>()
92 val job = underTest.transition(AOD, LOCKSCREEN).onEach { steps.add(it) }.launchIn(this) in <lambda>()
95 TransitionInfo(OWNER_NAME, AOD, LOCKSCREEN, getAnimator()), in <lambda>()
100 val job2 = underTest.transition(LOCKSCREEN, AOD).onEach { steps.add(it) }.launchIn(this) in <lambda>()
103 TransitionInfo(OWNER_NAME, LOCKSCREEN, AOD, getAnimator()), in <lambda>()
107 assertSteps(steps.subList(0, 4), firstTransitionSteps, AOD, LOCKSCREEN) in <lambda>()
110 assertSteps(steps.subList(4, steps.size), secondTransitionSteps, LOCKSCREEN, AOD) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromAodTransitionInteractor.kt55 if (lastStartedStep.to == KeyguardState.AOD) { in <lambda>()
59 KeyguardState.AOD, in <lambda>()
76 keyguardState == KeyguardState.AOD && isWakeAndUnlock(biometricUnlockState) in <lambda>()
81 KeyguardState.AOD, in <lambda>()
DKeyguardTransitionInteractor.kt23 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD in <lambda>()
50 repository.transitions.filter { step -> step.to == KeyguardState.AOD } in <lambda>()
53 val aodToLockscreenTransition: Flow<TransitionStep> = repository.transition(AOD, LOCKSCREEN) in <lambda>()
63 val lockscreenToAodTransition: Flow<TransitionStep> = repository.transition(LOCKSCREEN, AOD) in <lambda>()
DFromLockscreenTransitionInteractor.kt70 lastStartedTransition.from != KeyguardState.AOD in <lambda>()
265 lastStartedStep.to == KeyguardState.AOD || in <lambda>()
302 KeyguardState.AOD in <lambda>()
DLightRevealScrimInteractor.kt87 KeyguardState.AOD -> false in <lambda>()
DFromGoneTransitionInteractor.kt111 KeyguardState.AOD in <lambda>()
DFromPrimaryBouncerTransitionInteractor.kt79 KeyguardState.AOD in <lambda>()
DFromAlternateBouncerTransitionInteractor.kt86 KeyguardState.AOD in <lambda>()
DFromOccludedTransitionInteractor.kt158 KeyguardState.AOD in <lambda>()
/frameworks/base/packages/SystemUI/docs/device-entry/
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…
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 …]
Dglossary.md8 …ght animations - in particular, on transitions between the lock screen and AOD.</li><li>Notificati…
10 …the lock screen. When there is no media and no notifications - or we enter AOD - big clock is alwa…
11AOD), [doze.md][6]<br><br>![ss_aod](imgs/aod.png) | UI shown when the device is in a low-powered d…
30 … System UI supports showing the UDFPS affordance on the lock screen and on AOD. Users cannot authe…
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java362 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
380 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
402 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
419 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
447 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
464 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
475 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
478 assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
495 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
506 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_afterDocked_ignoresAlwaysOnAndUpdatesFrontAlpha()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DLockIconViewControllerWithCoroutinesTest.kt23 import com.android.systemui.keyguard.shared.model.KeyguardState.AOD
104 mUnderTest.mDozeTransitionCallback.accept(TransitionStep(LOCKSCREEN, AOD, 1f, FINISHED)) in testBurnInOffsetsUpdated_onDozeAmountChanged()
113 mUnderTest.mDozeTransitionCallback.accept(TransitionStep(AOD, LOCKSCREEN, 0f, FINISHED)) in testBurnInOffsetsUpdated_onDozeAmountChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java64 if (previousState == ScrimState.AOD) { in prepare()
171 AOD { enumConstant
226 : AOD.getMaxLightRevealScrimAlpha(); in getMaxLightRevealScrimAlpha()
245 boolean fromAod = previousState == AOD || previousState == PULSING; in prepare()
257 if (mDisplayRequiresBlanking && previousState == ScrimState.AOD) { in prepare()
DScrimController.java520 } else if (((oldState == ScrimState.AOD || oldState == ScrimState.PULSING) // leaving doze in transitionTo()
522 || (mState == ScrimState.AOD && !mDozeParameters.getDisplayNeedsBlanking())) { in transitionTo()
540 if (mState == ScrimState.AOD in shouldFadeAwayWallpaper()
598 if (mState != ScrimState.AOD && mState != ScrimState.PULSING) { in onHideWallpaperTimeout()
1047 mState.AOD.setAodFrontScrimAlpha(alpha); in setAodFrontScrimAlpha()
1052 if (mState == ScrimState.AOD in shouldUpdateFrontScrimAlpha()
1113 boolean aodWallpaperTimeout = (mState == ScrimState.AOD || mState == ScrimState.PULSING) in updateScrims()
1117 (mState == ScrimState.PULSING || mState == ScrimState.AOD) in updateScrims()
1182 scrim.setClickable(mState != ScrimState.AOD); in setScrimAlpha()
1576 if (mState == ScrimState.AOD || mState == ScrimState.PULSING) { in setHasBackdrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DKeyguardState.kt43 AOD,
/frameworks/base/packages/SystemUI/docs/
Dclock-plugins.md5 The clock appearing on the lock screen and always on display (AOD) can be
11 modify the UI of AOD.
27 therefore, recommended to compare against an element on AOD that is known not
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java107 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_true()
122 when(mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD)).thenReturn(state); in testIndependentAODBatterySaver_false()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.kt138 TransitionStep(to = KeyguardState.AOD, transitionState = TransitionState.STARTED), in unseenFilterStopsMarkingSeenNotifWhenTransitionToAod()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java394 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
/frameworks/base/core/java/android/os/
DPowerManager.java988 ServiceType.AOD,
1004 int AOD = 14; field

12