java.lang.Object | ||
android.graphics.PixelFormat |
Value | ||||
---|---|---|---|---|
int | A_8 | 8 | 0x00000008 | |
int | JPEG | Encoded formats. | 256 | 0x00000100 |
int | LA_88 | 10 | 0x0000000a | |
int | L_8 | 9 | 0x00000009 | |
int | OPAQUE | System chooses an opaque format (no alpha bits required) | -1 | 0xffffffff |
int | RGBA_4444 | 7 | 0x00000007 | |
int | RGBA_5551 | 6 | 0x00000006 | |
int | RGBA_8888 | 1 | 0x00000001 | |
int | RGBX_8888 | 2 | 0x00000002 | |
int | RGB_332 | 11 | 0x0000000b | |
int | RGB_565 | 4 | 0x00000004 | |
int | RGB_888 | 3 | 0x00000003 | |
int | TRANSLUCENT | System chooses a format that supports translucency (many alpha bits) | -3 | 0xfffffffd |
int | TRANSPARENT | System chooses a format that supports transparency (at least 1 alpha bit) | -2 | 0xfffffffe |
int | UNKNOWN | 0 | 0x00000000 | |
int | YCbCr_420_SP | 17 | 0x00000011 | |
int | YCbCr_422_SP | YCbCr formats, used for video. | 16 | 0x00000010 |
public | int | bitsPerPixel | |||
public | int | bytesPerPixel |
PixelFormat() |
static | boolean | formatHasAlpha(int format) | ||||
static | void | getPixelFormatInfo(int format, PixelFormat info) |
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |