Home
last modified time | relevance | path

Searched refs:MAX_DELTA (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java189 final double MAX_DELTA = 0.05; in runThroughputTest() local
190 if (delta > MAX_DELTA) { in runThroughputTest()
191 throw new RuntimeException("Time delta exceeds tolerance (" + MAX_DELTA + in runThroughputTest()
DHeifWriterTest.java649 final float MAX_DELTA = 0.025f; in approxEquals() local
650 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()
651 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()
652 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
DEncodeVirtualDisplayTest.java524 final int MAX_DELTA = 7; in approxEquals() local
525 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()
DMediaMetadataRetrieverTest.java1098 final float MAX_DELTA = 0.025f; in approxEquals() local
1099 return (Math.abs(expected.red() - actual.red()) <= MAX_DELTA) in approxEquals()
1100 && (Math.abs(expected.green() - actual.green()) <= MAX_DELTA) in approxEquals()
1101 && (Math.abs(expected.blue() - actual.blue()) <= MAX_DELTA); in approxEquals()
DEncodeDecodeTest.java1372 final int MAX_DELTA = 8; in isColorClose() local
1377 return (delta <= MAX_DELTA); in isColorClose()
DEncodeVirtualDisplayWithCompositionTestImpl.java431 final int MAX_DELTA = 17; in approxEquals() local
432 return Math.abs(expected - actual) <= MAX_DELTA; in approxEquals()