Home
last modified time | relevance | path

Searched refs:Communal (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractorTest.kt56 underTest.changeScene(CommunalScenes.Communal) in changeScene()
57 assertThat(currentScene).isEqualTo(CommunalScenes.Communal) in changeScene()
66 underTest.snapToScene(CommunalScenes.Communal) in snapToScene()
67 assertThat(currentScene).isEqualTo(CommunalScenes.Communal) in snapToScene()
77 CommunalScenes.Communal, in snapToSceneWithDelay()
82 assertThat(currentScene).isEqualTo(CommunalScenes.Communal) in snapToSceneWithDelay()
91 underTest.snapToSceneForActivityStart(CommunalScenes.Communal) in snapToSceneForActivity()
92 assertThat(currentScene).isEqualTo(CommunalScenes.Communal) in snapToSceneForActivity()
102 underTest.snapToSceneForActivityStart(CommunalScenes.Communal) in snapToSceneForActivity_willNotChangeScene_forEditModeActivity()
116 ObservableTransitionState.Idle(CommunalScenes.Communal) in transitionProgress_fullProgress()
[all …]
DCommunalInteractorTest.kt509 val targetScene = CommunalScenes.Communal in <lambda>()
519 val targetScene = CommunalScenes.Communal in <lambda>()
550 val currentScene = CommunalScenes.Communal in <lambda>()
568 val currentScene = CommunalScenes.Communal in <lambda>()
617 val targetScene = CommunalScenes.Communal in <lambda>()
674 underTest.changeScene(CommunalScenes.Communal) in <lambda>()
693 sceneInteractor.changeScene(Scenes.Communal, loggingReason = "") in <lambda>()
698 underTest.changeScene(CommunalScenes.Communal) in <lambda>()
718 underTest.changeScene(CommunalScenes.Communal) in <lambda>()
723 sceneInteractor.changeScene(Scenes.Communal, loggingReason = "") in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalSceneStartableTest.kt101 communalSceneInteractor.changeScene(CommunalScenes.Communal) in keyguardGoesAway_forceBlankScene()
102 assertThat(scene).isEqualTo(CommunalScenes.Communal) in keyguardGoesAway_forceBlankScene()
119 communalSceneInteractor.changeScene(CommunalScenes.Communal) in keyguardGoesAway_whenInEditMode_doesNotChangeScene()
120 assertThat(scene).isEqualTo(CommunalScenes.Communal) in keyguardGoesAway_whenInEditMode_doesNotChangeScene()
129 assertThat(scene).isEqualTo(CommunalScenes.Communal) in keyguardGoesAway_whenInEditMode_doesNotChangeScene()
147 assertThat(scene).isEqualTo(CommunalScenes.Communal) in deviceDocked_forceCommunalScene()
157 communalSceneInteractor.changeScene(CommunalScenes.Communal) in occluded_forceBlankScene()
158 assertThat(scene).isEqualTo(CommunalScenes.Communal) in occluded_forceBlankScene()
176 communalSceneInteractor.changeScene(CommunalScenes.Communal) in occluded_doesNotForceBlankSceneIfLaunchingActivityOverLockscreen()
177 assertThat(scene).isEqualTo(CommunalScenes.Communal) in occluded_doesNotForceBlankSceneIfLaunchingActivityOverLockscreen()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalContainer.kt66 object Communal { in <lambda>() object
90 to(CommunalScenes.Communal, key = CommunalTransitionKeys.SimpleFade) { in <lambda>()
94 to(CommunalScenes.Communal) { in <lambda>()
96 translate(Communal.Elements.Grid, Edge.Right) in <lambda>()
101 translate(Communal.Elements.Grid, Edge.Right) in <lambda>()
103 fade(Communal.Elements.Grid) in <lambda>()
104 fade(Communal.Elements.IndicationArea) in <lambda>()
105 fade(Communal.Elements.LockIcon) in <lambda>()
106 fade(Communal.Elements.StatusBar) in <lambda>()
108 timestampRange(startMillis = 167, endMillis = 334) { fade(Communal.Elements.Scrim) } in <lambda>()
[all …]
DCommunalContent.kt59 modifier = Modifier.element(Communal.Elements.Grid) in <lambda>()
65 modifier = Modifier.element(Communal.Elements.LockIcon) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/log/
DCommunalLoggerStartableTest.kt86 transitionState.value = transition(to = CommunalScenes.Communal) in transitionStateLogging_enterCommunalHub()
93 transitionState.value = idle(CommunalScenes.Communal) in transitionStateLogging_enterCommunalHub()
114 transitionState.value = transition(to = CommunalScenes.Communal) in transitionStateLogging_enterCommunalHub_canceled()
137 MutableStateFlow<ObservableTransitionState>(idle(CommunalScenes.Communal)) in transitionStateLogging_exitCommunalHub()
145 transitionState.value = transition(from = CommunalScenes.Communal) in transitionStateLogging_exitCommunalHub()
165 MutableStateFlow<ObservableTransitionState>(idle(CommunalScenes.Communal)) in transitionStateLogging_exitCommunalHub_canceled()
173 transitionState.value = transition(from = CommunalScenes.Communal) in transitionStateLogging_exitCommunalHub_canceled()
180 transitionState.value = idle(CommunalScenes.Communal) in transitionStateLogging_exitCommunalHub_canceled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/dagger/
DCommunalModule.kt64 @Communal in bindEditWidgetsActivityStarter()
65 fun bindCommunalSceneDataSource(@Communal delegator: SceneDataSourceDelegator): SceneDataSource in bindEditWidgetsActivityStarter()
71 @Communal in bindEditWidgetsActivityStarter()
78 sceneKeys = listOf(CommunalScenes.Blank, CommunalScenes.Communal), in bindEditWidgetsActivityStarter()
83 CommunalScenes.Communal to 1, in bindEditWidgetsActivityStarter()
DCommunal.kt21 @Qualifier @MustBeDocumented @Retention(AnnotationRetention.RUNTIME) annotation class Communal class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DGlanceableHubContainerControllerTest.kt227 toScene = CommunalScenes.Communal, in onTouchEvent_communalTransitioning_interceptsTouches()
250 goToScene(CommunalScenes.Communal) in onTouchEvent_communalOpen_interceptsTouches()
265 goToScene(CommunalScenes.Communal) in onTouchEvent_communalAndBouncerShowing_doesNotIntercept()
284 goToScene(CommunalScenes.Communal) in onTouchEvent_communalAndShadeShowing_doesNotIntercept()
301 goToScene(CommunalScenes.Communal) in onTouchEvent_containerViewDisposed_doesNotIntercept()
367 goToScene(CommunalScenes.Communal) in lifecycle_resumedAfterCommunalShows()
377 goToScene(CommunalScenes.Communal) in lifecycle_startedAfterCommunalCloses()
393 goToScene(CommunalScenes.Communal) in lifecycle_startedAfterPrimaryBouncerShows()
408 goToScene(CommunalScenes.Communal) in lifecycle_startedAfterAlternateBouncerShows()
431 goToScene(CommunalScenes.Communal) in lifecycle_startedAfterShadeShows()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/log/
DCommunalLoggerStartable.kt91 return this is ObservableTransitionState.Idle && currentScene == CommunalScenes.Communal in isOnCommunal()
96 return this is ObservableTransitionState.Idle && currentScene != CommunalScenes.Communal in isNotOnCommunal()
102 toScene == CommunalScenes.Communal && in ObservableTransitionState()
109 fromScene == CommunalScenes.Communal && in isSwipingFromCommunal()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/section/
DAmbientStatusBarSection.kt28 import com.android.systemui.communal.ui.compose.Communal in <lambda>()
52 modifier = modifier.element(Communal.Elements.StatusBar) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/
DSceneKosmos.kt17 Scenes.Communal, in <lambda>()
40 Scenes.Communal to 1, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalRepositoryImplTest.kt60 val expectedSceneKey = CommunalScenes.Communal in transitionState_setTransitionState_returnsNewValue()
72 flowOf(ObservableTransitionState.Idle(CommunalScenes.Communal)) in transitionState_setNullTransitionState_returnsDefaultValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalSceneStartable.kt140 scene == CommunalScenes.Communal in <lambda>()
154 if (scene == CommunalScenes.Communal && isDreaming && timeoutJob == null) { in <lambda>()
209 CommunalScenes.Communal in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSceneRepository.kt22 import com.android.systemui.communal.dagger.Communal in <lambda>()
72 @Communal private val sceneDataSource: SceneDataSource,
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/shared/model/
DCommunalScenes.kt27 @JvmField val Communal = SceneKey("communal") constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/
DSceneContainerFrameworkModule.kt90 Scenes.Communal, in containerStartable()
103 Scenes.Communal to 1, in containerStartable()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/viewmodel/
DCommunalTransitionViewModelTest.kt113 communalSceneRepository.changeScene(CommunalScenes.Communal) in isUmoOnCommunal_idleOnCommunal_returnsTrue()
125 communalSceneRepository.changeScene(CommunalScenes.Communal) in enterCommunal()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/
DFromLockscreenToCommunalTransition.kt31 translate(Scenes.Communal.rootElementKey, Edge.Right) in TransitionBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
DScenes.kt34 @JvmField val Communal = SceneKey("communal") constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt645 ObservableTransitionState.Idle(CommunalScenes.Communal) in dozingToGlanceableHub()
778 ObservableTransitionState.Idle(CommunalScenes.Communal) in goneToGlanceableHub()
954 ObservableTransitionState.Idle(CommunalScenes.Communal) in alternateBouncerToGlanceableHub()
1070 ObservableTransitionState.Idle(CommunalScenes.Communal) in primaryBouncerToGlanceableHub()
1106 ObservableTransitionState.Idle(CommunalScenes.Communal) in primaryBouncerToGlanceableHubWhileDreaming()
1228 ObservableTransitionState.Idle(CommunalScenes.Communal) in occludedToGlanceableHub()
1518 val targetScene = CommunalScenes.Communal in dreamingToGlanceableHub()
1709 val targetScene = CommunalScenes.Communal in lockscreenToGlanceableHub()
1766 val currentScene = CommunalScenes.Communal in glanceableHubToLockscreen()
1889 ObservableTransitionState.Idle(CommunalScenes.Communal) in glanceableHubToOccluded()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DAccessibilityActionsViewModel.kt53 fun openCommunalHub() = communalInteractor.changeScene(CommunalScenes.Communal) in <lambda>()
DGlanceableHubToOccludedTransitionViewModel.kt41 edge = Edge.create(from = Scenes.Communal, to = OCCLUDED),
DOccludedToGlanceableHubTransitionViewModel.kt41 edge = Edge.create(OCCLUDED, Scenes.Communal)
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DKeyguardState.kt117 GLANCEABLE_HUB -> Scenes.Communal in mapToSceneContainerScene()

123