Searched refs:INTERNAL_BYTES_PER_PIXEL (Results 1 – 1 of 1) sorted by relevance
30 private static final int INTERNAL_BYTES_PER_PIXEL = 4; field in ShadowBitmap584 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()