Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DFakeSceneDataSource.kt29 private val _currentScene = MutableStateFlow(initialSceneKey) constant
30 override val currentScene: StateFlow<SceneKey> = _currentScene.asStateFlow()
41 _currentScene.value = toScene in changeScene()
77 pendingScene?.let { _currentScene.value = it } in unpause()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt109 val fromScene = swipeTransition._currentScene in onDrag()
298 swipeTransition._currentScene = fromScene in onDrag()
334 if (swipeTransition._currentScene != toScene || distance == DistanceUnspecified) { in computeFromSceneConsideringAcceleratedSwipe()
368 if (targetScene != swipeTransition._currentScene) { in onStop()
369 swipeTransition._currentScene = targetScene in onStop()
401 wasCommitted = swipeTransition._currentScene == toScene, in onStop()
412 targetScene != swipeTransition._currentScene && in onStop()
417 targetScene = swipeTransition._currentScene in onStop()
455 .apply { _currentScene = swipeTransition._currentScene } in onStop()
549 _currentScene = old._currentScene in SwipeTransition()
[all …]