/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 | 123 float delta1 = alpha2 - alpha1; in testDecelerateInterpolator() local 127 assertTrue(delta1 > delta2); in testDecelerateInterpolator() 166 assertTrue(delta5 > delta1); in testDecelerateInterpolator() 176 float delta1 = interpolator1.getInterpolation(input); in testGetInterpolation() local 180 assertTrue(delta2 > delta1); in testGetInterpolation()
|
D | LinearInterpolatorTest.java | 77 final float delta1 = interpolator.getInterpolation(0.1f) in testGetInterpolation() local 83 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation() 122 final float delta1 = alpha2 - alpha1; in testLinearInterpolator() local 127 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator()
|
D | AccelerateDecelerateInterpolatorTest.java | 115 float delta1 = alpha2 - alpha1; in testAccelerateDecelerateInterpolator() local 119 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator() 134 float delta1 = alpha2 - alpha1; in testGetInterpolation() local 138 assertTrue(delta1 < delta2); in testGetInterpolation()
|
D | AccelerateInterpolatorTest.java | 120 float delta1 = alpha2 - alpha1; in testAccelerateInterpolator() local 124 assertTrue(delta1 < delta2); in testAccelerateInterpolator() 163 assertTrue(delta5 < delta1); in testAccelerateInterpolator() 173 float delta1 = interpolator1.getInterpolation(input); 177 assertTrue(delta2 < delta1);
|
D | CycleInterpolatorTest.java | 114 final float delta1 = alpha2 - alpha1; in testCycleInterpolator() local 121 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator() 199 assertEquals(delta5, delta1, ALPHA_DELTA); in testCycleInterpolator() 203 assertEquals(delta9, delta1, ALPHA_DELTA); in testCycleInterpolator() 221 final float delta1 = out2 - out1; in testGetInterpolation() local 233 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation()
|
D | LayoutAnimationControllerTest.java | 297 float delta1 = alpha2 - alpha1; 302 assertTrue(delta1 < delta2); 306 assertTrue(delta1 > delta2); 324 long delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset(); 326 assertTrue(delta2 < delta1); 337 delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset(); 339 assertTrue(delta2 > delta1);
|
D | AnimationTest.java | 286 float delta1 = alpha2 - alpha1; in testRepeatAnimation() local 291 assertTrue(delta1 > delta2); in testRepeatAnimation() 331 delta1 = alpha2 - 0.0f; in testRepeatAnimation() 336 assertTrue(delta1 > delta2); in testRepeatAnimation() 455 float delta1 = alpha2 - alpha1; in testGetTransformation() local 459 assertTrue(delta1 < delta2); in testGetTransformation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveTableFloatFiller.java | 77 float delta1 = 1.0f - delta0; in fill() local 78 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in fill()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDetectorTest.java | 151 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument 157 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath() 178 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument 181 path.lineTo(startPoint.x + delta1.x, startPoint.y + delta1.y); in linePath()
|