Home
last modified time | relevance | path

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

/frameworks/native/include/utils/
DGenerationCache.h54 class GenerationCache {
56 GenerationCache(uint32_t maxCapacity);
57 virtual ~GenerationCache();
96 GenerationCache<K, V>::GenerationCache(uint32_t maxCapacity): mMaxCapacity(maxCapacity), in GenerationCache() function
101 GenerationCache<K, V>::~GenerationCache() { in ~GenerationCache()
106 uint32_t GenerationCache<K, V>::size() const { in size()
115 void GenerationCache<K, V>::setOnEntryRemovedListener(OnEntryRemoved<K, V>* listener) { in setOnEntryRemovedListener()
120 void GenerationCache<K, V>::clear() { in clear()
135 bool GenerationCache<K, V>::contains(const K& key) const { in contains()
140 const K& GenerationCache<K, V>::getKeyAt(size_t index) const { in getKeyAt()
[all …]
/frameworks/base/libs/hwui/
DTextDropShadowCache.cpp31 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache()
46 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache()
DGradientCache.cpp38 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
52 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
DTextureCache.h133 GenerationCache<SkBitmap*, Texture*> mCache;
DTextureCache.cpp36 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), in TextureCache()
60 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), in TextureCache()
DTextDropShadowCache.h147 GenerationCache<ShadowText, ShadowTexture*> mCache;
DGradientCache.h150 GenerationCache<GradientCacheEntry, Texture*> mCache;
DShapeCache.h359 GenerationCache<Entry, PathTexture*> mCache;
418 mCache(GenerationCache<ShapeCacheEntry, PathTexture*>::kUnlimitedCapacity), in ShapeCache()
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.h283 GenerationCache<TextLayoutCacheKey, sp<TextLayoutValue> > mCache;
DTextLayoutCache.cpp48 mCache(GenerationCache<TextLayoutCacheKey, sp<TextLayoutValue> >::kUnlimitedCapacity), in TextLayoutCache()