public class BitmapPool extends Object
Constructor and Description |
---|
BitmapPool() |
Modifier and Type | Method and Description |
---|---|
void |
applyReusableOptions(android.graphics.BitmapFactory.Options aBitmapOptions) |
void |
clearBitmapPool() |
static BitmapPool |
getInstance() |
android.graphics.Bitmap |
obtainBitmapFromPool() |
android.graphics.Bitmap |
obtainSizedBitmapFromPool(int aWidth,
int aHeight) |
void |
returnDrawableToPool(ReusableBitmapDrawable drawable) |
public static BitmapPool getInstance()
public void returnDrawableToPool(ReusableBitmapDrawable drawable)
public void applyReusableOptions(android.graphics.BitmapFactory.Options aBitmapOptions)
public android.graphics.Bitmap obtainBitmapFromPool()
public android.graphics.Bitmap obtainSizedBitmapFromPool(int aWidth, int aHeight)
public void clearBitmapPool()
Copyright © 2015. All Rights Reserved.