Searched refs:pixSize (Results 1 – 1 of 1) sorted by relevance
182 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferUnsupportedBufferClass() local184 mBitmap.copyPixelsToBuffer(CharBuffer.allocate(pixSize)); in testCopyPixelsToBufferUnsupportedBufferClass()189 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferBufferTooSmall() local190 final int tooSmall = pixSize / 2; in testCopyPixelsToBufferBufferTooSmall()197 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBuffer() local199 ByteBuffer byteBuf = ByteBuffer.allocate(pixSize); in testCopyPixelsToBuffer()202 assertEquals(pixSize, byteBuf.position()); in testCopyPixelsToBuffer()204 ShortBuffer shortBuf = ShortBuffer.allocate(pixSize); in testCopyPixelsToBuffer()207 assertEquals(pixSize >> 1, shortBuf.position()); in testCopyPixelsToBuffer()209 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer()[all …]