Home
last modified time | relevance | path

Searched refs:TestScenes (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DTransitionDslTest.kt44 from(TestScenes.SceneA, to = TestScenes.SceneB) in manyTransitions()
45 from(TestScenes.SceneB, to = TestScenes.SceneC) in manyTransitions()
46 from(TestScenes.SceneC, to = TestScenes.SceneA) in manyTransitions()
54 from(TestScenes.SceneA, to = TestScenes.SceneB) in toFromBuilders()
55 from(TestScenes.SceneB) in toFromBuilders()
56 to(TestScenes.SceneC) in toFromBuilders()
67 TestScenes.SceneA to TestScenes.SceneB, in toFromBuilders()
68 TestScenes.SceneB to null, in toFromBuilders()
69 null to TestScenes.SceneC, in toFromBuilders()
75 val transitions = transitions { from(TestScenes.SceneA, to = TestScenes.SceneB) } in defaultTransitionSpec()
[all …]
DElementScenePickerTest.kt44 fromScene = TestScenes.SceneA, in highestZIndexPicker()
45 toScene = TestScenes.SceneB, in highestZIndexPicker()
48 onElement(key, TestScenes.SceneA).assertIsDisplayed() in highestZIndexPicker()
49 onElement(key, TestScenes.SceneB).assertDoesNotExist() in highestZIndexPicker()
53 onElement(key, TestScenes.SceneA).assertExists().assertIsNotDisplayed() in highestZIndexPicker()
54 onElement(key, TestScenes.SceneB).assertIsDisplayed() in highestZIndexPicker()
57 onElement(key, TestScenes.SceneA).assertDoesNotExist() in highestZIndexPicker()
58 onElement(key, TestScenes.SceneB).assertIsDisplayed() in highestZIndexPicker()
70 fromScene = TestScenes.SceneA, in lowestZIndexPicker()
71 toScene = TestScenes.SceneB, in lowestZIndexPicker()
[all …]
DMovableElementScenePickerTest.kt28 val picker = MovableElementScenePicker(scenes = setOf(TestScenes.SceneA, TestScenes.SceneB)) in toSceneInScenes()
32 transition(from = TestScenes.SceneA, to = TestScenes.SceneB), in toSceneInScenes()
37 .isEqualTo(TestScenes.SceneB) in toSceneInScenes()
42 val picker = MovableElementScenePicker(scenes = setOf(TestScenes.SceneA)) in fromSceneInScenes()
46 transition(from = TestScenes.SceneA, to = TestScenes.SceneB), in fromSceneInScenes()
51 .isEqualTo(TestScenes.SceneA) in fromSceneInScenes()
60 transition(from = TestScenes.SceneA, to = TestScenes.SceneB), in noneInScenes()
DSwipeToSceneTest.kt42 import com.android.compose.animation.scene.TestScenes.SceneA in <lambda>()
43 import com.android.compose.animation.scene.TestScenes.SceneB in <lambda>()
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>()
[all …]
DInterruptionHandlerTest.kt22 import com.android.compose.animation.scene.TestScenes.SceneA in <lambda>()
23 import com.android.compose.animation.scene.TestScenes.SceneB in <lambda>()
24 import com.android.compose.animation.scene.TestScenes.SceneC in <lambda>()
DObservableTransitionStateTest.kt25 import com.android.compose.animation.scene.TestScenes.SceneA in <lambda>()
26 import com.android.compose.animation.scene.TestScenes.SceneB in <lambda>()
DAnimatedSharedAsStateTest.kt38 import com.android.compose.animation.scene.TestScenes.SceneA
39 import com.android.compose.animation.scene.TestScenes.SceneB
40 import com.android.compose.animation.scene.TestScenes.SceneC
41 import com.android.compose.animation.scene.TestScenes.SceneD
DSceneTransitionLayoutStateTest.kt24 import com.android.compose.animation.scene.TestScenes.SceneA in <lambda>()
25 import com.android.compose.animation.scene.TestScenes.SceneB in <lambda>()
26 import com.android.compose.animation.scene.TestScenes.SceneC in <lambda>()
27 import com.android.compose.animation.scene.TestScenes.SceneD in <lambda>()
DSceneTransitionLayoutTest.kt52 import com.android.compose.animation.scene.TestScenes.SceneA
53 import com.android.compose.animation.scene.TestScenes.SceneB
54 import com.android.compose.animation.scene.TestScenes.SceneC
DDraggableHandlerTest.kt34 import com.android.compose.animation.scene.TestScenes.SceneA
35 import com.android.compose.animation.scene.TestScenes.SceneB
36 import com.android.compose.animation.scene.TestScenes.SceneC
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/transformation/
DSharedElementTest.kt33 import com.android.compose.animation.scene.TestScenes
68 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
70 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
75 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
77 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
82 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
84 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
89 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
91 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
105 fromScene = TestScenes.SceneA, in testSharedElementDisabled()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestValues.kt25 object TestScenes { object
53 from(TestScenes.SceneA, to = TestScenes.SceneB) { in <lambda>()
57 from(TestScenes.SceneB, to = TestScenes.SceneC) { in <lambda>()
61 from(TestScenes.SceneC, to = TestScenes.SceneA) { spec = snap() } in <lambda>()
DTestTransition.kt93 fromScene: SceneKey = TestScenes.SceneA, in onElement()
94 toScene: SceneKey = TestScenes.SceneB, in onElement()
137 fromScene: SceneKey = TestScenes.SceneA, in MotionTestRule()
138 toScene: SceneKey = TestScenes.SceneB, in MotionTestRule()