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()
84 return mImageCache != null && !ActivityManager.isLowRamDeviceStatic(); in hasCache()
141 if (!mImageCache.hasEntry(uri)) { in loadImage()
142 mImageCache.preload((uri)); in loadImage()
144 result = mImageCache.get(uri); in loadImage()
167 if (!mImageCache.hasEntry(uri)) { in preloadImages()
169 mImageCache.preload(uri); in preloadImages()
[all …]
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp426 mImageCache.clear(); in ~GLESRenderEngine()
618 auto cachedImage = mImageCache.find(buffer->getId()); in bindExternalTextureBuffer()
619 found = (cachedImage != mImageCache.end()); in bindExternalTextureBuffer()
639 auto cachedImage = mImageCache.find(buffer->getId()); in bindExternalTextureBuffer()
641 if (cachedImage == mImageCache.end()) { in bindExternalTextureBuffer()
693 if (mImageCache.count(buffer->getId()) > 0) { in cacheExternalTextureBufferInternal()
714 if (mImageCache.count(buffer->getId()) > 0) { in cacheExternalTextureBufferInternal()
719 mImageCache.insert(std::make_pair(buffer->getId(), std::move(newImage))); in cacheExternalTextureBufferInternal()
740 const auto& cachedImage = mImageCache.find(bufferId); in unbindExternalTextureBufferInternal()
742 if (cachedImage != mImageCache.end()) { in unbindExternalTextureBufferInternal()
[all …]
DGLESRenderEngine.h226 std::unordered_map<uint64_t, std::unique_ptr<Image>> mImageCache GUARDED_BY(mRenderingMutex);