public static class MemoryBitmap.BitmapInfo
extends java.lang.Object
| Constructor and Description |
|---|
BitmapInfo(java.lang.String name,
java.io.File file,
FileCache fileCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode()
decode the bitmap into memory
|
Bitmap |
getBitmap()
get the actual bitmap, decoding it if we haven't already
|
int |
getBitmapHeight()
get the height of the bitmap, avoiding decoding if we have not done that yet
|
int |
getBitmapWidth()
get the width of the bitmap, avoiding decoding if we have not done that yet
|
int |
getScale()
get the scale factor (due to loading a lower quality representation
in a memory-restricted environment)
|
public BitmapInfo(java.lang.String name,
java.io.File file,
FileCache fileCache)
public Bitmap getBitmap()
public void decode()
public int getScale()
public int getBitmapWidth()
public int getBitmapHeight()