Home
last modified time | relevance | path

Searched refs:delta2 (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DLinearInterpolatorTest.java91 final float delta2 = interpolator.getInterpolation(0.2f) in testGetInterpolation() local
95 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation()
96 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation()
135 final float delta2 = alpha3 - alpha2; in testLinearInterpolator() local
139 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator()
140 assertEquals(delta2, delta3, ALPHA_DELTA); in testLinearInterpolator()
DCycleInterpolatorTest.java127 final float delta2 = alpha3 - alpha2; in testCycleInterpolator() local
133 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator()
134 assertEquals(delta2, delta3, ALPHA_DELTA); in testCycleInterpolator()
212 assertEquals(delta6, delta2, ALPHA_DELTA); in testCycleInterpolator()
216 assertEquals(delta10, delta2, ALPHA_DELTA); in testCycleInterpolator()
234 final float delta2 = out3 - out2; in testGetInterpolation() local
245 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation()
246 assertEquals(delta2, delta3, ALPHA_DELTA); in testGetInterpolation()
DDecelerateInterpolatorTest.java136 float delta2 = alpha3 - alpha2; in testDecelerateInterpolator() local
139 assertTrue(delta1 > delta2); in testDecelerateInterpolator()
140 assertTrue(delta2 > delta3); in testDecelerateInterpolator()
189 float delta2 = interpolator2.getInterpolation(input); in testGetInterpolation() local
192 assertTrue(delta2 > delta1); in testGetInterpolation()
DAccelerateDecelerateInterpolatorTest.java128 float delta2 = alpha3 - alpha2; in testAccelerateDecelerateInterpolator() local
131 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator()
147 float delta2 = alpha3 - alpha2; in testGetInterpolation() local
150 assertTrue(delta1 < delta2); in testGetInterpolation()
DAccelerateInterpolatorTest.java133 float delta2 = alpha3 - alpha2; in testAccelerateInterpolator() local
136 assertTrue(delta1 < delta2); in testAccelerateInterpolator()
137 assertTrue(delta2 < delta3); in testAccelerateInterpolator()
186 float delta2 = interpolator2.getInterpolation(input);
189 assertTrue(delta2 < delta1);
DLayoutAnimationControllerTest.java310 float delta2 = alpha3 - alpha2;
314 assertTrue(delta1 < delta2);
315 assertTrue(delta2 < delta3);
318 assertTrue(delta1 > delta2);
319 assertTrue(delta2 > delta3);
337 long delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset();
338 assertTrue(delta2 < delta1);
350 delta2 = childAnimation3.getStartOffset() - childAnimation2.getStartOffset();
351 assertTrue(delta2 > delta1);
DAnimationTest.java298 float delta2 = alpha3 - alpha2; in testRepeatAnimation() local
302 assertTrue(delta1 > delta2); in testRepeatAnimation()
343 delta2 = alpha3 - alpha2; in testRepeatAnimation()
347 assertTrue(delta1 > delta2); in testRepeatAnimation()
467 float delta2 = alpha3 - alpha2; in testGetTransformation() local
470 assertTrue(delta1 < delta2); in testGetTransformation()
471 assertTrue(delta2 < delta3); in testGetTransformation()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java367 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument
368 testPath(delta1, delta2, gestureId, Display.DEFAULT_DISPLAY); in testPath()
375 private void testPath(Point delta1, Point delta2, int gestureId, int displayId) { in testPath() argument
377 int numPathSegments = (delta2 == null) ? 1 : 2; in testPath()
381 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath()
412 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument
416 if (delta2 != null) { in linePath()
417 path.lineTo(startPoint.x + delta2.x, startPoint.y + delta2.y); in linePath()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java452 final double delta2 = jitterMs - mMeanJitterMs; in add() local
453 mSecondMomentJitterMs += delta * delta2; in add()