Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorSceneContainerImpl.kt46 sceneInteractor: SceneInteractor, in <lambda>()
53 sceneBasedExpansion(sceneInteractor, SceneFamilies.NotifShade) in <lambda>()
57 sceneBasedExpansion(sceneInteractor, SceneFamilies.QuickSettings) in <lambda>()
81 sceneInteractor.resolveSceneFamily(SceneFamilies.QuickSettings), in <lambda>()
82 sceneInteractor.resolveSceneFamily(SceneFamilies.NotifShade), in <lambda>()
86 sceneInteractor.transitionState in <lambda>()
100 sceneInteractor in <lambda>()
103 sceneInteractor.transitionState in <lambda>()
125 sceneBasedInteracting(sceneInteractor, SceneFamilies.NotifShade) in <lambda>()
128 sceneBasedInteracting(sceneInteractor, SceneFamilies.QuickSettings) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorSceneContainerImplTest.kt29 import com.android.systemui.scene.domain.interactor.sceneInteractor
53 private val sceneInteractor = kosmos.sceneInteractor constant in com.android.systemui.shade.domain.interactor.ShadeInteractorSceneContainerImplTest
78 sceneInteractor.setTransitionState(transitionState) in qsExpansionWhenInSplitShadeAndQsExpanded()
108 sceneInteractor.setTransitionState(transitionState) in qsExpansionWhenNotInSplitShadeAndQsExpanded()
133 sceneInteractor.setTransitionState(transitionState) in qsFullscreen_falseWhenTransitioning()
151 sceneInteractor.setTransitionState(transitionState) in qsFullscreen_falseWhenIdleNotQS()
169 sceneInteractor.setTransitionState(transitionState) in qsFullscreen_trueWhenIdleQS()
181 val expansion = underTest.sceneBasedExpansion(sceneInteractor, key) in lockscreenShadeExpansion_idle_onScene()
187 sceneInteractor.setTransitionState(transitionState) in lockscreenShadeExpansion_idle_onScene()
197 val expansion = underTest.sceneBasedExpansion(sceneInteractor, Scenes.Shade) in lockscreenShadeExpansion_idle_onDifferentScene()
[all …]
DShadeBackActionInteractorImplTest.kt32 import com.android.systemui.scene.domain.interactor.sceneInteractor
56 val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant
72 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notOnQs()
84 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_entered()
95 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_locked()
105 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notFullyCollapse()
124 val actual by collectLastValue(sceneInteractor.currentScene) in setScene()
125 sceneInteractor.changeScene(key, "test") in setScene()
126 sceneInteractor.setTransitionState( in setScene()
DShadeAnimationInteractorSceneContainerImplTest.kt25 import com.android.systemui.scene.domain.interactor.sceneInteractor
43 val sceneInteractor = kosmos.sceneInteractor constant
64 sceneInteractor.setTransitionState(transitionState) in isAnyCloseAnimationRunning_qsToShade()
88 sceneInteractor.setTransitionState(transitionState) in isAnyCloseAnimationRunning_qsToGone_userInputNotOngoing()
112 sceneInteractor.setTransitionState(transitionState) in isAnyCloseAnimationRunning_qsToGone_userInputOngoing()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DOverlayShadeViewModelTest.kt32 import com.android.systemui.scene.domain.interactor.sceneInteractor
52 private val sceneInteractor = kosmos.sceneInteractor constant
89 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in backgroundScene_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
106 sceneInteractor.changeScene(Scenes.Gone, "reason") in backgroundScene_authMethodSwipe_lockscreenDismissed_goesToGone()
115 val currentScene by collectLastValue(sceneInteractor.currentScene) in onScrimClicked_onLockscreen_goesToLockscreen()
117 sceneInteractor.changeScene(Scenes.Bouncer, "reason") in onScrimClicked_onLockscreen_goesToLockscreen()
129 val currentScene by collectLastValue(sceneInteractor.currentScene) in onScrimClicked_deviceWasEntered_goesToGone()
134 sceneInteractor.changeScene(Scenes.QuickSettings, "reason") in onScrimClicked_deviceWasEntered_goesToGone()
149 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in lockDevice()
160 sceneInteractor.changeScene(Scenes.Gone, "reason") in unlockDevice()
DShadeHeaderViewModelTest.kt19 import com.android.systemui.scene.domain.interactor.sceneInteractor
47 private val sceneInteractor = kosmos.sceneInteractor constant in com.android.systemui.shade.ui.viewmodel.ShadeHeaderViewModelTest
105 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Lockscreen) in onSystemIconContainerClicked_locked_collapsesShadeToLockscreen()
117 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Gone) in onSystemIconContainerClicked_unlocked_collapsesShadeToGone()
138 sceneInteractor.changeScene(key, "test") in setScene()
139 sceneInteractor.setTransitionState( in setScene()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartableTest.kt55 import com.android.systemui.scene.domain.interactor.sceneInteractor in <lambda>()
95 private val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant
119 val currentDesiredSceneKey by collectLastValue(sceneInteractor.currentScene) in <lambda>()
120 val isVisible by collectLastValue(sceneInteractor.isVisible) in <lambda>()
134 sceneInteractor.changeScene(Scenes.Shade, "reason") in <lambda>()
150 sceneInteractor.changeScene(Scenes.Gone, "reason") in <lambda>()
177 val isVisible by collectLastValue(sceneInteractor.isVisible) in <lambda>()
195 val isVisible by collectLastValue(sceneInteractor.isVisible) in <lambda>()
217 val currentSceneKey by collectLastValue(sceneInteractor.currentScene) in <lambda>()
229 val currentSceneKey by collectLastValue(sceneInteractor.currentScene) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModelTest.kt33 import com.android.systemui.scene.domain.interactor.sceneInteractor
56 private val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant in com.android.systemui.notifications.ui.viewmodel.NotificationsShadeSceneViewModelTest
80 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Gone) in upTransitionSceneKey_deviceUnlocked_gone()
91 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
106 sceneInteractor // force the lazy; this will kick off StateFlows in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
108 sceneInteractor.changeScene(Scenes.Gone, "reason") in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
119 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in lockDevice()
130 sceneInteractor.changeScene(Scenes.Gone, "reason") in unlockDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/viewmodel/
DSceneContainerViewModel.kt46 private val sceneInteractor: SceneInteractor, in <lambda>() constant in com.android.systemui.scene.ui.viewmodel.SceneContainerViewModel
57 val allSceneKeys: List<SceneKey> = sceneInteractor.allSceneKeys() in <lambda>()
60 val currentScene: StateFlow<SceneKey> = sceneInteractor.currentScene in <lambda>()
63 val isVisible: StateFlow<Boolean> = sceneInteractor.isVisible in <lambda>()
90 sceneInteractor.setTransitionState(transitionState) in <lambda>()
105 sceneInteractor.onUserInteractionFinished() in <lambda>()
158 sceneInteractor.resolveSceneFamilyOrNull(actionResult.toScene)?.value?.let { in <lambda>()
169 sceneInteractor.resolveSceneFamily(actionResult.toScene).map { scene -> in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DShadeControllerSceneImplTest.kt33 import com.android.systemui.scene.domain.interactor.sceneInteractor
59 private val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant
95 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Gone) in animateCollapseShade_noForceNoExpansion()
113 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Shade) in animateCollapseShade_expandedExcludeFlagOn()
130 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Lockscreen) in animateCollapseShade_locked()
145 assertThat(sceneInteractor.currentScene.value).isEqualTo(Scenes.Gone) in animateCollapseShade_unlocked()
183 sceneInteractor.changeScene(key, "test") in setScene()
184 sceneInteractor.setTransitionState( in setScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartable.kt102 private val sceneInteractor: SceneInteractor, in <lambda>() constant in com.android.systemui.scene.domain.startable.SceneContainerStartable
184 sceneInteractor.transitionState.mapNotNull { state -> in <lambda>()
221 sceneInteractor.setVisible(isVisible, loggingReason) in <lambda>()
238 sceneInteractor.currentScene.collectLatest { currentScene -> in <lambda>()
245 sceneInteractor.changeScene( in <lambda>()
258 if (sceneInteractor.currentScene.value == Scenes.Bouncer) { in <lambda>()
259 sceneInteractor.changeScene( in <lambda>()
318 when (val transitionState = sceneInteractor.transitionState.value) { in <lambda>()
400 sceneInteractor.transitionState.value as? ObservableTransitionState.Transition in <lambda>()
425 sceneInteractor.transitioningTo.value == Scenes.Lockscreen in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/ui/viewmodel/
DSceneContainerViewModelTest.kt30 import com.android.systemui.scene.domain.interactor.sceneInteractor in <lambda>()
55 private val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant in com.android.systemui.scene.ui.viewmodel.SceneContainerViewModelTest
66 sceneInteractor = sceneInteractor, in <lambda>()
79 sceneInteractor.setVisible(false, "reason") in <lambda>()
82 sceneInteractor.setVisible(true, "reason") in <lambda>()
208 sceneInteractor.setVisible(false, "reason") in <lambda>()
211 sceneInteractor.onRemoteUserInteractionStarted("reason") in <lambda>()
225 val currentScene by collectLastValue(sceneInteractor.currentScene) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DStatusBarStateControllerImplTest.kt43 import com.android.systemui.scene.domain.interactor.sceneInteractor
107 { kosmos.sceneInteractor }, in setUp()
239 val currentScene by collectLastValue(kosmos.sceneInteractor.currentScene) in start_hydratesStatusBarState_whileLocked()
249 kosmos.sceneInteractor.changeScene( in start_hydratesStatusBarState_whileLocked()
259 kosmos.sceneInteractor.changeScene(toScene = Scenes.Bouncer, loggingReason = "reason") in start_hydratesStatusBarState_whileLocked()
264 kosmos.sceneInteractor.changeScene(toScene = Scenes.Shade, loggingReason = "reason") in start_hydratesStatusBarState_whileLocked()
269 kosmos.sceneInteractor.changeScene( in start_hydratesStatusBarState_whileLocked()
277 kosmos.sceneInteractor.changeScene(toScene = Scenes.Communal, loggingReason = "reason") in start_hydratesStatusBarState_whileLocked()
282 kosmos.sceneInteractor.changeScene( in start_hydratesStatusBarState_whileLocked()
304 val currentScene by collectLastValue(kosmos.sceneInteractor.currentScene) in start_hydratesStatusBarState_whileUnlocked()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/ui/viewmodel/
DOverlayShadeViewModelKosmos.kt21 import com.android.systemui.scene.domain.interactor.sceneInteractor
27 sceneInteractor = sceneInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerSceneImpl.kt58 private val sceneInteractor: SceneInteractor, in <lambda>() constant in com.android.systemui.shade.ShadeControllerSceneImpl
94 sceneInteractor.snapToScene( in <lambda>()
134 sceneInteractor.changeScene( in <lambda>()
175 sceneInteractor.changeScene( in <lambda>()
182 sceneInteractor.changeScene(SceneFamilies.QuickSettings, "ShadeController.animateExpandQs") in <lambda>()
187 sceneInteractor.isVisible.collect { isVisible -> in <lambda>()
232 return sceneInteractor.currentScene.value != Scenes.Gone in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/domain/interactor/
DShadeBackActionInteractorKosmos.kt21 import com.android.systemui.scene.domain.interactor.sceneInteractor
27 sceneInteractor = sceneInteractor, in <lambda>()
DShadeLockscreenInteractorKosmos.kt22 import com.android.systemui.scene.domain.interactor.sceneInteractor
32 sceneInteractor = sceneInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/model/
DSceneContainerPluginKosmos.kt22 import com.android.systemui.scene.domain.interactor.sceneInteractor
26 sceneInteractor = { sceneInteractor }, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsShadeSceneViewModelTest.kt33 import com.android.systemui.scene.domain.interactor.sceneInteractor
56 private val sceneInteractor = kosmos.sceneInteractor constant in com.android.systemui.qs.ui.viewmodel.QuickSettingsShadeSceneViewModelTest
93 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in upTransitionSceneKey_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
109 sceneInteractor.changeScene(Scenes.Gone, "reason") in upTransitionSceneKey_authMethodSwipe_lockscreenDismissed_goesToGone()
120 sceneInteractor.changeScene(Scenes.Lockscreen, "reason") in lockDevice()
131 sceneInteractor.changeScene(Scenes.Gone, "reason") in unlockDevice()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissActionInteractorKosmos.kt22 import com.android.systemui.scene.domain.interactor.sceneInteractor
33 sceneInteractor = sceneInteractor, in <lambda>()
DWindowManagerLockscreenVisibilityInteractorKosmos.kt21 import com.android.systemui.scene.domain.interactor.sceneInteractor
34 sceneInteractor = { sceneInteractor }, in <lambda>()
DKeyguardTransitionInteractorKosmos.kt23 import com.android.systemui.scene.domain.interactor.sceneInteractor
36 sceneInteractor = { sceneInteractor } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/scenetransition/
DLockscreenSceneTransitionInteractor.kt23 import com.android.systemui.scene.domain.interactor.sceneInteractor
30 sceneInteractor = sceneInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationStackAppearanceIntegrationTest.kt30 import com.android.systemui.scene.domain.interactor.sceneInteractor in <lambda>()
62 private val sceneInteractor by lazy { kosmos.sceneInteractor } in <lambda>() constant in com.android.systemui.statusbar.notification.NotificationStackAppearanceIntegrationTest
121 sceneInteractor.setTransitionState(transitionState) in <lambda>()
131 sceneInteractor.changeScene(Scenes.Shade, "reason") in <lambda>()
162 sceneInteractor.setTransitionState(transitionState) in <lambda>()
178 sceneInteractor.setTransitionState(transitionState) in <lambda>()
188 sceneInteractor.changeScene(Scenes.QuickSettings, "reason") in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DAodAlphaViewModelKosmos.kt25 import com.android.systemui.scene.domain.interactor.sceneInteractor
34 sceneInteractor = sceneInteractor, in <lambda>()

12345