Searched refs:pixSize (Results 1 – 1 of 1) sorted by relevance
289 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferUnsupportedBufferClass() local291 mBitmap.copyPixelsToBuffer(CharBuffer.allocate(pixSize)); in testCopyPixelsToBufferUnsupportedBufferClass()296 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferBufferTooSmall() local297 final int tooSmall = pixSize / 2; in testCopyPixelsToBufferBufferTooSmall()304 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBuffer() local306 ByteBuffer byteBuf = ByteBuffer.allocate(pixSize); in testCopyPixelsToBuffer()309 assertEquals(pixSize, byteBuf.position()); in testCopyPixelsToBuffer()311 ShortBuffer shortBuf = ShortBuffer.allocate(pixSize); in testCopyPixelsToBuffer()314 assertEquals(pixSize >> 1, shortBuf.position()); in testCopyPixelsToBuffer()316 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer()[all …]