/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LinearInterpolatorTest.java | 80 final float delta2 = interpolator.getInterpolation(0.2f) in testGetInterpolation() local 84 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation() 85 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation() 124 final float delta2 = alpha3 - alpha2; in testLinearInterpolator() local 128 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator() 129 assertEquals(delta2, delta3, ALPHA_DELTA); in testLinearInterpolator()
|
D | CycleInterpolatorTest.java | 116 final float delta2 = alpha3 - alpha2; in testCycleInterpolator() local 122 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator() 123 assertEquals(delta2, delta3, ALPHA_DELTA); in testCycleInterpolator() 201 assertEquals(delta6, delta2, ALPHA_DELTA); in testCycleInterpolator() 205 assertEquals(delta10, delta2, ALPHA_DELTA); in testCycleInterpolator() 223 final float delta2 = out3 - out2; in testGetInterpolation() local 234 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation() 235 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation()
|
D | DecelerateInterpolatorTest.java | 125 float delta2 = alpha3 - alpha2; in testDecelerateInterpolator() local 128 assertTrue(delta1 > delta2); in testDecelerateInterpolator() 129 assertTrue(delta2 > delta3); in testDecelerateInterpolator() 178 float delta2 = interpolator2.getInterpolation(input); in testGetInterpolation() local 181 assertTrue(delta2 > delta1); in testGetInterpolation()
|
D | AccelerateDecelerateInterpolatorTest.java | 117 float delta2 = alpha3 - alpha2; in testAccelerateDecelerateInterpolator() local 120 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator() 136 float delta2 = alpha3 - alpha2; in testGetInterpolation() local 139 assertTrue(delta1 < delta2); in testGetInterpolation()
|
D | AccelerateInterpolatorTest.java | 122 float delta2 = alpha3 - alpha2; in testAccelerateInterpolator() local 125 assertTrue(delta1 < delta2); in testAccelerateInterpolator() 126 assertTrue(delta2 < delta3); in testAccelerateInterpolator() 175 float delta2 = interpolator2.getInterpolation(input); 178 assertTrue(delta2 < delta1);
|
D | LayoutAnimationControllerTest.java | 299 float delta2 = alpha3 - alpha2; 303 assertTrue(delta1 < delta2); 304 assertTrue(delta2 < delta3); 307 assertTrue(delta1 > delta2); 308 assertTrue(delta2 > delta3); 326 long delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset(); 327 assertTrue(delta2 < delta1); 339 delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset(); 340 assertTrue(delta2 > delta1);
|
D | AnimationTest.java | 288 float delta2 = alpha3 - alpha2; in testRepeatAnimation() local 292 assertTrue(delta1 > delta2); in testRepeatAnimation() 333 delta2 = alpha3 - alpha2; in testRepeatAnimation() 337 assertTrue(delta1 > delta2); in testRepeatAnimation() 457 float delta2 = alpha3 - alpha2; in testGetTransformation() local 460 assertTrue(delta1 < delta2); in testGetTransformation() 461 assertTrue(delta2 < delta3); in testGetTransformation()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 364 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument 365 testPath(delta1, delta2, gestureId, Display.DEFAULT_DISPLAY); in testPath() 372 private void testPath(Point delta1, Point delta2, int gestureId, int displayId) { in testPath() argument 374 int numPathSegments = (delta2 == null) ? 1 : 2; in testPath() 378 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath() 400 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument 404 if (delta2 != null) { in linePath() 405 path.lineTo(startPoint.x + delta2.x, startPoint.y + delta2.y); in linePath()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 410 final double delta2 = jitterMs - mMeanJitterMs; in add() local 411 mSecondMomentJitterMs += delta * delta2; in add()
|