/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardTransitionInteractorTest.kt | 25 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 …]
|
D | LightRevealScrimInteractorTest.kt | 113 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()
|
D | KeyguardTransitionScenariosTest.kt | 320 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/ |
D | KeyguardTransitionRepositoryTest.kt | 29 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/ |
D | FromAodTransitionInteractor.kt | 55 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>()
|
D | KeyguardTransitionInteractor.kt | 23 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>()
|
D | FromLockscreenTransitionInteractor.kt | 70 lastStartedTransition.from != KeyguardState.AOD in <lambda>() 265 lastStartedStep.to == KeyguardState.AOD || in <lambda>() 302 KeyguardState.AOD in <lambda>()
|
D | LightRevealScrimInteractor.kt | 87 KeyguardState.AOD -> false in <lambda>()
|
D | FromGoneTransitionInteractor.kt | 111 KeyguardState.AOD in <lambda>()
|
D | FromPrimaryBouncerTransitionInteractor.kt | 79 KeyguardState.AOD in <lambda>()
|
D | FromAlternateBouncerTransitionInteractor.kt | 86 KeyguardState.AOD in <lambda>()
|
D | FromOccludedTransitionInteractor.kt | 158 KeyguardState.AOD in <lambda>()
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | keyguard.md | 7 3. Always-on Display (AOD) 15 ### Power On - AOD enabled or disabled 17 …AOD][3] or inactive. [PowerManagerService][2] can be directed to wake up on various user-configura…
|
D | doze.md | 3 `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 …]
|
D | glossary.md | 8 …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… 11 …AOD), [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/ |
D | ScrimControllerTest.java | 362 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/ |
D | LockIconViewControllerWithCoroutinesTest.kt | 23 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/ |
D | ScrimState.java | 64 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()
|
D | ScrimController.java | 520 } 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/ |
D | KeyguardState.kt | 43 AOD,
|
/frameworks/base/packages/SystemUI/docs/ |
D | clock-plugins.md | 5 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/ |
D | BatteryControllerTest.java | 107 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/ |
D | KeyguardCoordinatorTest.kt | 138 TransitionStep(to = KeyguardState.AOD, transitionState = TransitionState.STARTED), in unseenFilterStopsMarkingSeenNotifWhenTransitionToAod()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 394 PowerSaveState state = mPowerManager.getPowerSaveState(PowerManager.ServiceType.AOD); in setPowerSave()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 988 ServiceType.AOD, 1004 int AOD = 14; field
|