public static interface GifDecoder.BitmapProvider
Modifier and Type | Method and Description |
---|---|
Bitmap |
obtain(int width,
int height,
Bitmap.Config config)
|
void |
release(Bitmap bitmap)
Releases the given Bitmap back to the pool.
|
Bitmap obtain(int width, int height, Bitmap.Config config)
Bitmap
with exactly the given dimensions and config, or null if no such Bitmap
could be obtained.width
- The width in pixels of the desired Bitmap
.height
- The height in pixels of the desired Bitmap
.config
- The Bitmap.Config
of the desired Bitmap
.void release(Bitmap bitmap)