android.graphics
Class PixelFormat

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

public class PixelFormat
extends Object


Field Summary
static int A_8
           
 int bitsPerPixel
           
 int bytesPerPixel
           
static int JPEG
          Deprecated. 
static int L_8
           
static int LA_88
          Deprecated. 
static int OPAQUE
           
static int RGB_332
          Deprecated. 
static int RGB_565
           
static int RGB_888
           
static int RGBA_4444
          Deprecated. 
static int RGBA_5551
          Deprecated. 
static int RGBA_8888
           
static int RGBX_8888
           
static int TRANSLUCENT
           
static int TRANSPARENT
           
static int UNKNOWN
           
static int YCbCr_420_SP
          Deprecated. 
static int YCbCr_422_I
          Deprecated. 
static int YCbCr_422_SP
          Deprecated. 
 
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

@Deprecated
public static final int RGBA_5551
Deprecated. 
See Also:
Constant Field Values

RGBA_4444

@Deprecated
public static final int RGBA_4444
Deprecated. 
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

@Deprecated
public static final int LA_88
Deprecated. 
See Also:
Constant Field Values

RGB_332

@Deprecated
public static final int RGB_332
Deprecated. 
See Also:
Constant Field Values

YCbCr_422_SP

@Deprecated
public static final int YCbCr_422_SP
Deprecated. 
See Also:
Constant Field Values

YCbCr_420_SP

@Deprecated
public static final int YCbCr_420_SP
Deprecated. 
See Also:
Constant Field Values

YCbCr_422_I

@Deprecated
public static final int YCbCr_422_I
Deprecated. 
See Also:
Constant Field Values

JPEG

@Deprecated
public static final int JPEG
Deprecated. 
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-2012. All Rights Reserved.