Package 

Enum MemoryCategory

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum MemoryCategory
    
                        

    An enum for dynamically modifying the amount of memory ImageModule is able to use.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final float multiplier
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      HIGH

      Tells ImageModule memory cache and bitmap pool to use at most one and a half times their initialmaximum size.

      NORMAL

      Tells ImageModule memory cache and bitmap pool to use at most their initial maximum size.

      LOW

      Tells 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 MemoryCategory valueOf(String name)
      float getMultiplier() Returns the multiplier that should be applied to the initial maximum size of ImageModule memorycache and bitmap pool.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait