-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum MemoryCategoryAn enum for dynamically modifying the amount of memory ImageModule is able to use.
-
-
Field Summary
Fields Modifier and Type Field Description private final floatmultiplier
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHTells ImageModule memory cache and bitmap pool to use at most one and a half times their initialmaximum size.
NORMALTells ImageModule memory cache and bitmap pool to use at most their initial maximum size.
LOWTells ImageModule memory cache and bitmap pool to use at most half of their initial maximum size.
-
Method Summary
Modifier and Type Method Description static Array<MemoryCategory>values()static MemoryCategoryvalueOf(String name)floatgetMultiplier()Returns the multiplier that should be applied to the initial maximum size of ImageModule memorycache and bitmap pool. -
-
Method Detail
-
values
static Array<MemoryCategory> values()
-
valueOf
static MemoryCategory valueOf(String name)
-
getMultiplier
float getMultiplier()
Returns the multiplier that should be applied to the initial maximum size of ImageModule memorycache and bitmap pool.
-
-
-
-