Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java59 private static final int[] FORMATS = { ImageFormat.NV21, ImageFormat.YUY2 }; field in YuvImageTest
100 for (int i = 0; i < FORMATS.length; ++i) { in testYuvImage()
102 new YuvImage(yuv, FORMATS[i], width, height, null); in testYuvImage()
110 for (int i = 0; i < FORMATS.length; ++i) { in testYuvImage()
113 if (FORMATS[i] == ImageFormat.NV21) { in testYuvImage()
115 } else if (FORMATS[i] == ImageFormat.YUY2) { in testYuvImage()
120 image = new YuvImage(yuv, FORMATS[i], width, height, null); in testYuvImage()
133 new YuvImage(new byte[100 * 100 * 2], FORMATS[0], -1, 100, null); in testYuvImageNegativeWidth()
138 new YuvImage(new byte[100 * 100 * 2], FORMATS[0], 100, -1, null); in testYuvImageNegativeHeight()
143 new YuvImage(null, FORMATS[0], 100, 100, null); in testYuvImageNullArray()
[all …]