Searched refs:intBuf1 (Results 1 – 1 of 1) sorted by relevance
313 IntBuffer intBuf1 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer() local314 assertEquals(0, intBuf1.position()); in testCopyPixelsToBuffer()315 mBitmap.copyPixelsToBuffer(intBuf1); in testCopyPixelsToBuffer()316 assertEquals(pixSize >> 2, intBuf1.position()); in testCopyPixelsToBuffer()320 intBuf1.position(0); // copyPixelsToBuffer adjusted the position, so rewind to start in testCopyPixelsToBuffer()321 bitmap.copyPixelsFromBuffer(intBuf1); in testCopyPixelsToBuffer()326 assertEquals(intBuf1.position(), intBuf2.position()); in testCopyPixelsToBuffer()327 int size = intBuf1.position(); in testCopyPixelsToBuffer()328 intBuf1.position(0); in testCopyPixelsToBuffer()331 assertEquals("mismatching pixels at position " + i, intBuf1.get(), intBuf2.get()); in testCopyPixelsToBuffer()[all …]