Package com.bumptech.glide.load.engine.bitmap_recycle
package com.bumptech.glide.load.engine.bitmap_recycle
-
ClassDescriptionInterface for an array pool that pools arrays of different types.An interface for a pool that allows users to reuse
Bitmapobjects.Adapter for handling primitive byte arrays.Adapter for handling primitive int arrays.A fixed size Array Pool that evicts arrays using an LRU strategy to keep the pool under the maximum byte size.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.KeysBitmapsusing bothBitmap.getAllocationByteCount()and theBitmap.Configreturned fromBitmap.getConfig().