Searched refs:BYTES_PER_PIXEL (Results 1 – 2 of 2) sorted by relevance
41 public static final int BYTES_PER_PIXEL = 4; field in SurfaceOOMTest61 long imageSizeBytes = BIG_WIDTH * BIG_HEIGHT * BYTES_PER_PIXEL; in testSurfaceGarbageCollection()
57 final int BYTES_PER_PIXEL = 4; in testBlitFramebuffer() local91 ByteBuffer pixelBuf = ByteBuffer.allocateDirect(WIDTH * HEIGHT * BYTES_PER_PIXEL); in testBlitFramebuffer()101 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL); in testBlitFramebuffer()112 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL); in testBlitFramebuffer()