Searched refs:FLOAT_TOLERANCE (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | ParamsTest.java | 33 private static final float FLOAT_TOLERANCE = .00001f; field in ParamsTest 59 && p.getTolerance() < MAX_DEFAULT_TOLERANCE + FLOAT_TOLERANCE); in testSyncParamsDefaults() 106 assertEquals(f, p.getTolerance(), FLOAT_TOLERANCE); 122 assertEquals(lastValue, p.getTolerance(), FLOAT_TOLERANCE); 145 assertEquals(f, p.getFrameRate(), FLOAT_TOLERANCE); 161 assertEquals(.5f, p.getTolerance(), FLOAT_TOLERANCE); 170 assertEquals(.5f, p.getTolerance(), FLOAT_TOLERANCE); 183 assertEquals(25.f, p.getFrameRate(), FLOAT_TOLERANCE); 192 && p.getTolerance() < MAX_DEFAULT_TOLERANCE + FLOAT_TOLERANCE); 193 assertEquals(25.f, p.getFrameRate(), FLOAT_TOLERANCE); [all …]
|
D | MediaSyncTest.java | 67 private static final float FLOAT_TOLERANCE = .00001f; field in MediaSyncTest 194 assertEquals(rate, pbp.getSpeed(), FLOAT_TOLERANCE); in testSetPlaybackParamsSucceed()
|
D | MediaPlayerTest.java | 74 private static final float FLOAT_TOLERANCE = .0001f; field in MediaPlayerTest 863 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); 874 assertEquals(0.f, pbp.getSpeed(), FLOAT_TOLERANCE);
|