Home
last modified time | relevance | path

Searched refs:targetScene (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt362 fun animateTo(targetScene: Scene, targetOffset: Float) { in onStop()
368 if (targetScene != swipeTransition._currentScene) { in onStop()
369 swipeTransition._currentScene = targetScene in onStop()
371 draggableHandler.coroutineScope.onChangeScene(targetScene.key) in onStop()
379 targetScene = targetScene.key, in onStop()
393 var targetScene: Scene in onStop() variable
404 targetScene = toScene in onStop()
407 targetScene = fromScene in onStop()
412 targetScene != swipeTransition._currentScene && in onStop()
413 !layoutState.canChangeScene(targetScene.key) in onStop()
[all …]
DAnimateToScene.kt148 targetScene: SceneKey, in CoroutineScope()
162 fromScene = targetScene, in CoroutineScope()
164 currentScene = targetScene, in CoroutineScope()
172 toScene = targetScene, in CoroutineScope()
173 currentScene = targetScene, in CoroutineScope()
203 layoutState.finishTransition(transition, targetScene) in CoroutineScope()
DSceneTransitionLayoutState.kt118 targetScene: SceneKey, in setTargetScene()
779 targetScene: SceneKey, in setTargetScene()
787 target = targetScene, in setTargetScene()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt509 val targetScene = CommunalScenes.Communal in <lambda>() constant
510 communalRepository.changeScene(targetScene) in <lambda>()
513 assertThat(desiredScene()).isEqualTo(targetScene) in <lambda>()
519 val targetScene = CommunalScenes.Communal in <lambda>() constant
521 underTest.changeScene(targetScene) in <lambda>()
525 assertThat(desiredScene()).isEqualTo(targetScene) in <lambda>()
531 val targetScene = CommunalScenes.Blank in <lambda>() constant
532 val transitionProgressFlow = underTest.transitionProgressToScene(targetScene) in <lambda>()
537 ObservableTransitionState.Idle(targetScene) in <lambda>()
543 .isEqualTo(CommunalTransitionProgressModel.Idle(targetScene)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractor.kt103 fun transitionProgressToScene(targetScene: SceneKey) = in <lambda>()
110 if (state.toScene == targetScene) { in <lambda>()
DCommunalInteractor.kt230 fun transitionProgressToScene(targetScene: SceneKey) = in <lambda>()
231 communalSceneInteractor.transitionProgressToScene(targetScene) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt1518 val targetScene = CommunalScenes.Communal in dreamingToGlanceableHub() constant
1525 toScene = targetScene, in dreamingToGlanceableHub()
1526 currentScene = flowOf(targetScene), in dreamingToGlanceableHub()
1709 val targetScene = CommunalScenes.Communal in lockscreenToGlanceableHub() constant
1716 toScene = targetScene, in lockscreenToGlanceableHub()
1717 currentScene = flowOf(targetScene), in lockscreenToGlanceableHub()
1767 val targetScene = CommunalScenes.Blank in glanceableHubToLockscreen() constant
1774 toScene = targetScene, in glanceableHubToLockscreen()
1775 currentScene = flowOf(targetScene), in glanceableHubToLockscreen()
1948 val targetScene = CommunalScenes.Blank in glanceableHubToDreaming() constant
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneTransitionLayoutDataSource.kt60 targetScene = toScene, in changeScene()