Searched refs:approxEquals (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 492 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
|
D | MediaMetadataRetrieverTest.java | 615 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()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 477 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
|
D | HeifWriterTest.java | 566 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()
|