Package com.bumptech.glide.load.engine.bitmap_recycle
-
Interface Summary Interface Description ArrayPool Interface for an array pool that pools arrays of different types.BitmapPool An interface for a pool that allows users to reuseBitmapobjects. -
Class Summary Class Description BitmapPoolAdapter ByteArrayAdapter Adapter for handling primitive byte arrays.IntegerArrayAdapter Adapter for handling primitive int arrays.LruArrayPool A fixed size Array Pool that evicts arrays using an LRU strategy to keep the pool under the maximum byte size.LruBitmapPool AnBitmapPoolimplementation that uses anLruPoolStrategyto bucketBitmaps and then uses an LRU eviction policy to evictBitmaps from the least recently used bucket in order to keep the pool below a given maximum size limit.SizeConfigStrategy KeysBitmapsusing bothBitmap.getAllocationByteCount()and theBitmap.Configreturned fromBitmap.getConfig().