Home
last modified time | relevance | path

Searched refs:approxEquals (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java492 if (approxEquals(0, r) && approxEquals(0, g) && approxEquals(0, b)) { in checkSurfaceFrame()
502 if (approxEquals(testRed, r) && approxEquals(testGreen, g) && in checkSurfaceFrame()
503 approxEquals(testBlue, b)) { in checkSurfaceFrame()
515 private static boolean approxEquals(int expected, int actual) { in approxEquals() method in EncodeVirtualDisplayTest
DMediaMetadataRetrieverTest.java615 private static boolean approxEquals(Color expected, Color actual) { in approxEquals() method in MediaMetadataRetrieverTest
683 approxEquals(COLOR_BARS[barIndex], Color.valueOf( in testGetImage()
689 approxEquals(COLOR_BLOCK, Color.valueOf( in testGetImage()
698 approxEquals(COLOR_BLOCK, Color.valueOf( in testGetImage()
707 approxEquals(COLOR_BLOCK, Color.valueOf( in testGetImage()
DEncodeVirtualDisplayWithCompositionTest.java477 if (!approxEquals(redExpected, r) || !approxEquals(greenExpected, g) in checkRotatedFrameQuadrants()
478 || !approxEquals(blueExpected, b)) { in checkRotatedFrameQuadrants()
498 if (approxEquals(redExpected, r) && approxEquals(greenExpected, g) in checkSurfaceFrameColor()
499 && approxEquals(blueExpected, b)) { in checkSurfaceFrameColor()
510 private static boolean approxEquals(int expected, int actual) { in approxEquals() method in EncodeVirtualDisplayWithCompositionTest
DHeifWriterTest.java566 private static boolean approxEquals(Color expected, Color actual) { in approxEquals() method in HeifWriterTest
620 assertTrue("Color bar " + i + " doesn't match", approxEquals(COLOR_BARS[i], in verifyResult()
625 assertTrue("Color block doesn't match", approxEquals(COLOR_BLOCK, in verifyResult()