Home
last modified time | relevance | path

Searched refs:poolKey (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DPoolableImageCache.java231 final int poolKey = getPoolKey(imageResource); in addResourceToPool() local
232 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() local
245 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() local
260 if (poolKey != INVALID_POOL_KEY) { in getReusableBitmapFromPool()
261 final LinkedList<ImageResource> images = mImageListSparseArray.get(poolKey); in getReusableBitmapFromPool()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBitmapPool.java140 final int poolKey = getPoolKey(width, height); in findPoolBitmap() local
141 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() local
330 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() local
356 final SingleSizePool singleSizePool = mPool.get(poolKey); in isFull()