Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tests/scene0/
Dtest_tonemap_curve.py25 COLOR_BARS = ['WHITE', 'YELLOW', 'CYAN', 'GREEN', 'MAGENTA', 'RED', variable
45 n_bars = len(COLOR_BARS)
52 for color in COLOR_BARS:
56 assert set(color_match) == set(COLOR_BARS), 'RAW does not have all colors'
70 n_bars = len(COLOR_BARS)
/cts/tests/tests/media/src/android/media/cts/
DSurfaceEncodeTimestampTest.java56 private static final Color[] COLOR_BARS = { field in SurfaceEncodeTimestampTest
426 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
444 for (int i = 0; i < COLOR_BARS.length; i++) { in generateSurfaceFrame()
448 final Color color = COLOR_BARS[i]; in generateSurfaceFrame()
DHeifWriterTest.java77 private static Color[] COLOR_BARS = { field in HeifWriterTest
563 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
581 for (int i = 0; i < COLOR_BARS.length; i++) { in generateSurfaceFrame()
585 final Color color = COLOR_BARS[i]; in generateSurfaceFrame()
655 for (int i = 0; i < COLOR_BARS.length; i++) { in verifyResult()
657 assertTrue("Color bar " + i + " doesn't match", approxEquals(COLOR_BARS[i], in verifyResult()
DMediaMetadataRetrieverTest.java64 private static Color[] COLOR_BARS = { field in MediaMetadataRetrieverTest
689 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
745 for (int barIndex = 0; barIndex < COLOR_BARS.length; barIndex++) { in testGetImage()
749 approxEquals(COLOR_BARS[barIndex], Color.valueOf( in testGetImage()