Home
last modified time | relevance | path

Searched refs:intBuf2 (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java322 IntBuffer intBuf2 = IntBuffer.allocate(pixSize); in testCopyPixelsToBuffer() local
323 bitmap.copyPixelsToBuffer(intBuf2); in testCopyPixelsToBuffer()
325 assertEquals(pixSize >> 2, intBuf2.position()); in testCopyPixelsToBuffer()
326 assertEquals(intBuf1.position(), intBuf2.position()); in testCopyPixelsToBuffer()
329 intBuf2.position(0); in testCopyPixelsToBuffer()
331 assertEquals("mismatching pixels at position " + i, intBuf1.get(), intBuf2.get()); in testCopyPixelsToBuffer()