Home
last modified time | relevance | path

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

/cts/tests/tests/transition/src/android/transition/cts/
DArcMotionTest.java34 ArcMotion arcMotion = new ArcMotion(); in test90Quadrants() local
35 arcMotion.setMaximumAngle(90); in test90Quadrants()
38 Path path = arcMotion.getPath(0, 100, 100, 0); in test90Quadrants()
42 path = arcMotion.getPath(100, 0, 0, -100); in test90Quadrants()
46 path = arcMotion.getPath(0, -100, -100, 0); in test90Quadrants()
50 path = arcMotion.getPath(-100, 0, 0, 100); in test90Quadrants()
57 ArcMotion arcMotion = new ArcMotion(); in test345Triangles() local
58 arcMotion.setMaximumAngle(90); in test345Triangles()
63 path = arcMotion.getPath(0, 120, 160, 0); in test345Triangles()
67 path = arcMotion.getPath(0, 160, 120, 0); in test345Triangles()
[all …]
DTransitionInflaterTest.java206 ArcMotion arcMotion = (ArcMotion) motion; in verifyArcMotion() local
207 assertEquals(1f, arcMotion.getMinimumVerticalAngle(), 0.01f); in verifyArcMotion()
208 assertEquals(2f, arcMotion.getMinimumHorizontalAngle(), 0.01f); in verifyArcMotion()
209 assertEquals(53f, arcMotion.getMaximumAngle(), 0.01f); in verifyArcMotion()