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.java205 if (bitmapInfo != null && !bitmapInfo.needToReload(maxWidth, maxHeight)) { in doLoadBitmap()
237 boolean needToReload = loadBitmapTask.isReloadNeeded(); in doLoadBitmap()
238 if (bitmapInfo != null && !needToReload) { in doLoadBitmap()
284 boolean needToReload = in isReloadNeeded()
285 bitmapInfo != null && bitmapInfo.needToReload(mMaxWidth, mMaxHeight); in isReloadNeeded()
287 if (needToReload) { in isReloadNeeded()
302 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()