Home
last modified time | relevance | path

Searched refs:needToReload (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java209 if (bitmapInfo != null && !bitmapInfo.needToReload(maxWidth, maxHeight)) { in doLoadBitmap()
242 boolean needToReload = loadBitmapTask.isReloadNeeded(); in doLoadBitmap()
243 if (bitmapInfo != null && !needToReload) { in doLoadBitmap()
289 boolean needToReload = in isReloadNeeded()
290 bitmapInfo != null && bitmapInfo.needToReload(mMaxWidth, mMaxHeight); in isReloadNeeded()
292 if (needToReload) { in isReloadNeeded()
307 return needToReload; in isReloadNeeded()
DBitmapUtils.java252 public boolean needToReload(int reqWidth, int reqHeight) { in needToReload() method in BitmapUtils.ScaledBitmapInfo
278 public boolean needToReload(ScaledBitmapInfo other) { in needToReload() method in BitmapUtils.ScaledBitmapInfo
279 return needToReload(other.bitmap.getWidth(), other.bitmap.getHeight()); in needToReload()
DImageCache.java109 if (old != null && !old.needToReload(bitmapInfo)) { in putIfNeeded()
/packages/apps/TV/tests/unit/src/com/android/tv/util/images/
DScaledBitmapInfoTest.java62 .that(scaledBitmap.needToReload(reqWidth, reqHeight)) in assertNeedsToReload()