Searched refs:mCache (Results 26 - 50 of 59) sorted by relevance

123

/frameworks/base/libs/hwui/
H A DTextureCache.cpp41 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity),
65 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity),
71 mCache.clear();
75 mCache.setOnEntryRemovedListener(this);
98 mCache.removeOldest();
133 LruCache<uint32_t, Texture*>::Iterator iter(mCache);
158 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID());
169 Texture* oldest = mCache.peekOldestValue();
171 mCache.removeOldest();
188 mCache
[all...]
H A DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
78 mCache.setOnEntryRemovedListener(this);
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
88 mCache.setOnEntryRemovedListener(this);
92 mCache.clear();
110 mCache.removeOldest();
134 Texture* texture = mCache.get(gradient);
144 mCache.clear();
185 mCache.removeOldest();
191 mCache
[all...]
H A DPatchCache.cpp34 mSize(0), mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity),
95 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
99 mCache.clear();
111 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
165 mCache.remove(*pair.getFirst());
246 const Patch* mesh = mCache.get(description);
269 mCache.put(description, newMesh);
H A DPathCache.cpp153 mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity),
163 mCache.setOnEntryRemovedListener(this);
173 mCache.clear();
191 mCache.removeOldest();
245 mCache.removeOldest();
252 mCache.removeOldest();
291 mCache.put(entry, texture);
304 mCache.clear();
367 LruCache<PathDescription, PathTexture*>::Iterator i(mCache);
399 mCache
[all...]
H A DProgramCache.h59 KeyedVector<programid, Program*> mCache; member in class:android::uirenderer::ProgramCache
H A DLayerCache.h137 SortedList<LayerEntry> mCache; member in class:android::uirenderer::LayerCache
H A DRenderBufferCache.h121 SortedList<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
H A DTessellationCache.cpp302 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
312 mCache.setOnEntryRemovedListener(&mBufferRemovedListener);
318 mCache.clear();
326 LruCache<Description, Buffer*>::Iterator iter(mCache);
341 mCache.removeOldest();
353 size -= mCache.peekOldestValue()->getSize();
354 mCache.removeOldest();
360 mCache.clear();
415 Buffer* buffer = mCache.get(entry);
425 mCache
[all...]
H A DProgramCache.cpp421 size_t count = mCache.size();
423 delete mCache.valueAt(i);
425 mCache.clear();
436 ssize_t index = mCache.indexOfKey(key);
441 mCache.add(key, program);
443 program = mCache.valueAt(index);
H A DResourceCache.h116 KeyedVector<const void*, ResourceReference*>* mCache; member in class:android::uirenderer::ResourceCache
H A DTextureCache.h150 LruCache<uint32_t, Texture*> mCache; member in class:android::uirenderer::TextureCache
H A DPatchCache.h173 LruCache<PatchDescription, Patch*> mCache; member in class:android::uirenderer::PatchCache
H A DTextDropShadowCache.h166 LruCache<ShadowText, ShadowTexture*> mCache; member in class:android::uirenderer::TextDropShadowCache
/frameworks/base/core/java/android/emoji/
H A DEmojiFactory.java60 private Map<Integer, WeakReference<Bitmap>> mCache; field in class:EmojiFactory
74 mCache = new CustomLinkedHashMap<Integer, WeakReference<Bitmap>>();
102 WeakReference<Bitmap> cache = mCache.get(pua);
109 mCache.put(pua, new WeakReference<Bitmap>(ret));
116 mCache.put(pua, new WeakReference<Bitmap>(ret));
/frameworks/volley/src/com/android/volley/
H A DRequestQueue.java75 private final Cache mCache; field in class:RequestQueue
99 mCache = cache;
133 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
139 mCache, mDelivery);
170 return mCache;
/frameworks/native/include/binder/
H A DPermissionCache.h55 SortedVector< Entry > mCache; member in class:android::PermissionCache
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageLoader.java51 private final ImageCache mCache; field in class:ImageLoader
87 mCache = imageCache;
157 return mCache.getBitmap(cacheKey) != null;
194 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
255 mCache.putBitmap(cacheKey, response);
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DMainActivity.java38 private final BitmapCache mCache = new UnrefedBitmapCache(TARGET_CACHE_SIZE_BYTES, 0, 0); field in class:MainActivity
119 mCache, true /* limit density */, opts);
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java55 private final BitmapCache mCache; field in class:DecodeTask
104 mCache = cache;
144 mInBitmap = mCache.poll();
190 mCache.offer(mInBitmap);
261 + mCache.toDebugString());
377 mCache.offer(mInBitmap);
444 mCache.put(mKey, result);
456 mCache.offer(mInBitmap);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey);
109 mCache.add(shaderKey, program);
233 Program* program = mCache.valueFor(needs);
238 mCache.add(needs, program);
242 // needs.mNeeds, uint32_t(ns2ms(time)), mCache.size());
H A DProgramCache.h128 DefaultKeyedVector<Key, Program*> mCache; member in class:android::ProgramCache
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java69 private final BitmapCache mCache; field in class:BasicBitmapDrawable
97 mCache = cache;
212 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */);
222 "CACHE MISS key=%s\ncache=%s", mCurrKey, mCache.toDebugString()));
293 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp123 LayoutCache() : mCache(kMaxEntries) {
124 mCache.setOnEntryRemovedListener(this);
128 mCache.clear();
132 Layout* layout = mCache.get(key);
137 mCache.put(key, layout);
149 LruCache<LayoutCacheKey, Layout*> mCache; member in class:android::LayoutCache
160 HbFaceCache() : mCache(kMaxEntries) {
161 mCache.setOnEntryRemovedListener(this);
169 LruCache<int32_t, hb_face_t*> mCache; member in class:android::HbFaceCache
357 hb_face_t* face = cache.mCache
[all...]
/frameworks/av/media/libstagefright/include/
H A DNuCachedSource2.h102 PageCache *mCache; member in struct:android::NuCachedSource2
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp969 if (mCache.indexOf(excludeName) != NAME_NOT_FOUND) {
979 if (mCache.indexOf(path) != NAME_NOT_FOUND) {
1330 start = mCache.indexOf(path);
1344 count = mCache.size();
1352 if (mCache[i].getFileName().length() > path.length() &&
1353 strncmp(mCache[i].getFileName().string(), path.string(), path.length()) == 0)
1355 const char* name = mCache[i].getFileName().string();
1360 AssetDir::FileInfo tmp = mCache[i];
1721 * to mCache, and anybody who tries to use it will call here if !mCacheValid,
1727 assert(mCache
[all...]

Completed in 2160 milliseconds

123