Home
last modified time | relevance | path

Searched refs:sceneKey (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/subjects/
DTransitionStateSubject.kt43 fun hasCurrentScene(sceneKey: SceneKey) { in hasCurrentScene()
44 check("currentScene").that(actual.currentScene).isEqualTo(sceneKey) in hasCurrentScene()
75 fun hasCurrentScene(sceneKey: SceneKey) { in hasCurrentScene()
76 check("currentScene").that(actual.currentScene).isEqualTo(sceneKey) in hasCurrentScene()
79 fun hasFromScene(sceneKey: SceneKey) { in hasFromScene()
80 check("fromScene").that(actual.fromScene).isEqualTo(sceneKey) in hasFromScene()
83 fun hasToScene(sceneKey: SceneKey) { in hasToScene()
84 check("toScene").that(actual.toScene).isEqualTo(sceneKey) in hasToScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt43 fun SceneStack.push(sceneKey: SceneKey): SceneStack = StackedNodes(sceneKey, this) in SceneStack()
64 for (sceneKey in scenes.reversed()) { in sceneStackOf() variable
65 result = result.push(sceneKey) in sceneStackOf()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneContainer.kt95 sceneByKey.forEach { (sceneKey, composableScene) -> in <lambda>() method
97 key = sceneKey, in <lambda>()
99 if (sceneKey == currentSceneKey) { in <lambda>()
107 modifier = Modifier.element(sceneKey.rootElementKey).fillMaxSize(), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorSceneContainerImpl.kt134 fun sceneBasedExpansion(sceneInteractor: SceneInteractor, sceneKey: SceneKey) = in <lambda>()
136 .resolveSceneFamily(sceneKey) in <lambda>()
165 fun sceneBasedInteracting(sceneInteractor: SceneInteractor, sceneKey: SceneKey) = in <lambda>()
171 sceneInteractor.resolveSceneFamily(sceneKey).map { resolvedSceneKey -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneInteractor.kt332 fun resolveSceneFamily(sceneKey: SceneKey): Flow<SceneKey> = flow { in <lambda>()
333 emitAll(resolveSceneFamilyOrNull(sceneKey) ?: flowOf(sceneKey)) in <lambda>()
340 fun resolveSceneFamilyOrNull(sceneKey: SceneKey): StateFlow<SceneKey>? = in <lambda>()
341 sceneFamilyResolvers.get()[sceneKey]?.resolvedScene in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DSceneWindowRootViewBinder.kt72 containerConfig.sceneKeys.forEach { sceneKey -> in <lambda>() method
74 checkNotNull(unsortedSceneByKey[sceneKey]) { in <lambda>()
75 "Scene not found for key \"$sceneKey\"!" in <lambda>()
78 put(sceneKey, scene) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeViewProviderModule.kt288 .forEach { sceneKey -> in <lambda>() method
289 if (keys.contains(sceneKey)) { in <lambda>()
290 duplicates.add(sceneKey) in <lambda>()
292 keys.add(sceneKey) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/model/
DSceneContainerPlugin.kt61 return currentSceneOrNull?.let { sceneKey -> in <lambda>() method
64 scene = sceneKey, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartable.kt472 ) { sceneKey, invisibleDueToOcclusion -> in <lambda>() method
474 scene = sceneKey, in <lambda>()
497 .collect { sceneKey -> in <lambda>() method
498 windowController.setNotificationShadeFocusable(sceneKey != Scenes.Gone) in <lambda>()
596 .map { sceneKey -> in <lambda>() method
597 when (sceneKey) { in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutImpl.kt235 fun maybeAdd(sceneKey: SceneKey) { in <lambda>()
236 if (visited.add(sceneKey)) { in <lambda>()
237 add(scene(sceneKey)) in <lambda>()
DScene.kt97 override val sceneKey: SceneKey = scene.key in <lambda>() constant
DSceneTransitionLayout.kt171 val sceneKey: SceneKey constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewConfigurator.kt115 private val sceneKey = SceneKey("root-view-scene-key") constant
233 currentScene = sceneKey, in createLockscreen()
237 scene(sceneKey) { in createLockscreen()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/log/
DCommunalLoggerStartableTest.kt205 private fun idle(sceneKey: SceneKey): ObservableTransitionState.Idle { in idle()
206 return ObservableTransitionState.Idle(sceneKey) in idle()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartableTest.kt440 .forEachIndexed { index, sceneKey -> in <lambda>() method
441 if (sceneKey == Scenes.Gone) { in <lambda>()
448 sceneInteractor.changeScene(sceneKey, "reason") in <lambda>()
452 fakeSceneDataSource.unpause(expectedScene = sceneKey) in <lambda>()
456 transitionStateFlow.value = ObservableTransitionState.Idle(sceneKey) in <lambda>()
622 .forEach { sceneKey -> in <lambda>() method
623 sceneInteractor.changeScene(sceneKey, "reason") in <lambda>()
645 .forEach { sceneKey -> in <lambda>() method
646 sceneInteractor.changeScene(sceneKey, "reason") in <lambda>()
664 .forEach { sceneKey -> in <lambda>() method
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutTest.kt511 scene(SceneA) { keyInA = sceneKey } in sceneKeyInScope()
512 scene(SceneB) { keyInB = sceneKey } in sceneKeyInScope()
513 scene(SceneC) { keyInC = sceneKey } in sceneKeyInScope()
DAnimatedSharedAsStateTest.kt407 .collect { lastValues.getOrPut(key) { mutableMapOf() }[sceneKey] = it } in <lambda>()
467 snapshotFlow { animatedValue.value }.collect { lastValues[sceneKey] = it } in animatedValueDoesNotOverscrollWhenOverscrollIsSpecified()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryInteractorTest.kt639 private fun switchToScene(sceneKey: SceneKey) { in <lambda>()
640 sceneInteractor.changeScene(sceneKey, "reason") in <lambda>()