Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPixelFormatTest.java45 assertEquals(32, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
49 assertEquals(32, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
53 assertEquals(24, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
57 assertEquals(16, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
61 assertEquals(16, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
65 assertEquals(16, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
69 assertEquals(8, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
73 assertEquals(8, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
77 assertEquals(16, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
81 assertEquals(8, mPixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java240 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in onPreviewFrame() local
242 format, bitsPerPixel) != data.length) { in onPreviewFrame()
244 + ". height=" + size.height + ". bitsPerPixel=" + bitsPerPixel); in onPreviewFrame()
1270 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in testPreviewCallbackWithBufferByCamera() local
1271 callback.mBuffer1 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1272 callback.mBuffer2 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1273 callback.mBuffer3 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1832 int bitsPerPixel = ImageFormat.getBitsPerPixel(format);
1835 format, bitsPerPixel) != data.length) {
1839 Log.e(TAG, "Frame data length=" + data.length + ". bitsPerPixel=" + bitsPerPixel);
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex33707 public int bitsPerPixel