Home | History | Annotate | Download | only in cts

Lines Matching refs:ramp

46  * VolumeShaperTest is automated using VolumeShaper.getVolume() to verify that a ramp
58 // ramp or duck time (duration) used in tests.
78 // Duck configurations go from 1.f down to 0.2f (not full ramp down).
87 // Ramp configurations go from 0.f up to 1.f
118 // a step ramp is not continuous, so we have a different test for it.
138 // this ramp should result in non-monotonic behavior with a typical cubic spline.
332 float[] ramp = new float[points];
335 ramp[i] = i * fscale;
337 ramp[points - 1] = 1.f;
340 .setCurve(ramp, ramp)
433 VolumeShaper.Configuration ramp;
434 ramp = new VolumeShaper.Configuration.Builder(testRamp).build();
435 checkEqual(TEST_NAME, testRamp, ramp);
437 ramp = new VolumeShaper.Configuration.Builder(testRamp)
440 checkNotEqual(TEST_NAME, testRamp, ramp);
442 ramp = new VolumeShaper.Configuration.Builder(testRamp).build();
443 checkEqual(TEST_NAME, testRamp, ramp);
445 ramp = new VolumeShaper.Configuration.Builder(testRamp)
448 checkNotEqual(TEST_NAME, testRamp, ramp);
450 ramp = new VolumeShaper.Configuration.Builder(testRamp)
454 checkEqual(TEST_NAME, testRamp, ramp);
456 ramp = new VolumeShaper.Configuration.Builder(testRamp)
459 checkNotEqual(TEST_NAME, testRamp, ramp);
461 ramp = new VolumeShaper.Configuration.Builder(testRamp)
465 checkEqual(TEST_NAME, testRamp, ramp);
468 ramp = new VolumeShaper.Configuration.Builder(testRamp)
471 checkNotEqual(TEST_NAME, testRamp, ramp);
473 ramp = new VolumeShaper.Configuration.Builder(testRamp)
477 checkEqual(TEST_NAME, testRamp, ramp);
479 ramp = new VolumeShaper.Configuration.Builder(testRamp)
485 checkEqual(TEST_NAME, testRamp, ramp);
755 assertEquals(testName + " linear ramp should continue on join",
897 // We test that the step ramp persists on value until the next control point.
1025 // Ramp configurations go from 0.f up to 1.f, Duck from 1.f to 0.f
1046 + " first ramp value should be 0.f, but is " + firstVolumeRamp,
1058 + " no-play ramp value should be 0.f, but is " + lastVolumeRamp,
1075 + " last ramp value should be > 0.f " + lastVolumeRamp2,
1088 + " last ramp value should be 1.f, but is " + lastVolumeRamp3,
1127 Log.d(TAG, testName + " starting volume, should ramp up");
1272 Log.d(TAG, testName + " Ramp from start (volume should increase)");
1280 Log.d(TAG, testName + " Reverse ramp (volume should decrease)");
1286 Log.d(TAG, testName + " Replace ramp with join in REVERSE (volume steady)");
1296 Log.d(TAG, testName + " Play joined ramp (volume should increase)");
1301 Log.d(TAG, testName + " Reverse joined ramp (volume should decrease)");
1307 Log.d(TAG, testName + " Joined ramp at start (volume same as at join)");
1309 assertEquals(testName + " volume should be same as start for joined ramp",