Searched refs:SceneC (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | DraggableHandlerTest.kt | 36 import com.android.compose.animation.scene.TestScenes.SceneC 64 val mutableUserActionsA = mutableMapOf(Swipe.Up to SceneB, Swipe.Down to SceneC) 65 val mutableUserActionsB = mutableMapOf(Swipe.Up to SceneC, Swipe.Down to SceneA) 80 key = SceneC, in <lambda>() 294 assertTransition(currentScene = SceneC) in <lambda>() 298 assertIdle(currentScene = SceneC) in <lambda>() 327 toScene = SceneC, in onDragReversedDirection_changeToScene() 333 assertTransition(currentScene = SceneC, fromScene = SceneA, toScene = SceneC) in onDragReversedDirection_changeToScene() 337 assertIdle(currentScene = SceneC) in onDragReversedDirection_changeToScene() 356 currentScene = SceneC, in <lambda>() [all …]
|
D | InterruptionHandlerTest.kt | 24 import com.android.compose.animation.scene.TestScenes.SceneC in <lambda>() 47 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>() 56 Triple(SceneB, SceneC, SceneC), in <lambda>() 84 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>() 90 Triple(SceneB, SceneC, SceneC), in <lambda>() 129 state.setTargetScene(SceneC, coroutineScope = this) in <lambda>() 142 Triple(SceneA, SceneC, SceneC), in <lambda>()
|
D | SceneTransitionLayoutStateTest.kt | 26 import com.android.compose.animation.scene.TestScenes.SceneC in <lambda>() 104 val transition = state.setTargetScene(SceneC, coroutineScope = this) in <lambda>() 108 assertThat(state.transitionState).isEqualTo(TransitionState.Idle(SceneC)) in <lambda>() 150 parentInitialScene: SceneKey = SceneC, in <lambda>() 154 targetFrom: SceneKey? = SceneC, in <lambda>() 180 assertThat(parentState.isTransitioning(SceneC, SceneD)).isTrue() in <lambda>() 195 listOf(StateLink.TransitionLink(SceneC, SceneD, SceneB, SceneC)) in <lambda>() 199 MutableSceneTransitionLayoutState(SceneC, stateLinks = parentLink) in <lambda>() 205 listOf(StateLink.TransitionLink(SceneA, SceneB, SceneC, SceneD)) in <lambda>() 216 assertThat(parentState.isTransitioning(SceneC, SceneD)).isTrue() in <lambda>() [all …]
|
D | SwipeToSceneTest.kt | 94 Swipe.Down to TestScenes.SceneC, in <lambda>() 108 TestScenes.SceneC, in <lambda>() 183 assertThat(transition).hasToScene(TestScenes.SceneC) in <lambda>() 193 assertThat(transition).hasToScene(TestScenes.SceneC) in <lambda>() 194 assertThat(transition).hasCurrentScene(TestScenes.SceneC) in <lambda>() 201 assertThat(layoutState.transitionState).hasCurrentScene(TestScenes.SceneC) in <lambda>() 258 assertThat(transition).hasToScene(TestScenes.SceneC) in <lambda>() 259 assertThat(transition).hasCurrentScene(TestScenes.SceneC) in <lambda>() 265 assertThat(layoutState.transitionState).hasCurrentScene(TestScenes.SceneC) in <lambda>() 271 val layoutState = layoutState(TestScenes.SceneC) in <lambda>() [all …]
|
D | SceneTransitionLayoutTest.kt | 54 import com.android.compose.animation.scene.TestScenes.SceneC 112 scene(SceneC) { in TestContent() 276 currentScene = SceneC in testSharedElement() 288 sharedFoo = rule.onNode(isElement(TestElements.Foo, SceneC)) in testSharedElement() 305 assertThat(layoutState.transitionState).hasCurrentScene(SceneC) in testSharedElement() 388 from(SceneB, to = SceneC) { in multipleTransitionsWillComposeMultipleScenes() 397 scene(SceneC) { Box(Modifier.testTag("cRoot").fillMaxSize()) } in multipleTransitionsWillComposeMultipleScenes() 429 currentScene = SceneC in multipleTransitionsWillComposeMultipleScenes() 513 scene(SceneC) { keyInC = sceneKey } in sceneKeyInScope() 520 rule.runOnUiThread { state.snapToScene(SceneC) } in sceneKeyInScope() [all …]
|
D | TransitionDslTest.kt | 45 from(TestScenes.SceneB, to = TestScenes.SceneC) in manyTransitions() 46 from(TestScenes.SceneC, to = TestScenes.SceneA) in manyTransitions() 56 to(TestScenes.SceneC) in toFromBuilders() 69 null to TestScenes.SceneC, in toFromBuilders() 204 from(TestScenes.SceneA, to = TestScenes.SceneC) { swipeSpec = specFromAToC } in springSpec() 221 .transitionSpec(from = TestScenes.SceneA, to = TestScenes.SceneC, key = null) in springSpec()
|
D | AnimatedSharedAsStateTest.kt | 40 import com.android.compose.animation.scene.TestScenes.SceneC 418 scene(SceneC) { animateFloat(0f, bar) } in <lambda>() 435 state.startTransition(transition(from = SceneC, to = SceneD, progress = { 0.7f })) in <lambda>() 441 assertThat(lastValues[foo]?.get(SceneC)).isNull() in <lambda>() 446 assertThat(lastValues[bar]?.get(SceneC)).isWithin(0.001f).of(7f) in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/ |
D | TestValues.kt | 28 val SceneC = SceneKey("SceneC") constant 57 from(TestScenes.SceneB, to = TestScenes.SceneC) { in <lambda>() 61 from(TestScenes.SceneC, to = TestScenes.SceneA) { spec = snap() } in <lambda>()
|