PixelFormat

Class of android.graphics · PixelFormat.java · Android's reference

public class PixelFormat

Pixel format constants.

Fields

public static final int UNKNOWN = 0 source
public static final int TRANSLUCENT = -3 source
public static final int TRANSPARENT = -2 source
public static final int OPAQUE = -1 source
public static final int RGBA_8888 = 1 source
public static final int RGBX_8888 = 2 source
public static final int RGB_888 = 3 source
public static final int RGB_565 = 4 source
public static final int RGBA_F16 = 0x16 source
public static final int RGBA_1010102 = 0x2b source
public int bytesPerPixel source
public int bitsPerPixel source

Methods

public static boolean formatHasAlpha(int format) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.