Searched refs:loadedResource (Results 1 – 3 of 3) sorted by relevance
144 Assert.isTrue(loadResult.loadedResource.getRefCount() > 0); in requestMediaResourceSync()145 return loadResult.loadedResource; in requestMediaResourceSync()163 T loadedResource = null; in processMediaRequestInternal() local173 loadedResource = loadMediaFromRequest(decodeRequest, chainedRequests); in processMediaRequestInternal()176 loadedResource = cachedResource; in processMediaRequestInternal()180 loadedResource = loadMediaFromRequest(mediaRequest, chainedRequests); in processMediaRequestInternal()182 return new MediaLoadingResult<>(loadedResource, cachedResource != null /* fromCache */, in processMediaRequestInternal()261 Assert.isTrue(result.loadedResource.getRefCount() > 0); in scheduleAsyncMediaRequest()265 bindableRequest, result.loadedResource, result.fromCache); in scheduleAsyncMediaRequest()268 result.loadedResource.release(); in scheduleAsyncMediaRequest()[all …]
106 final ImageResource loadedResource = loadMediaInternal(chainedTask); in loadMediaBlocking() local107 return postProcessOnBitmapResourceLoaded(loadedResource); in loadMediaBlocking()218 private ImageResource postProcessOnBitmapResourceLoaded(final ImageResource loadedResource) { in postProcessOnBitmapResourceLoaded() argument219 if (mDescriptor.cropToCircle && loadedResource instanceof DecodedImageResource) { in postProcessOnBitmapResourceLoaded()222 final Bitmap sourceBitmap = loadedResource.getBitmap(); in postProcessOnBitmapResourceLoaded()232 loadedResource.getOrientation()); in postProcessOnBitmapResourceLoaded()234 return loadedResource; in postProcessOnBitmapResourceLoaded()
52 final FakeImageResource loadedResource = mImageResource; in testLoadFromCache() local56 assertEquals(loadedResource, mImageResource); in testLoadFromCache()