Searched refs:poolKey (Results 1 – 2 of 2) sorted by relevance
231 final int poolKey = getPoolKey(imageResource); in addResourceToPool() local232 Assert.isTrue(poolKey != INVALID_POOL_KEY); in addResourceToPool()233 LinkedList<ImageResource> imageList = mImageListSparseArray.get(poolKey); in addResourceToPool()236 mImageListSparseArray.put(poolKey, imageList); in addResourceToPool()244 final int poolKey = getPoolKey(imageResource); in removeResourceFromPool() local245 Assert.isTrue(poolKey != INVALID_POOL_KEY); in removeResourceFromPool()246 final LinkedList<ImageResource> imageList = mImageListSparseArray.get(poolKey); in removeResourceFromPool()259 final int poolKey = getPoolKey(width, height); in getReusableBitmapFromPool() local260 if (poolKey != INVALID_POOL_KEY) { in getReusableBitmapFromPool()261 final LinkedList<ImageResource> images = mImageListSparseArray.get(poolKey); in getReusableBitmapFromPool()
140 final int poolKey = getPoolKey(width, height); in findPoolBitmap() local141 if (poolKey != 0) { in findPoolBitmap()144 final SingleSizePool singlePool = mPool.get(poolKey); in findPoolBitmap()329 final int poolKey = getPoolKey(b.getWidth(), b.getHeight()); in reclaimBitmap() local330 if (poolKey == 0 || !b.isMutable()) { in reclaimBitmap()336 SingleSizePool singleSizePool = mPool.get(poolKey); in reclaimBitmap()339 mPool.append(poolKey, singleSizePool); in reclaimBitmap()354 final int poolKey = getPoolKey(width, height); in isFull() local356 final SingleSizePool singleSizePool = mPool.get(poolKey); in isFull()