public class FrescoBitmapPool
extends com.facebook.imagepipeline.memory.BucketsBitmapPool
com.facebook.imagepipeline.memory.BasePool.InvalidSizeException, com.facebook.imagepipeline.memory.BasePool.InvalidValueException, com.facebook.imagepipeline.memory.BasePool.PoolSizeViolationException, com.facebook.imagepipeline.memory.BasePool.SizeTooLargeException| 构造器和说明 |
|---|
FrescoBitmapPool(com.facebook.common.memory.MemoryTrimmableRegistry memoryTrimmableRegistry,
com.facebook.imagepipeline.memory.PoolParams poolParams,
com.facebook.imagepipeline.memory.PoolStatsTracker poolStatsTracker,
boolean mIgnoreHardCap)
Creates an instance of a bitmap pool.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
free(android.graphics.Bitmap value) |
alloc, getBucketedSize, getBucketedSizeForValue, getSizeInBytes, getValue, isReusableget, getStats, initialize, onParamsChanged, release, trimpublic FrescoBitmapPool(com.facebook.common.memory.MemoryTrimmableRegistry memoryTrimmableRegistry,
com.facebook.imagepipeline.memory.PoolParams poolParams,
com.facebook.imagepipeline.memory.PoolStatsTracker poolStatsTracker,
boolean mIgnoreHardCap)
memoryTrimmableRegistry - the memory manager to register withpoolParams - pool parameterspoolStatsTracker -