android.graphics
Class BitmapFactory

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

public class BitmapFactory
extends Object


Nested Class Summary
static class BitmapFactory.Options
           
 
Constructor Summary
BitmapFactory()
           
 
Method Summary
static Bitmap decodeByteArray(byte[] data, int offset, int length)
           
static Bitmap decodeByteArray(byte[] data, int offset, int length, BitmapFactory.Options opts)
           
static Bitmap decodeFile(String pathName)
           
static Bitmap decodeFile(String pathName, BitmapFactory.Options opts)
           
static Bitmap decodeFileDescriptor(FileDescriptor fd)
           
static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, BitmapFactory.Options opts)
           
static Bitmap decodeResource(Resources res, int id)
           
static Bitmap decodeResource(Resources res, int id, BitmapFactory.Options opts)
           
static Bitmap decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, BitmapFactory.Options opts)
           
static Bitmap decodeStream(InputStream is)
           
static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitmapFactory

public BitmapFactory()
Method Detail

decodeFile

public static Bitmap decodeFile(String pathName,
                                BitmapFactory.Options opts)

decodeFile

public static Bitmap decodeFile(String pathName)

decodeResourceStream

public static Bitmap decodeResourceStream(Resources res,
                                          TypedValue value,
                                          InputStream is,
                                          Rect pad,
                                          BitmapFactory.Options opts)

decodeResource

public static Bitmap decodeResource(Resources res,
                                    int id,
                                    BitmapFactory.Options opts)

decodeResource

public static Bitmap decodeResource(Resources res,
                                    int id)

decodeByteArray

public static Bitmap decodeByteArray(byte[] data,
                                     int offset,
                                     int length,
                                     BitmapFactory.Options opts)

decodeByteArray

public static Bitmap decodeByteArray(byte[] data,
                                     int offset,
                                     int length)

decodeStream

public static Bitmap decodeStream(InputStream is,
                                  Rect outPadding,
                                  BitmapFactory.Options opts)

decodeStream

public static Bitmap decodeStream(InputStream is)

decodeFileDescriptor

public static Bitmap decodeFileDescriptor(FileDescriptor fd,
                                          Rect outPadding,
                                          BitmapFactory.Options opts)

decodeFileDescriptor

public static Bitmap decodeFileDescriptor(FileDescriptor fd)


Copyright © 2008-2012. All Rights Reserved.