Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaResourceManager.java165 final T cachedResource = loadMediaFromCache(mediaRequest); in processMediaRequestInternal() local
166 if (cachedResource != null) { in processMediaRequestInternal()
167 if (cachedResource.isEncoded()) { in processMediaRequestInternal()
169 final MediaRequest<T> decodeRequest = (MediaRequest<T>) cachedResource in processMediaRequestInternal()
172 cachedResource.release(); in processMediaRequestInternal()
176 loadedResource = cachedResource; in processMediaRequestInternal()
182 return new MediaLoadingResult<>(loadedResource, cachedResource != null /* fromCache */, in processMediaRequestInternal()