/cts/tests/tests/media/libndkaudio/ |
D | WaveTableOscillator.cpp | 69 float delta1 = 1.0f - delta0; in getData() local 70 outBuff[dstIndex] = ((waveTable_[srcIndex] * delta1) in getData() 87 float delta1 = 1.0f - delta0; in getData() local 88 float out = ((waveTable_[srcIndex] * delta1) in getData()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | DecelerateInterpolatorTest.java | 124 float delta1 = alpha2 - alpha1; in testDecelerateInterpolator() local 128 assertTrue(delta1 > delta2); in testDecelerateInterpolator() 167 assertTrue(delta5 > delta1); in testDecelerateInterpolator() 177 float delta1 = interpolator1.getInterpolation(input); in testGetInterpolation() local 181 assertTrue(delta2 > delta1); in testGetInterpolation()
|
D | AccelerateDecelerateInterpolatorTest.java | 116 float delta1 = alpha2 - alpha1; in testAccelerateDecelerateInterpolator() local 120 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator() 135 float delta1 = alpha2 - alpha1; in testGetInterpolation() local 139 assertTrue(delta1 < delta2); in testGetInterpolation()
|
D | LinearInterpolatorTest.java | 78 final float delta1 = interpolator.getInterpolation(0.1f) in testGetInterpolation() local 84 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation() 123 final float delta1 = alpha2 - alpha1; in testLinearInterpolator() local 128 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator()
|
D | AccelerateInterpolatorTest.java | 121 float delta1 = alpha2 - alpha1; in testAccelerateInterpolator() local 125 assertTrue(delta1 < delta2); in testAccelerateInterpolator() 164 assertTrue(delta5 < delta1); in testAccelerateInterpolator() 174 float delta1 = interpolator1.getInterpolation(input); 178 assertTrue(delta2 < delta1);
|
D | CycleInterpolatorTest.java | 115 final float delta1 = alpha2 - alpha1; in testCycleInterpolator() local 122 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator() 200 assertEquals(delta5, delta1, ALPHA_DELTA); in testCycleInterpolator() 204 assertEquals(delta9, delta1, ALPHA_DELTA); in testCycleInterpolator() 222 final float delta1 = out2 - out1; in testGetInterpolation() local 234 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation()
|
D | LayoutAnimationControllerTest.java | 298 float delta1 = alpha2 - alpha1; 303 assertTrue(delta1 < delta2); 307 assertTrue(delta1 > delta2); 325 long delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset(); 327 assertTrue(delta2 < delta1); 338 delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset(); 340 assertTrue(delta2 > delta1);
|
D | AnimationTest.java | 287 float delta1 = alpha2 - alpha1; in testRepeatAnimation() local 292 assertTrue(delta1 > delta2); in testRepeatAnimation() 332 delta1 = alpha2 - 0.0f; in testRepeatAnimation() 337 assertTrue(delta1 > delta2); in testRepeatAnimation() 456 float delta1 = alpha2 - alpha1; in testGetTransformation() local 460 assertTrue(delta1 < delta2); in testGetTransformation()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | WaveTableSource.java | 125 float delta1 = 1.0f - delta0; in pull() local 126 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in pull()
|
/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 378 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath() 400 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument 403 path.lineTo(startPoint.x + delta1.x, startPoint.y + delta1.y); in linePath()
|