Searched refs:bitmapInfo (Results 1 – 5 of 5) sorted by relevance
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 208 ScaledBitmapInfo bitmapInfo = imageCache.get(uriString); in doLoadBitmap() local 209 if (bitmapInfo != null && !bitmapInfo.needToReload(maxWidth, maxHeight)) { in doLoadBitmap() 211 callback.onBitmapLoaded(bitmapInfo.bitmap); in doLoadBitmap() 241 ScaledBitmapInfo bitmapInfo = loadBitmapTask.getFromCache(); in doLoadBitmap() local 243 if (bitmapInfo != null && !needToReload) { in doLoadBitmap() 245 callback.onBitmapLoaded(bitmapInfo.bitmap); in doLoadBitmap() 288 ScaledBitmapInfo bitmapInfo = getFromCache(); in isReloadNeeded() local 290 bitmapInfo != null && bitmapInfo.needToReload(mMaxWidth, mMaxHeight); in isReloadNeeded() 297 + bitmapInfo.bitmap.getWidth() in isReloadNeeded() 299 + bitmapInfo.bitmap.getHeight() in isReloadNeeded() [all …]
|
D | ImageCache.java | 55 protected int sizeOf(String key, ScaledBitmapInfo bitmapInfo) { in ImageCache() 56 return (bitmapInfo.bitmap.getByteCount() + 1023) / 1024; in ImageCache() 101 public void putIfNeeded(ScaledBitmapInfo bitmapInfo) { in putIfNeeded() argument 102 if (bitmapInfo == null || bitmapInfo.id == null) { in putIfNeeded() 105 String key = bitmapInfo.id; in putIfNeeded() 108 ScaledBitmapInfo old = mMemoryCache.put(key, bitmapInfo); in putIfNeeded() 109 if (old != null && !old.needToReload(bitmapInfo)) { in putIfNeeded() 117 + bitmapInfo in putIfNeeded() 125 + bitmapInfo in putIfNeeded()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelLogoFetcher.java | 136 ScaledBitmapInfo bitmapInfo = in doInBackground() local 139 if (bitmapInfo == null) { in doInBackground() 158 bitmapInfo.bitmap.compress(CompressFormat.PNG, 100, os); in doInBackground()
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 558 private ContentValues newContentValues(BitmapInfo bitmapInfo, String label, in newContentValues() argument 562 bitmapInfo.isLowRes() ? null : GraphicsUtils.flattenBitmap(bitmapInfo.icon)); in newContentValues() 563 values.put(IconDB.COLUMN_ICON_COLOR, bitmapInfo.color); in newContentValues()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | NormalizedIconLoader.java | 92 BitmapInfo bitmapInfo = getBitmapInfo( in getBadgedActivityIcon() local 97 return mDrawableFactory.newIcon(mContext, bitmapInfo, activityInfo); in getBadgedActivityIcon()
|