/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LinearInterpolatorTest.java | 79 final float delta2 = interpolator.getInterpolation(0.2f) in testGetInterpolation() local 83 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation() 84 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation() 123 final float delta2 = alpha3 - alpha2; in testLinearInterpolator() local 127 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator() 128 assertEquals(delta2, delta3, ALPHA_DELTA); in testLinearInterpolator()
|
D | CycleInterpolatorTest.java | 115 final float delta2 = alpha3 - alpha2; in testCycleInterpolator() local 121 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator() 122 assertEquals(delta2, delta3, ALPHA_DELTA); in testCycleInterpolator() 200 assertEquals(delta6, delta2, ALPHA_DELTA); in testCycleInterpolator() 204 assertEquals(delta10, delta2, ALPHA_DELTA); in testCycleInterpolator() 222 final float delta2 = out3 - out2; in testGetInterpolation() local 233 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation() 234 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation()
|
D | DecelerateInterpolatorTest.java | 124 float delta2 = alpha3 - alpha2; in testDecelerateInterpolator() local 127 assertTrue(delta1 > delta2); in testDecelerateInterpolator() 128 assertTrue(delta2 > delta3); in testDecelerateInterpolator() 177 float delta2 = interpolator2.getInterpolation(input); in testGetInterpolation() local 180 assertTrue(delta2 > delta1); in testGetInterpolation()
|
D | AccelerateDecelerateInterpolatorTest.java | 116 float delta2 = alpha3 - alpha2; in testAccelerateDecelerateInterpolator() local 119 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator() 135 float delta2 = alpha3 - alpha2; in testGetInterpolation() local 138 assertTrue(delta1 < delta2); in testGetInterpolation()
|
D | AccelerateInterpolatorTest.java | 121 float delta2 = alpha3 - alpha2; in testAccelerateInterpolator() local 124 assertTrue(delta1 < delta2); in testAccelerateInterpolator() 125 assertTrue(delta2 < delta3); in testAccelerateInterpolator() 174 float delta2 = interpolator2.getInterpolation(input); 177 assertTrue(delta2 < delta1);
|
D | LayoutAnimationControllerTest.java | 298 float delta2 = alpha3 - alpha2; 302 assertTrue(delta1 < delta2); 303 assertTrue(delta2 < delta3); 306 assertTrue(delta1 > delta2); 307 assertTrue(delta2 > delta3); 325 long delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset(); 326 assertTrue(delta2 < delta1); 338 delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset(); 339 assertTrue(delta2 > delta1);
|
D | AnimationTest.java | 287 float delta2 = alpha3 - alpha2; in testRepeatAnimation() local 291 assertTrue(delta1 > delta2); in testRepeatAnimation() 332 delta2 = alpha3 - alpha2; in testRepeatAnimation() 336 assertTrue(delta1 > delta2); in testRepeatAnimation() 456 float delta2 = alpha3 - alpha2; in testGetTransformation() local 459 assertTrue(delta1 < delta2); in testGetTransformation() 460 assertTrue(delta2 < delta3); in testGetTransformation()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 151 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument 153 int numPathSegments = (delta2 == null) ? 1 : 2; in testPath() 157 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath() 178 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument 182 if (delta2 != null) { in linePath() 183 path.lineTo(startPoint.x + delta2.x, startPoint.y + delta2.y); in linePath()
|