Searched refs:intBuf1 (Results 1 – 1 of 1) sorted by relevance
316 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer() local317 assertEquals(0, intBuf1.position()); in testCopyPixelsToBuffer()318 mBitmap.copyPixelsToBuffer(intBuf1); in testCopyPixelsToBuffer()319 assertEquals(pixSize >> 2, intBuf1.position()); in testCopyPixelsToBuffer()323 intBuf1.position(0); // copyPixelsToBuffer adjusted the position, so rewind to start in testCopyPixelsToBuffer()324 bitmap.copyPixelsFromBuffer(intBuf1); in testCopyPixelsToBuffer()329 assertEquals(intBuf1.position(), intBuf2.position()); in testCopyPixelsToBuffer()330 int size = intBuf1.position(); in testCopyPixelsToBuffer()331 intBuf1.position(0); in testCopyPixelsToBuffer()334 assertEquals("mismatching pixels at position " + i, intBuf1.get(), intBuf2.get()); in testCopyPixelsToBuffer()[all …]