Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestValues.kt49 val TestTransitionDuration = 480L constant
54 spec = tween(durationMillis = TestTransitionDuration.toInt(), easing = LinearEasing) in <lambda>()
58 spec = tween(durationMillis = TestTransitionDuration.toInt(), easing = FastOutSlowInEasing) in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DSceneTransitionLayoutTest.kt207 rule.mainClock.advanceTimeBy(TestTransitionDuration / 2) in testTransitionState()
212 rule.mainClock.advanceTimeBy(TestTransitionDuration / 2 - 16) in testTransitionState()
213 assertThat(transition).hasProgress((TestTransitionDuration - 16) / 480f) in testTransitionState()
250 rule.mainClock.advanceTimeBy(TestTransitionDuration / 2) in testSharedElement()
279 rule.mainClock.advanceTimeBy(TestTransitionDuration / 2) in testSharedElement()
303 rule.mainClock.advanceTimeBy(TestTransitionDuration) in testSharedElement()
DObservableTransitionStateTest.kt93 at(TestTransitionDuration / 2) { in <lambda>()