public class MemorySizeCalculator extends Object
Constructor and Description |
---|
MemorySizeCalculator(Context context) |
Modifier and Type | Method and Description |
---|---|
int |
getBitmapPoolSize()
Returns the recommended bitmap pool size for the device it is run on in bytes.
|
int |
getMemoryCacheSize()
Returns the recommended memory cache size for the device it is run on in bytes.
|
public MemorySizeCalculator(Context context)