Home
last modified time | relevance | path

Searched refs:delta1 (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/media/audio/jni/
DWaveTableOscillator.cpp69 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/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DSparseChannelAudioSource.java66 float delta1 = 1.0f - delta0; in pull() local
67 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in pull()
DWaveTableSource.java127 float delta1 = 1.0f - delta0; in pull() local
128 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in pull()
/cts/tests/tests/view/src/android/view/animation/cts/
DDecelerateInterpolatorTest.java135 float delta1 = alpha2 - alpha1; in testDecelerateInterpolator() local
139 assertTrue(delta1 > delta2); in testDecelerateInterpolator()
178 assertTrue(delta5 > delta1); in testDecelerateInterpolator()
188 float delta1 = interpolator1.getInterpolation(input); in testGetInterpolation() local
192 assertTrue(delta2 > delta1); in testGetInterpolation()
DAccelerateDecelerateInterpolatorTest.java127 float delta1 = alpha2 - alpha1; in testAccelerateDecelerateInterpolator() local
131 assertTrue(delta1 < delta2); in testAccelerateDecelerateInterpolator()
146 float delta1 = alpha2 - alpha1; in testGetInterpolation() local
150 assertTrue(delta1 < delta2); in testGetInterpolation()
DLinearInterpolatorTest.java89 final float delta1 = interpolator.getInterpolation(0.1f) in testGetInterpolation() local
95 assertEquals(delta1, delta2, ALPHA_DELTA); in testGetInterpolation()
134 final float delta1 = alpha2 - alpha1; in testLinearInterpolator() local
139 assertEquals(delta1, delta2, ALPHA_DELTA); in testLinearInterpolator()
DAccelerateInterpolatorTest.java132 float delta1 = alpha2 - alpha1; in testAccelerateInterpolator() local
136 assertTrue(delta1 < delta2); in testAccelerateInterpolator()
175 assertTrue(delta5 < delta1); in testAccelerateInterpolator()
185 float delta1 = interpolator1.getInterpolation(input);
189 assertTrue(delta2 < delta1);
DCycleInterpolatorTest.java126 final float delta1 = alpha2 - alpha1; in testCycleInterpolator() local
133 assertEquals(delta1, -delta2, ALPHA_DELTA); in testCycleInterpolator()
211 assertEquals(delta5, delta1, ALPHA_DELTA); in testCycleInterpolator()
215 assertEquals(delta9, delta1, ALPHA_DELTA); in testCycleInterpolator()
233 final float delta1 = out2 - out1; in testGetInterpolation() local
245 assertEquals(delta1, -delta2, ALPHA_DELTA); in testGetInterpolation()
DLayoutAnimationControllerTest.java309 float delta1 = alpha2 - alpha1;
314 assertTrue(delta1 < delta2);
318 assertTrue(delta1 > delta2);
336 long delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset();
338 assertTrue(delta2 < delta1);
349 delta1 = childAnimation2.getStartOffset() - childAnimation1.getStartOffset();
351 assertTrue(delta2 > delta1);
DAnimationTest.java297 float delta1 = alpha2 - alpha1; in testRepeatAnimation() local
302 assertTrue(delta1 > delta2); in testRepeatAnimation()
342 delta1 = alpha2 - 0.0f; in testRepeatAnimation()
347 assertTrue(delta1 > delta2); in testRepeatAnimation()
466 float delta1 = alpha2 - alpha1; in testGetTransformation() local
470 assertTrue(delta1 < delta2); 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
381 linePath(mCenter, delta1, delta2), 0, pathDurationMs, false)) in testPath()
412 Path linePath(Point startPoint, Point delta1, Point delta2) { in linePath() argument
415 path.lineTo(startPoint.x + delta1.x, startPoint.y + delta1.y); in linePath()