net.tsz.afinal.bitmap.core
类 BitmapDecoder

java.lang.Object
  继承者 net.tsz.afinal.bitmap.core.BitmapDecoder

public class BitmapDecoder
extends java.lang.Object


方法摘要
static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight)
           
static Bitmap decodeSampledBitmapFromDescriptor(java.io.FileDescriptor fileDescriptor, int reqWidth, int reqHeight)
           
static Bitmap decodeSampledBitmapFromFile(java.lang.String filename, int reqWidth, int reqHeight)
           
static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, int reqWidth, int reqHeight)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

decodeSampledBitmapFromResource

public static Bitmap decodeSampledBitmapFromResource(Resources res,
                                                     int resId,
                                                     int reqWidth,
                                                     int reqHeight)

decodeSampledBitmapFromFile

public static Bitmap decodeSampledBitmapFromFile(java.lang.String filename,
                                                 int reqWidth,
                                                 int reqHeight)

decodeSampledBitmapFromDescriptor

public static Bitmap decodeSampledBitmapFromDescriptor(java.io.FileDescriptor fileDescriptor,
                                                       int reqWidth,
                                                       int reqHeight)

calculateInSampleSize

public static int calculateInSampleSize(BitmapFactory.Options options,
                                        int reqWidth,
                                        int reqHeight)