Home
last modified time | relevance | path

Searched refs:snapToScene (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/
DSceneDataSourceDelegator.kt59 override fun snapToScene(toScene: SceneKey) { in <lambda>() method
60 delegateMutable.value.snapToScene( in <lambda>()
87 override fun snapToScene(toScene: SceneKey) = Unit in <lambda>() method
DSceneDataSource.kt47 fun snapToScene( method
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSceneRepository.kt55 fun snapToScene(toScene: SceneKey, delayMillis: Long = 0) in <lambda>() method
96 override fun snapToScene(toScene: SceneKey, delayMillis: Long) { in snapToScene() method
101 sceneDataSource.snapToScene(toScene) in snapToScene()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractor.kt59 fun snapToScene(newScene: SceneKey, delayMillis: Long = 0) { in <lambda>() method in com.android.systemui.communal.domain.interactor.CommunalSceneInteractor
60 communalSceneRepository.snapToScene(newScene, delayMillis) in <lambda>()
70 snapToScene(newScene, delayMillis) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneTransitionLayoutDataSource.kt66 override fun snapToScene(toScene: SceneKey) { in snapToScene() method in com.android.systemui.scene.ui.composable.SceneTransitionLayoutDataSource
67 state.snapToScene( in snapToScene()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/
DFakeCommunalSceneRepository.kt28 snapToScene(toScene, 0) in <lambda>()
30 override fun snapToScene(toScene: SceneKey, delayMillis: Long) { in <lambda>() method in com.android.systemui.communal.data.repository.FakeCommunalSceneRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/data/repository/
DSceneContainerRepository.kt92 fun snapToScene( in <lambda>() method
95 dataSource.snapToScene( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneInteractorTest.kt151 underTest.snapToScene(unknownScene, "reason") in snapToScene_toUnknownScene_doesNothing()
156 fun snapToScene() = in snapToScene() method in com.android.systemui.scene.domain.interactor.SceneInteractorTest
161 underTest.snapToScene(Scenes.Shade, "reason") in snapToScene()
176 underTest.snapToScene(Scenes.Gone, "reason") in snapToScene_toGoneWhenUnl_doesNotThrow()
182 testScope.runTest { underTest.snapToScene(Scenes.Gone, "reason") } in snapToScene_toGoneWhenStillLocked_throws()
189 underTest.snapToScene(SceneFamilies.Home, "reason") in snapToScene_toHomeSceneFamily()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalSceneInteractorTest.kt61 fun snapToScene() = in snapToScene() method
66 underTest.snapToScene(CommunalScenes.Communal) in snapToScene()
76 underTest.snapToScene( in snapToSceneWithDelay()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/data/repository/
DSceneContainerRepositoryTest.kt74 underTest.snapToScene(Scenes.QuickSettings) in currentScene()
89 underTest.snapToScene(Scenes.Shade) in snapToScene_noSuchSceneInContainer_throws()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DFakeSceneDataSource.kt45 override fun snapToScene(toScene: SceneKey) { in snapToScene() method
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DDraggableHandler.kt441 swipeTransition.snapToScene(fromScene.key) in onStop()
707 snapToScene(targetScene) in animateOffset()
749 snapToScene(targetScene) in animateOffset()
755 snapToScene(targetScene) in animateOffset()
763 fun snapToScene(scene: SceneKey) { in snapToScene() method in com.android.compose.animation.scene.SwipeTransition
DSceneTransitionLayoutState.kt124 fun snapToScene(scene: SceneKey) in setTargetScene() method
642 fun snapToScene(scene: SceneKey) { in snapToScene() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneInteractor.kt239 fun snapToScene( in <lambda>() method
269 repository.snapToScene(resolvedScene) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeControllerSceneImpl.kt94 sceneInteractor.snapToScene( in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutTest.kt518 rule.runOnUiThread { state.snapToScene(SceneB) } in sceneKeyInScope()
520 rule.runOnUiThread { state.snapToScene(SceneC) } in sceneKeyInScope()
DSceneTransitionLayoutStateTest.kt633 fun snapToScene() = runMonotonicClockTest { in <lambda>() method in com.android.compose.animation.scene.SceneTransitionLayoutStateTest
642 state.snapToScene(SceneC) in <lambda>()