Home
last modified time | relevance | path

Searched refs:SceneStack (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/model/
DSceneStack.kt22 sealed interface SceneStack interface
24 private data object EmptyStack : SceneStack
26 private data class StackedNodes(val head: SceneKey, val tail: SceneStack) : SceneStack
29 fun SceneStack.peek(): SceneKey? = in SceneStack() method
36 fun SceneStack.pop(): SceneStack? = in SceneStack() method
43 fun SceneStack.push(sceneKey: SceneKey): SceneStack = StackedNodes(sceneKey, this) in SceneStack() method
46 fun SceneStack.asIterable(): Iterable<SceneKey> = Iterable { in SceneStack() method
62 fun sceneStackOf(vararg scenes: SceneKey): SceneStack { in sceneStackOf()
63 var result: SceneStack = EmptyStack in sceneStackOf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneBackInteractor.kt21 import com.android.systemui.scene.data.model.SceneStack in <lambda>()
45 val backStack: StateFlow<SceneStack> = _backStack.asStateFlow() in <lambda>()