Searched refs:pixSize (Results 1 – 1 of 1) sorted by relevance
286 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferUnsupportedBufferClass() local288 mBitmap.copyPixelsToBuffer(CharBuffer.allocate(pixSize)); in testCopyPixelsToBufferUnsupportedBufferClass()293 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBufferBufferTooSmall() local294 final int tooSmall = pixSize / 2; in testCopyPixelsToBufferBufferTooSmall()301 final int pixSize = mBitmap.getRowBytes() * mBitmap.getHeight(); in testCopyPixelsToBuffer() local303 ByteBuffer byteBuf = ByteBuffer.allocate(pixSize); in testCopyPixelsToBuffer()306 assertEquals(pixSize, byteBuf.position()); in testCopyPixelsToBuffer()308 ShortBuffer shortBuf = ShortBuffer.allocate(pixSize); in testCopyPixelsToBuffer()311 assertEquals(pixSize >> 1, shortBuf.position()); in testCopyPixelsToBuffer()313 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer()[all …]