Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageResolver.java53 private final ImageCache mImageCache; field in NotificationInlineImageResolver
70 mImageCache = imageCache; in NotificationInlineImageResolver()
72 if (mImageCache != null) { in NotificationInlineImageResolver()
73 mImageCache.setImageResolver(this); in NotificationInlineImageResolver()
89 return mImageCache != null && !isLowRam(); in hasCache()
150 if (!mImageCache.hasEntry(uri)) { in loadImageFromCache()
151 mImageCache.preload((uri)); in loadImageFromCache()
153 return mImageCache.get(uri, timeoutMs); in loadImageFromCache()
169 if (!mImageCache.hasEntry(uri)) { in preloadImages()
171 mImageCache.preload(uri); in preloadImages()
[all …]
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp440 mImageCache.clear(); in ~GLESRenderEngine()
635 auto cachedImage = mImageCache.find(buffer->getId()); in bindExternalTextureBuffer()
636 found = (cachedImage != mImageCache.end()); in bindExternalTextureBuffer()
656 auto cachedImage = mImageCache.find(buffer->getId()); in bindExternalTextureBuffer()
658 if (cachedImage == mImageCache.end()) { in bindExternalTextureBuffer()
711 if (mImageCache.count(buffer->getId()) > 0) { in cacheExternalTextureBufferInternal()
732 if (mImageCache.count(buffer->getId()) > 0) { in cacheExternalTextureBufferInternal()
737 mImageCache.insert(std::make_pair(buffer->getId(), std::move(newImage))); in cacheExternalTextureBufferInternal()
758 const auto& cachedImage = mImageCache.find(bufferId); in unbindExternalTextureBufferInternal()
760 if (cachedImage != mImageCache.end()) { in unbindExternalTextureBufferInternal()
[all …]
DGLESRenderEngine.h232 std::unordered_map<uint64_t, std::unique_ptr<Image>> mImageCache GUARDED_BY(mRenderingMutex);