Searched refs:approxEquals (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeVirtualDisplayTest.java | 488 if (approxEquals(0, r) && approxEquals(0, g) && approxEquals(0, b)) { in checkSurfaceFrame() 498 if (approxEquals(testRed, r) && approxEquals(testGreen, g) && in checkSurfaceFrame() 499 approxEquals(testBlue, b)) { in checkSurfaceFrame() 511 private static boolean approxEquals(int expected, int actual) { in approxEquals() method in EncodeVirtualDisplayTest
|
D | EncodeVirtualDisplayWithCompositionTest.java | 388 if (approxEquals(redExpected, r) && approxEquals(greenExpected, g) in checkSurfaceFrameColor() 389 && approxEquals(blueExpected, b)) { in checkSurfaceFrameColor() 400 private static boolean approxEquals(int expected, int actual) { in approxEquals() method in EncodeVirtualDisplayWithCompositionTest
|