-
public class BitmapPool
-
-
Method Summary
Modifier and Type Method Description static BitmapPoolgetInstance()voidreturnDrawableToPool(ReusableBitmapDrawable drawable)voidapplyReusableOptions(BitmapFactory.Options aBitmapOptions)voidapplyReusableOptions(BitmapFactory.Options aBitmapOptions, int width, int height)BitmapobtainBitmapFromPool()BitmapobtainSizedBitmapFromPool(int aWidth, int aHeight)voidclearBitmapPool()voidasyncRecycle(Drawable pDrawable)-
-
Method Detail
-
getInstance
static BitmapPool getInstance()
-
returnDrawableToPool
void returnDrawableToPool(ReusableBitmapDrawable drawable)
-
applyReusableOptions
@Deprecated() void applyReusableOptions(BitmapFactory.Options aBitmapOptions)
-
applyReusableOptions
void applyReusableOptions(BitmapFactory.Options aBitmapOptions, int width, int height)
-
obtainBitmapFromPool
@Deprecated() Bitmap obtainBitmapFromPool()
-
obtainSizedBitmapFromPool
Bitmap obtainSizedBitmapFromPool(int aWidth, int aHeight)
-
clearBitmapPool
void clearBitmapPool()
-
asyncRecycle
void asyncRecycle(Drawable pDrawable)
-
-
-
-