Searched refs:bitmapItem (Results 1 – 2 of 2) sorted by relevance
296 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); in addBitmapToMemoryCache() local297 if (bitmapItem != null) { in addBitmapToMemoryCache()298 Bitmap currentBitmap = bitmapItem.mBitmap; in addBitmapToMemoryCache()309 bitmapItem = new BitmapItem(bitmap, isScaled); in addBitmapToMemoryCache()310 mMemoryCache.put(bucketKey, bitmapItem); in addBitmapToMemoryCache()318 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); in getBitmapFromMemCache() local319 if (bitmapItem != null) { in getBitmapFromMemCache()320 Bitmap bitmap = bitmapItem.mBitmap; in getBitmapFromMemCache()323 if (!bitmapItem.mScaled) { in getBitmapFromMemCache()340 bitmapItem = mMemoryCache.get(bucketKey); in getBitmapFromMemCache()[all …]
359 BitmapItem bitmapItem = mMemoryCache.get(bucketKey); in addBitmapToMemoryCache() local363 if (bitmapItem != null) { in addBitmapToMemoryCache()367 bitmapItem = new BitmapItem(loader.getOriginalWidth(), loader.getOriginalHeight()); in addBitmapToMemoryCache()373 bitmapItem.addDrawable((BitmapDrawable) bitmap); in addBitmapToMemoryCache()374 mMemoryCache.put(bucketKey, bitmapItem); in addBitmapToMemoryCache()