Home
last modified time | relevance | path

Searched refs:transitionValue (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DNotOccludedConditionTest.kt46 private val transitionValue = MutableStateFlow(0f) constant in com.android.systemui.flags.NotOccludedConditionTest
54 whenever(keyguardTransitionInteractor.transitionValue(KeyguardState.OCCLUDED)) in setup()
55 .thenReturn(transitionValue) in setup()
65 transitionValue.emit(1f) in testCondition_occluded()
74 transitionValue.emit(0f) in testCondition_notOccluded()
83 transitionValue.emit(1f) in testCondition_invokesRetry()
87 transitionValue.emit(0f) in testCondition_invokesRetry()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneInteractorTest.kt418 val transitionValue by collectLastValue(underTest.transitionProgress(Scenes.Gone)) in transitionValue_test_idle() constant
421 assertThat(transitionValue).isEqualTo(1f) in transitionValue_test_idle()
424 assertThat(transitionValue).isEqualTo(0f) in transitionValue_test_idle()
430 val transitionValue by collectLastValue(underTest.transitionProgress(Scenes.Gone)) in transitionValue_test_transitions() constant
436 assertThat(transitionValue).isEqualTo(0f) in transitionValue_test_transitions()
439 assertThat(transitionValue).isEqualTo(0.4f) in transitionValue_test_transitions()
445 assertThat(transitionValue).isEqualTo(0.3f) in transitionValue_test_transitions()
451 assertThat(transitionValue).isEqualTo(0f) in transitionValue_test_transitions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModel.kt67 keyguardTransitionInteractor.transitionValue(KeyguardState.AOD).onStart { in <lambda>()
70 keyguardTransitionInteractor.transitionValue(KeyguardState.DOZING).onStart { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DNotOccludedCondition.kt21 .transitionValue(KeyguardState.OCCLUDED)
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAlternateBouncerWindowViewModel.kt41 .transitionValue(KeyguardState.ALTERNATE_BOUNCER) in <lambda>()
DAlternateBouncerViewModel.kt43 keyguardTransitionInteractor.transitionValue(ALTERNATE_BOUNCER)
DAccessibilityActionsViewModel.kt44 keyguardTransitionInteractor.transitionValue(KeyguardState.LOCKSCREEN).map { in <lambda>()
DKeyguardRootViewModel.kt205 .transitionValue(scene = Scenes.Gone, stateWithoutSceneContainer = GONE) in <lambda>()
209 .transitionValue(OCCLUDED) in <lambda>()
213 .transitionValue(KeyguardState.DREAMING) in <lambda>()
DDeviceEntryForegroundViewModel.kt57 transitionInteractor.transitionValue(KeyguardState.DOZING), in <lambda>()
DKeyguardIndicationAreaViewModel.kt90 keyguardTransitionInteractor.transitionValue(KeyguardState.AOD), in <lambda>()
DAodBurnInViewModel.kt115 keyguardTransitionInteractor.transitionValue(KeyguardState.AOD).map { in <lambda>()
DDeviceEntryIconViewModel.kt125 private val dozeAmount: Flow<Float> = transitionInteractor.transitionValue(KeyguardState.AOD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractor.kt226 fun transitionValue( in <lambda>() method in com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor
233 transitionValue(stateWithoutSceneContainer) in <lambda>()
243 fun transitionValue( in <lambda>() method in com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractor
248 return transitionValue(state.mapToSceneContainerScene()!!, state) in <lambda>()
DKeyguardInteractor.kt257 .transitionValue(scene = Scenes.Gone, stateWithoutSceneContainer = GONE) in <lambda>()
368 keyguardTransitionInteractor.transitionValue(GONE).onStart { emit(0f) }, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DAlternateBouncerInteractor.kt86 keyguardTransitionInteractor.get().transitionValue(KeyguardState.DOZING).map { in <lambda>()
89 keyguardTransitionInteractor.get().transitionValue(KeyguardState.AOD).map { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt236 fun transitionValue() = in transitionValue() method in com.android.systemui.keyguard.domain.interactor.KeyguardTransitionInteractorTest
239 val transitionValues by collectValues(underTest.transitionValue(state = DOZING)) in transitionValue()
271 val transitionValuesGone by collectValues(underTest.transitionValue(state = GONE)) in transitionValue_canceled_toAnotherState()
272 val transitionValuesAod by collectValues(underTest.transitionValue(state = AOD)) in transitionValue_canceled_toAnotherState()
273 val transitionValuesLs by collectValues(underTest.transitionValue(state = LOCKSCREEN)) in transitionValue_canceled_toAnotherState()
298 val transitionValuesGone by collectValues(underTest.transitionValue(state = GONE)) in transitionValue_canceled_backToOriginalState()
299 val transitionValuesAod by collectValues(underTest.transitionValue(state = AOD)) in transitionValue_canceled_backToOriginalState()
1629 states.forEach { (underTest.transitionValue(it) as MutableSharedFlow).resetReplayCache() } in resetTransitionValueReplayCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneContainerOcclusionInteractor.kt60 .transitionValue(KeyguardState.AOD) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModel.kt221 keyguardTransitionInteractor.transitionValue(LOCKSCREEN).map { it > 0f }, in <lambda>()
438 keyguardTransitionInteractor.transitionValue(state).map { it == 0f } in <lambda>()
460 keyguardTransitionInteractor.transitionValue(state).map { in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java1039 private void resetLayoutLocked(int fromState, int toState, boolean transitionValue) { in resetLayoutLocked() argument
1089 if (transitionValue != logicalDisplay.isInTransitionLocked()) { in resetLayoutLocked()
1091 + transitionValue); in resetLayoutLocked()
1096 logicalDisplay.setIsInTransitionLocked(transitionValue); in resetLayoutLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerLegacy.kt308 transitionInteractor.transitionValue(AOD).collect { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DLegacyLockIconViewController.java268 collectFlow(mView, mTransitionInteractor.transitionValue(KeyguardState.AOD), in setLockIconView()