Home
last modified time | relevance | path

Searched refs:bitsPerPixel (Results 1 – 2 of 2) 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/tests/hardware/src/android/hardware/cts/
DCameraTest.java242 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in onPreviewFrame() local
244 format, bitsPerPixel) != data.length) { in onPreviewFrame()
246 + ". height=" + size.height + ". bitsPerPixel=" + bitsPerPixel); in onPreviewFrame()
1272 int bitsPerPixel = ImageFormat.getBitsPerPixel(format); in testPreviewCallbackWithBufferByCamera() local
1273 callback.mBuffer1 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1274 callback.mBuffer2 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1275 callback.mBuffer3 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewCallbackWithBufferByCamera()
1835 int bitsPerPixel = ImageFormat.getBitsPerPixel(format);
1838 format, bitsPerPixel) != data.length) {
1842 Log.e(TAG, "Frame data length=" + data.length + ". bitsPerPixel=" + bitsPerPixel);
[all …]