Home
last modified time | relevance | path

Searched refs:CommunalTransitionProgressModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/model/
DCommunalTransitionProgressModel.kt22 sealed interface CommunalTransitionProgressModel { interface
24 data class Idle(val scene: SceneKey) : CommunalTransitionProgressModel
29 ) : CommunalTransitionProgressModel
32 data object OtherTransition : CommunalTransitionProgressModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DGlanceableHubTransitions.kt22 import com.android.systemui.communal.domain.model.CommunalTransitionProgressModel in <lambda>()
74 transitionProgress is CommunalTransitionProgressModel.Transition && in <lambda>()
96 is CommunalTransitionProgressModel.Idle -> { in <lambda>()
105 is CommunalTransitionProgressModel.Transition -> { in <lambda>()
109 is CommunalTransitionProgressModel.OtherTransition -> { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractorTest.kt25 import com.android.systemui.communal.domain.model.CommunalTransitionProgressModel
112 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Blank)) in transitionProgress_fullProgress()
121 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_fullProgress()
149 .isEqualTo(CommunalTransitionProgressModel.OtherTransition) in transitionProgress_transitioningAwayFromTrackedScene()
154 .isEqualTo(CommunalTransitionProgressModel.OtherTransition) in transitionProgress_transitioningAwayFromTrackedScene()
161 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningAwayFromTrackedScene()
187 .isEqualTo(CommunalTransitionProgressModel.Transition(0.4f)) in transitionProgress_transitioningToTrackedScene()
191 assertThat(transitionProgress).isEqualTo(CommunalTransitionProgressModel.Transition(1f)) in transitionProgress_transitioningToTrackedScene()
198 .isEqualTo(CommunalTransitionProgressModel.Idle(CommunalScenes.Communal)) in transitionProgress_transitioningToTrackedScene()
DCommunalInteractorTest.kt51 import com.android.systemui.communal.domain.model.CommunalTransitionProgressModel in <lambda>()
543 .isEqualTo(CommunalTransitionProgressModel.Idle(targetScene)) in <lambda>()
562 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>()
581 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>()
600 .isEqualTo(CommunalTransitionProgressModel.Transition(.4f)) in <lambda>()
604 assertThat(transitionProgress).isEqualTo(CommunalTransitionProgressModel.Transition(1f)) in <lambda>()
610 .isEqualTo(CommunalTransitionProgressModel.Idle(targetScene)) in <lambda>()
629 .isEqualTo(CommunalTransitionProgressModel.Idle(currentScene)) in <lambda>()
650 .isEqualTo(CommunalTransitionProgressModel.OtherTransition) in <lambda>()
655 .isEqualTo(CommunalTransitionProgressModel.OtherTransition) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractor.kt23 import com.android.systemui.communal.domain.model.CommunalTransitionProgressModel in <lambda>()
108 flowOf(CommunalTransitionProgressModel.Idle(state.currentScene)) in <lambda>()
112 CommunalTransitionProgressModel.Transition( in <lambda>()
119 flowOf(CommunalTransitionProgressModel.OtherTransition) in <lambda>()