Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmap.java30 private static final int INTERNAL_BYTES_PER_PIXEL = 4; field in ShadowBitmap
584 if (getBytesPerPixel(config) != INTERNAL_BYTES_PER_PIXEL) { in copyPixelsFromBuffer()
585 throw new RuntimeException("Not implemented: only Bitmaps with " + INTERNAL_BYTES_PER_PIXEL in copyPixelsFromBuffer()
593 if (byteBuffer.remaining() < colors.length * INTERNAL_BYTES_PER_PIXEL) { in copyPixelsFromBuffer()
608 if (getBytesPerPixel(config) != INTERNAL_BYTES_PER_PIXEL) { in copyPixelsToBuffer()
609 throw new RuntimeException("Not implemented: only Bitmaps with " + INTERNAL_BYTES_PER_PIXEL in copyPixelsToBuffer()