Home
last modified time | relevance | path

Searched refs:SceneKey (Results 1 – 25 of 112) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
DScenes.kt19 import com.android.compose.animation.scene.SceneKey
31 @JvmField val Bouncer = SceneKey("bouncer")
34 @JvmField val Communal = SceneKey("communal")
40 @JvmField val Gone = SceneKey("gone")
43 @JvmField val Lockscreen = SceneKey("lockscreen")
57 @JvmField val NotificationsShade = SceneKey("notifications_shade")
73 @JvmField val QuickSettings = SceneKey("quick_settings")
86 @JvmField val QuickSettingsShade = SceneKey("quick_settings_shade")
98 @JvmField val Shade = SceneKey("shade")
112 @JvmField val Home = SceneKey(debugName = "scene_family_home")
[all …]
DSceneDataSourceDelegator.kt21 import com.android.compose.animation.scene.SceneKey in <lambda>()
43 override val currentScene: StateFlow<SceneKey> = in <lambda>()
52 override fun changeScene(toScene: SceneKey, transitionKey: TransitionKey?) { in <lambda>()
59 override fun snapToScene(toScene: SceneKey) { in <lambda>()
80 initialSceneKey: SceneKey, in <lambda>()
82 override val currentScene: StateFlow<SceneKey> = in <lambda>()
85 override fun changeScene(toScene: SceneKey, transitionKey: TransitionKey?) = Unit in <lambda>()
87 override fun snapToScene(toScene: SceneKey) = Unit in <lambda>()
DSceneDataSource.kt19 import com.android.compose.animation.scene.SceneKey
33 val currentScene: StateFlow<SceneKey>
40 toScene: SceneKey,
48 toScene: SceneKey,
DSceneContainerConfig.kt19 import com.android.compose.animation.scene.SceneKey
32 val sceneKeys: List<SceneKey>,
38 val initialSceneKey: SceneKey,
56 val navigationDistances: Map<SceneKey, Int>
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DSceneTransitionLayoutState.kt82 fun isTransitioning(from: SceneKey? = null, to: SceneKey? = null): Boolean in <lambda>()
85 fun isTransitioningBetween(scene: SceneKey, other: SceneKey): Boolean in <lambda>()
118 targetScene: SceneKey, in setTargetScene()
124 fun snapToScene(scene: SceneKey) in setTargetScene()
140 initialScene: SceneKey, in setTargetScene()
142 canChangeScene: (SceneKey) -> Boolean = { true }, in setTargetScene()
175 currentScene: SceneKey, in updateSceneTransitionLayoutState()
176 onChangeScene: (SceneKey) -> Unit, in updateSceneTransitionLayoutState()
178 canChangeScene: (SceneKey) -> Boolean = { true }, in updateSceneTransitionLayoutState()
215 val currentScene: SceneKey
[all …]
DObservableTransitionState.kt42 fun currentScene(): Flow<SceneKey> { in currentScene()
50 data class Idle(val currentScene: SceneKey) : ObservableTransitionState
54 val fromScene: SceneKey,
55 val toScene: SceneKey,
56 val currentScene: Flow<SceneKey>,
87 fun isIdle(scene: SceneKey?): Boolean { in toString()
91 fun isTransitioning(from: SceneKey? = null, to: SceneKey? = null): Boolean { in isTransitioning()
DSceneTransitions.kt51 SceneKey, MutableMap<SceneKey, MutableMap<TransitionKey?, TransitionSpecImpl>> in <lambda>()
55 mutableMapOf<SceneKey, MutableMap<Orientation, OverscrollSpecImpl?>>() in <lambda>()
58 from: SceneKey, in <lambda>()
59 to: SceneKey, in <lambda>()
68 private fun findSpec(from: SceneKey, to: SceneKey, key: TransitionKey?): TransitionSpecImpl { in <lambda>()
95 from: SceneKey, in <lambda>()
96 to: SceneKey, in <lambda>()
112 private fun defaultTransition(from: SceneKey, to: SceneKey) = in <lambda>()
115 internal fun overscrollSpec(scene: SceneKey, orientation: Orientation): OverscrollSpecImpl? = in <lambda>()
121 scene: SceneKey, in <lambda>()
[all …]
DTransitionDsl.kt60 to: SceneKey, in to()
79 from: SceneKey, in from()
80 to: SceneKey? = null, in from()
93 scene: SceneKey, in overscroll()
229 ): SceneKey? in sceneDuringTransition()
241 scenes: Set<SceneKey>, in sceneDuringTransition()
244 ): SceneKey? { in sceneDuringTransition()
271 ): SceneKey { in sceneDuringTransition()
287 ): SceneKey { in sceneDuringTransition()
310 class MovableElementScenePicker(private val scenes: Set<SceneKey>) : ElementScenePicker {
[all …]
DInterruptionHandler.kt39 newTargetScene: SceneKey, in onInterruption()
62 val animateFrom: SceneKey, in onInterruption()
78 newTargetScene: SceneKey, in onInterruption()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DFakeSceneDataSource.kt19 import com.android.compose.animation.scene.SceneKey
26 initialSceneKey: SceneKey,
30 override val currentScene: StateFlow<SceneKey> = _currentScene.asStateFlow()
34 var pendingScene: SceneKey? = null
37 override fun changeScene(toScene: SceneKey, transitionKey: TransitionKey?) { in changeScene()
45 override fun snapToScene(toScene: SceneKey) { in snapToScene()
72 expectedScene: SceneKey? = null, in unpause()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneInteractor.kt20 import com.android.compose.animation.scene.SceneKey in <lambda>()
60 private val sceneFamilyResolvers: Lazy<Map<SceneKey, @JvmSuppressWildcards SceneResolver>>, in <lambda>()
71 fun onSceneAboutToChange(toScene: SceneKey, sceneState: Any?) in <lambda>()
82 val currentScene: StateFlow<SceneKey> = in <lambda>()
114 val transitioningTo: StateFlow<SceneKey?> = in <lambda>()
165 fun transitionProgress(scene: SceneKey): Flow<Float> { in <lambda>()
188 fun allSceneKeys(): List<SceneKey> { in <lambda>()
205 toScene: SceneKey, in <lambda>()
240 toScene: SceneKey, in <lambda>()
332 fun resolveSceneFamily(sceneKey: SceneKey): Flow<SceneKey> = flow { in <lambda>()
[all …]
DSceneBackInteractor.kt19 import com.android.compose.animation.scene.SceneKey in <lambda>()
57 val backScene: Flow<SceneKey?> = backStack.map { it.peek() } in <lambda>()
59 fun onSceneChange(from: SceneKey, to: SceneKey) { in <lambda>()
83 private fun stackOperation(from: SceneKey, to: SceneKey): StackOperation { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt19 import com.android.compose.animation.scene.SceneKey
26 private data class StackedNodes(val head: SceneKey, val tail: SceneStack) : SceneStack
29 fun SceneStack.peek(): SceneKey? = in SceneStack()
43 fun SceneStack.push(sceneKey: SceneKey): SceneStack = StackedNodes(sceneKey, this) in SceneStack()
46 fun SceneStack.asIterable(): Iterable<SceneKey> = Iterable { in SceneStack()
62 fun sceneStackOf(vararg scenes: SceneKey): SceneStack { in sceneStackOf()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transition/link/
DStateLink.kt20 import com.android.compose.animation.scene.SceneKey
38 val sourceFrom: SceneKey?,
39 val sourceTo: SceneKey?,
40 val targetFrom: SceneKey?,
41 val targetTo: SceneKey,
57 internal fun targetIsInValidState(targetCurrentScene: SceneKey): Boolean { in targetIsInValidState()
DLinkedTransition.kt19 import com.android.compose.animation.scene.SceneKey
27 fromScene: SceneKey,
28 toScene: SceneKey,
32 override val currentScene: SceneKey
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/resolver/
DSceneResolver.kt19 import com.android.compose.animation.scene.SceneKey
28 val targetFamily: SceneKey
31 val resolvedScene: StateFlow<SceneKey>
34 fun includesScene(scene: SceneKey): Boolean in includesScene()
46 ): Map<SceneKey, SceneResolver> = resolverSet.associateBy { it.targetFamily } in includesScene()
DHomeSceneFamilyResolver.kt21 import com.android.compose.animation.scene.SceneKey
49 override val targetFamily: SceneKey = SceneFamilies.Home
51 override val resolvedScene: StateFlow<SceneKey> =
69 override fun includesScene(scene: SceneKey): Boolean = scene in homeScenes in includesScene()
75 ): SceneKey = in includesScene()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransition.kt28 from: SceneKey, in transition()
29 to: SceneKey, in transition()
30 current: () -> SceneKey = { from }, in transition()
37 bouncingScene: SceneKey? = null,
42 override val currentScene: SceneKey
54 override val bouncingScene: SceneKey? = bouncingScene
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSceneRepository.kt20 import com.android.compose.animation.scene.SceneKey in <lambda>()
46 val currentScene: StateFlow<SceneKey> in <lambda>()
52 fun changeScene(toScene: SceneKey, transitionKey: TransitionKey? = null) in <lambda>()
55 fun snapToScene(toScene: SceneKey, delayMillis: Long = 0) in <lambda>()
75 override val currentScene: StateFlow<SceneKey> = sceneDataSource.currentScene
88 override fun changeScene(toScene: SceneKey, transitionKey: TransitionKey?) { in changeScene()
96 override fun snapToScene(toScene: SceneKey, delayMillis: Long) { in snapToScene()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/data/repository/
DSceneContainerRepositoryUtil.kt20 import com.android.compose.animation.scene.SceneKey
44 from: SceneKey, in Transition()
45 to: SceneKey, in Transition()
46 currentScene: Flow<SceneKey> = flowOf(to), in Transition()
61 fun Idle(currentScene: SceneKey): ObservableTransitionState.Idle { in Idle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/logger/
DSceneLogger.kt19 import com.android.compose.animation.scene.SceneKey
46 from: SceneKey, in logSceneChangeRequested()
47 to: SceneKey, in logSceneChangeRequested()
73 from: SceneKey, in logSceneChangeCommitted()
74 to: SceneKey, in logSceneChangeCommitted()
128 fun logSceneBackStack(backStack: Iterable<SceneKey>) { in logSceneBackStack()
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt80 fun onElement(element: ElementKey, scene: SceneKey? = null): SemanticsNodeInteraction in onElement()
93 fromScene: SceneKey = TestScenes.SceneA, in onElement()
94 toScene: SceneKey = TestScenes.SceneB, in onElement()
137 fromScene: SceneKey = TestScenes.SceneA, in MotionTestRule()
138 toScene: SceneKey = TestScenes.SceneB, in MotionTestRule()
180 from: SceneKey, in ComposeContentTestRule()
181 to: SceneKey, in ComposeContentTestRule()
185 currentScene: SceneKey, in ComposeContentTestRule()
186 onChangeScene: (SceneKey) -> Unit, in ComposeContentTestRule()
195 scene: SceneKey? in ComposeContentTestRule()
DTestValues.kt26 val SceneA = SceneKey("SceneA")
27 val SceneB = SceneKey("SceneB")
28 val SceneC = SceneKey("SceneC")
29 val SceneD = SceneKey("SceneD")
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredTranslate.kt24 import com.android.compose.animation.scene.SceneKey
35 scene: SceneKey, in transform()
41 fun throwException(scene: SceneKey?): Nothing { in transform()
50 fun anchorOffsetIn(scene: SceneKey): Offset? { in transform()
80 scene: SceneKey?, in throwMissingAnchorException()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/shared/model/
DCommunalScenes.kt19 import com.android.compose.animation.scene.SceneKey
24 @JvmField val Blank = SceneKey("blank")
27 @JvmField val Communal = SceneKey("communal")

12345