android.graphics
Class PixelFormat

java.lang.Object
  extended by android.graphics.PixelFormat

public class PixelFormat
extends java.lang.Object


Field Summary
static int A_8
           
 int bitsPerPixel
           
 int bytesPerPixel
           
static int JPEG
           
static int L_8
           
static int LA_88
           
static int OPAQUE
           
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
           
static int TRANSPARENT
           
static int UNKNOWN
           
static int YCbCr_420_SP
           
static int YCbCr_422_I
           
static int YCbCr_422_SP
           
 
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

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

TRANSLUCENT

public static final int TRANSLUCENT
See Also:
Constant Field Values

TRANSPARENT

public static final int TRANSPARENT
See Also:
Constant Field Values

OPAQUE

public static final int OPAQUE
See Also:
Constant Field Values

RGBA_8888

public static final int RGBA_8888
See Also:
Constant Field Values

RGBX_8888

public static final int RGBX_8888
See Also:
Constant Field Values

RGB_888

public static final int RGB_888
See Also:
Constant Field Values

RGB_565

public static final int RGB_565
See Also:
Constant Field Values

RGBA_5551

public static final int RGBA_5551
See Also:
Constant Field Values

RGBA_4444

public static final int RGBA_4444
See Also:
Constant Field Values

A_8

public static final int A_8
See Also:
Constant Field Values

L_8

public static final int L_8
See Also:
Constant Field Values

LA_88

public static final int LA_88
See Also:
Constant Field Values

RGB_332

public static final int RGB_332
See Also:
Constant Field Values

YCbCr_422_SP

public static final int YCbCr_422_SP
See Also:
Constant Field Values

YCbCr_420_SP

public static final int YCbCr_420_SP
See Also:
Constant Field Values

YCbCr_422_I

public static final int YCbCr_422_I
See Also:
Constant Field Values

JPEG

public static final int JPEG
See Also:
Constant Field Values

bytesPerPixel

public int bytesPerPixel

bitsPerPixel

public int bitsPerPixel
Constructor Detail

PixelFormat

public PixelFormat()
Method Detail

getPixelFormatInfo

public static void getPixelFormatInfo(int format,
                                      PixelFormat info)

formatHasAlpha

public static boolean formatHasAlpha(int format)


Copyright © 2008-2010. All Rights Reserved.