android.graphics
Class BitmapRegionDecoder

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

public final class BitmapRegionDecoder
extends Object


Method Summary
 Bitmap decodeRegion(Rect rect, BitmapFactory.Options options)
           
protected  void finalize()
           
 int getHeight()
           
 int getWidth()
           
 boolean isRecycled()
           
static BitmapRegionDecoder newInstance(byte[] data, int offset, int length, boolean isShareable)
           
static BitmapRegionDecoder newInstance(FileDescriptor fd, boolean isShareable)
           
static BitmapRegionDecoder newInstance(InputStream is, boolean isShareable)
           
static BitmapRegionDecoder newInstance(String pathName, boolean isShareable)
           
 void recycle()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static BitmapRegionDecoder newInstance(byte[] data,
                                              int offset,
                                              int length,
                                              boolean isShareable)
                                       throws IOException
Throws:
IOException

newInstance

public static BitmapRegionDecoder newInstance(FileDescriptor fd,
                                              boolean isShareable)
                                       throws IOException
Throws:
IOException

newInstance

public static BitmapRegionDecoder newInstance(InputStream is,
                                              boolean isShareable)
                                       throws IOException
Throws:
IOException

newInstance

public static BitmapRegionDecoder newInstance(String pathName,
                                              boolean isShareable)
                                       throws IOException
Throws:
IOException

decodeRegion

public Bitmap decodeRegion(Rect rect,
                           BitmapFactory.Options options)

getWidth

public int getWidth()

getHeight

public int getHeight()

recycle

public void recycle()

isRecycled

public final boolean isRecycled()

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.