Searched refs:bitsPerPixel (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PixelFormatTest.java | 45 assertEquals(32, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 49 assertEquals(32, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 53 assertEquals(24, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 57 assertEquals(16, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 61 assertEquals(16, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 65 assertEquals(16, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 69 assertEquals(8, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 73 assertEquals(8, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 77 assertEquals(16, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo() 81 assertEquals(8, pixelFormat.bitsPerPixel); in testGetPixelFormatInfo()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 312 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in onPreviewFrame() local 314 format, bitsPerPixel) != data.length) { in onPreviewFrame() 316 + ". height=" + size.height + ". bitsPerPixel=" + bitsPerPixel); in onPreviewFrame() 1478 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in testPreviewCallbackWithBufferByCamera() local 1479 callback.mBuffer1 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera() 1480 callback.mBuffer2 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera() 1481 callback.mBuffer3 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera() 2085 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in onPreviewFrame() local 2088 format, bitsPerPixel) != data.length) { in onPreviewFrame() 2092 Log.e(TAG, "Frame data length=" + data.length + ". bitsPerPixel=" + bitsPerPixel); in onPreviewFrame() [all …]
|