Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPixelFormatTest.java43 assertEquals(4, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
47 assertEquals(4, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
51 assertEquals(3, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
55 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
59 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
63 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
67 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
71 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
75 assertEquals(2, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
79 assertEquals(1, pixelFormat.bytesPerPixel); in testGetPixelFormatInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java231 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
235 format, i, width, height, rowStride, pixelStride, bytesPerPixel)); in getDataFromImage()
240 if (pixelStride == bytesPerPixel) { in getDataFromImage()
242 int length = w * bytesPerPixel; in getDataFromImage()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java187 int bytesPerPixel = bitmap.getRowBytes() / bitmap.getWidth(); in createFromUncompressedETC1() local
191 bytesPerPixel, in createFromUncompressedETC1()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java793 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
795 if (pixelStride == bytesPerPixel) { in getDataFromImage()
797 length = w * bytesPerPixel; in getDataFromImage()
804 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1000 int bytesPerPixel = ImageFormat.getBitsPerPixel(format) / 8; in getDataFromImage() local
1002 if (pixelStride == bytesPerPixel) { in getDataFromImage()
1004 length = w * bytesPerPixel; in getDataFromImage()
1011 length = (w - 1) * pixelStride + bytesPerPixel; in getDataFromImage()
/cts/tools/dex-tools/dex/
Dclasses.out.dex33709 public int bytesPerPixel