HomeSort by relevance Sort by last modified time
    Searched refs:arcMotion (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/transition/src/android/transition/cts/
ArcMotionTest.java 21 import android.transition.ArcMotion;
34 ArcMotion arcMotion = new ArcMotion();
35 arcMotion.setMaximumAngle(90);
38 Path path = arcMotion.getPath(0, 100, 100, 0);
42 path = arcMotion.getPath(100, 0, 0, -100);
46 path = arcMotion.getPath(0, -100, -100, 0);
50 path = arcMotion.getPath(-100, 0, 0, 100);
57 ArcMotion arcMotion = new ArcMotion()
    [all...]
TransitionInflaterTest.java 27 import android.transition.ArcMotion;
205 assertTrue(motion instanceof ArcMotion);
206 ArcMotion arcMotion = (ArcMotion) motion;
207 assertEquals(1f, arcMotion.getMinimumVerticalAngle(), 0.01f);
208 assertEquals(2f, arcMotion.getMinimumHorizontalAngle(), 0.01f);
209 assertEquals(53f, arcMotion.getMaximumAngle(), 0.01f);

Completed in 128 milliseconds