Searched refs:intBuf1 (Results 1 – 1 of 1) sorted by relevance
209 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer() local210 assertEquals(0, intBuf1.position()); in testCopyPixelsToBuffer()211 mBitmap.copyPixelsToBuffer(intBuf1); in testCopyPixelsToBuffer()212 assertEquals(pixSize >> 2, intBuf1.position()); in testCopyPixelsToBuffer()216 intBuf1.position(0); // copyPixelsToBuffer adjusted the position, so rewind to start in testCopyPixelsToBuffer()217 bitmap.copyPixelsFromBuffer(intBuf1); in testCopyPixelsToBuffer()222 assertEquals(intBuf1.position(), intBuf2.position()); in testCopyPixelsToBuffer()223 int size = intBuf1.position(); in testCopyPixelsToBuffer()224 intBuf1.position(0); in testCopyPixelsToBuffer()227 assertEquals("mismatching pixels at position " + i, intBuf1.get(), intBuf2.get()); in testCopyPixelsToBuffer()[all …]