|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.graphics.PixelFormat
public class PixelFormat
| Field Summary | |
|---|---|
static int |
A_8
|
int |
bitsPerPixel
|
int |
bytesPerPixel
|
static int |
JPEG
Encoded formats. |
static int |
L_8
|
static int |
LA_88
|
static int |
OPAQUE
System chooses an opaque format (no alpha bits required) |
static int |
RGB_332
|
static int |
RGB_565
|
static int |
RGB_888
|
static int |
RGBA_4444
|
static int |
RGBA_5551
|
static int |
RGBA_8888
|
static int |
RGBX_8888
|
static int |
TRANSLUCENT
System chooses a format that supports translucency (many alpha bits) |
static int |
TRANSPARENT
System chooses a format that supports transparency (at least 1 alpha bit) |
static int |
UNKNOWN
|
static int |
YCbCr_420_SP
|
static int |
YCbCr_422_SP
YCbCr formats, used for video. |
| Constructor Summary | |
|---|---|
PixelFormat()
|
|
| Method Summary | |
|---|---|
static boolean |
formatHasAlpha(int format)
|
static void |
getPixelFormatInfo(int format,
PixelFormat info)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN
public static final int TRANSLUCENT
public static final int TRANSPARENT
public static final int OPAQUE
public static final int RGBA_8888
public static final int RGBX_8888
public static final int RGB_888
public static final int RGB_565
public static final int RGBA_5551
public static final int RGBA_4444
public static final int A_8
public static final int L_8
public static final int LA_88
public static final int RGB_332
public static final int YCbCr_422_SP
public static final int YCbCr_420_SP
public static final int JPEG
public int bytesPerPixel
public int bitsPerPixel
| Constructor Detail |
|---|
public PixelFormat()
| Method Detail |
|---|
public static void getPixelFormatInfo(int format,
PixelFormat info)
public static boolean formatHasAlpha(int format)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||