Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt248 private fun runGestureTest(block: suspend TestGestureScope.() -> Unit) { in runGestureTest() method in com.android.compose.animation.scene.DraggableHandlerTest
257 @Test fun testPreconditions() = runGestureTest { assertIdle(currentScene = SceneA) } in <lambda>()
260 fun onDragStarted_shouldStartATransition() = runGestureTest { in <lambda>()
266 fun afterSceneTransitionIsStarted_interceptDragEvents() = runGestureTest { in <lambda>()
276 fun onDragStoppedAfterDrag_velocityLowerThanThreshold_remainSameScene() = runGestureTest { in <lambda>()
289 fun onDragStoppedAfterDrag_velocityAtLeastThreshold_goToNextScene() = runGestureTest { in <lambda>()
302 fun onDragStoppedAfterStarted_returnToIdle() = runGestureTest { in <lambda>()
312 fun onDragReversedDirection_changeToScene() = runGestureTest { in onDragReversedDirection_changeToScene()
341 fun onDragStartedWithoutActionsInBothDirections_stayIdle() = runGestureTest { in <lambda>()
350 fun onDragIntoNoAction_startTransitionToOppositeDirection() = runGestureTest { in <lambda>()
[all …]