Home
last modified time | relevance | path

Searched refs:COLOR_BARS (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java79 private static Color[] COLOR_BARS = { field in HeifWriterTest
526 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
544 for (int i = 0; i < COLOR_BARS.length; i++) { in generateSurfaceFrame()
548 final Color color = COLOR_BARS[i]; in generateSurfaceFrame()
618 for (int i = 0; i < COLOR_BARS.length; i++) { in verifyResult()
620 assertTrue("Color bar " + i + " doesn't match", approxEquals(COLOR_BARS[i], in verifyResult()
DMediaMetadataRetrieverTest.java66 private static Color[] COLOR_BARS = { field in MediaMetadataRetrieverTest
623 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
679 for (int barIndex = 0; barIndex < COLOR_BARS.length; barIndex++) { in testGetImage()
683 approxEquals(COLOR_BARS[barIndex], Color.valueOf( in testGetImage()