Home
last modified time | relevance | path

Searched refs:communalSceneInteractor (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalSceneStartableTest.kt24 import com.android.systemui.communal.domain.interactor.communalSceneInteractor
74 communalSceneInteractor = communalSceneInteractor, in setUp()
99 val scene by collectLastValue(communalSceneInteractor.currentScene) in keyguardGoesAway_forceBlankScene()
101 communalSceneInteractor.changeScene(CommunalScenes.Communal) in keyguardGoesAway_forceBlankScene()
118 val scene by collectLastValue(communalSceneInteractor.currentScene) in keyguardGoesAway_whenInEditMode_doesNotChangeScene()
119 communalSceneInteractor.changeScene(CommunalScenes.Communal) in keyguardGoesAway_whenInEditMode_doesNotChangeScene()
138 val scene by collectLastValue(communalSceneInteractor.currentScene) in deviceDocked_forceCommunalScene()
156 val scene by collectLastValue(communalSceneInteractor.currentScene) in occluded_forceBlankScene()
157 communalSceneInteractor.changeScene(CommunalScenes.Communal) in occluded_forceBlankScene()
175 val scene by collectLastValue(communalSceneInteractor.currentScene) in occluded_doesNotForceBlankSceneIfLaunchingActivityOverLockscreen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DBaseCommunalViewModel.kt38 val communalSceneInteractor: CommunalSceneInteractor, constant in com.android.systemui.communal.ui.viewmodel.BaseCommunalViewModel
42 val currentScene: Flow<SceneKey> = communalSceneInteractor.currentScene
67 communalSceneInteractor.changeScene(scene, transitionKey) in changeScene()
70 fun setEditModeState(state: EditModeState?) = communalSceneInteractor.setEditModeState(state) in setEditModeState()
78 communalSceneInteractor.setTransitionState(transitionState) in setEditModeState()
DCommunalEditModeViewModel.kt62 communalSceneInteractor: CommunalSceneInteractor, in <lambda>()
70 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
77 communalSceneInteractor.editModeState.map { it == EditModeState.SHOWING } in <lambda>()
198 communalSceneInteractor.setEditModeState(null) in <lambda>()
DCommunalTransitionViewModel.kt61 communalSceneInteractor: CommunalSceneInteractor, in <lambda>()
96 communalSceneInteractor.isIdleOnCommunal, in <lambda>()
104 communalSceneInteractor.isCommunalVisible, in <lambda>()
DCommunalViewModel.kt79 communalSceneInteractor: CommunalSceneInteractor, in <lambda>()
86 ) : BaseCommunalViewModel(communalSceneInteractor, communalInteractor, mediaHost) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalSceneStartable.kt71 private val communalSceneInteractor: CommunalSceneInteractor, in <lambda>() constant in com.android.systemui.communal.CommunalSceneStartable
95 communalSceneInteractor.changeScene(nextScene, CommunalTransitionKeys.SimpleFade) in <lambda>()
135 communalSceneInteractor.currentScene, in <lambda>()
151 .sample(communalSceneInteractor.currentScene, ::Pair) in <lambda>()
157 communalSceneInteractor.changeScene(CommunalScenes.Blank) in <lambda>()
163 communalSceneInteractor.isIdleOnCommunal.collectLatest { in <lambda>()
182 communalSceneInteractor.changeScene(CommunalScenes.Blank) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/ui/viewmodel/
DCommunalTransitionViewModelKosmos.kt20 import com.android.systemui.communal.domain.interactor.communalSceneInteractor
43 communalSceneInteractor = communalSceneInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalEditModeViewModelTest.kt43 import com.android.systemui.communal.domain.interactor.communalSceneInteractor
92 private lateinit var communalSceneInteractor: CommunalSceneInteractor variable in com.android.systemui.communal.view.viewmodel.CommunalEditModeViewModelTest
106 communalSceneInteractor = kosmos.communalSceneInteractor in setUp()
115 communalSceneInteractor, in setUp()
184 communalSceneInteractor.setEditModeState(EditModeState.SHOWING) in isCommunalContentVisible_isTrue_whenEditModeShowing()
192 communalSceneInteractor.setEditModeState(null) in isCommunalContentVisible_isFalse_whenEditModeNotShowing()
DCommunalViewModelTest.kt39 import com.android.systemui.communal.domain.interactor.communalSceneInteractor in <lambda>()
158 kosmos.communalSceneInteractor, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt113 private val communalSceneInteractor: CommunalSceneInteractor, in <lambda>() constant
181 val desiredScene: Flow<SceneKey> = communalSceneInteractor.currentScene in <lambda>()
188 communalSceneInteractor.transitionState in <lambda>()
224 communalSceneInteractor.setTransitionState(transitionState) in <lambda>()
231 communalSceneInteractor.transitionProgressToScene(targetScene) in <lambda>()
280 val isIdleOnCommunal: StateFlow<Boolean> = communalSceneInteractor.isIdleOnCommunal in <lambda>()
290 val isCommunalVisible: Flow<Boolean> = communalSceneInteractor.isCommunalVisible in <lambda>()
300 communalSceneInteractor.changeScene(newScene, transitionKey) in <lambda>()
311 communalSceneInteractor.setEditModeState(EditModeState.STARTING) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorKosmos.kt47 communalSceneInteractor = communalSceneInteractor, in <lambda>()
DCommunalSceneInteractorKosmos.kt23 val Kosmos.communalSceneInteractor: CommunalSceneInteractor by constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DKosmosJavaAdapter.kt32 import com.android.systemui.communal.domain.interactor.communalSceneInteractor
118 val communalSceneInteractor by lazy { kosmos.communalSceneInteractor } in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DLegacyActivityStarterInternalImplTest.kt98 @Mock private lateinit var communalSceneInteractor: CommunalSceneInteractor variable in com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImplTest
132 communalSceneInteractor = communalSceneInteractor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLegacyActivityStarterInternalImpl.kt95 private val communalSceneInteractor: CommunalSceneInteractor, in <lambda>() constant in com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl
473 communalSceneInteractor.snapToSceneForActivityStart(CommunalScenes.Blank) in <lambda>()
560 communalSceneInteractor.snapToSceneForActivityStart( in <lambda>()
DKeyguardStatusBarViewController.java312 CommunalSceneInteractor communalSceneInteractor in KeyguardStatusBarViewController()
338 mCommunalSceneInteractor = communalSceneInteractor; in KeyguardStatusBarViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewController.java146 CommunalSceneInteractor communalSceneInteractor, in AmbientStatusBarViewController() argument
162 mCommunalSceneInteractor = communalSceneInteractor; in AmbientStatusBarViewController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt125 private lateinit var communalSceneInteractor: CommunalSceneInteractor in <lambda>() variable in com.android.systemui.communal.domain.interactor.CommunalInteractorTest
146 communalSceneInteractor = kosmos.communalSceneInteractor in <lambda>()
821 val editModeState by collectLastValue(communalSceneInteractor.editModeState) in <lambda>()
DCommunalSceneInteractorTest.kt48 private val underTest by lazy { kosmos.communalSceneInteractor } in <lambda>()