Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaResourceManager.java194 final T mediaResource = mediaCache.fetchResourceFromCache(mediaRequest.getKey()); in loadMediaFromCache() local
195 if (mediaResource != null) { in loadMediaFromCache()
196 return mediaResource; in loadMediaFromCache()
292 final MediaRequest<T> mediaRequest, final T mediaResource) { in addResourceToMemoryCache() argument
293 Assert.isTrue(mediaResource != null); in addResourceToMemoryCache()
296 mediaCache.addResourceToCache(mediaRequest.getKey(), mediaResource); in addResourceToMemoryCache() local
DMediaCache.java89 public synchronized T addResourceToCache(final String key, final T mediaResource) { in addResourceToCache() argument
90 mediaResource.addRef(); in addResourceToCache()
91 return put(key, mediaResource); in addResourceToCache()