public class GalleryBitmapPool
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Empty the pool, recycling all the bitmaps currently in it.
|
android.graphics.Bitmap |
get(int width,
int height) |
int |
getCapacity() |
static GalleryBitmapPool |
getInstance() |
int |
getSize() |
boolean |
put(android.graphics.Bitmap b)
Adds the given bitmap to the pool.
|
public static GalleryBitmapPool getInstance()
public int getCapacity()
public int getSize()
public android.graphics.Bitmap get(int width,
int height)
public boolean put(android.graphics.Bitmap b)
public void clear()