/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 41 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 D | GradientCache.cpp | 66 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 D | PatchCache.cpp | 34 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 D | PathCache.cpp | 153 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 D | ProgramCache.h | 59 KeyedVector<programid, Program*> mCache; member in class:android::uirenderer::ProgramCache
|
H A D | LayerCache.h | 137 SortedList<LayerEntry> mCache; member in class:android::uirenderer::LayerCache
|
H A D | RenderBufferCache.h | 121 SortedList<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
|
H A D | TessellationCache.cpp | 302 , 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 D | ProgramCache.cpp | 421 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 D | ResourceCache.h | 116 KeyedVector<const void*, ResourceReference*>* mCache; member in class:android::uirenderer::ResourceCache
|
H A D | TextureCache.h | 150 LruCache<uint32_t, Texture*> mCache; member in class:android::uirenderer::TextureCache
|
H A D | PatchCache.h | 173 LruCache<PatchDescription, Patch*> mCache; member in class:android::uirenderer::PatchCache
|
H A D | TextDropShadowCache.h | 166 LruCache<ShadowText, ShadowTexture*> mCache; member in class:android::uirenderer::TextDropShadowCache
|
/frameworks/base/core/java/android/emoji/ |
H A D | EmojiFactory.java | 60 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 D | RequestQueue.java | 75 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 D | PermissionCache.h | 55 SortedVector< Entry > mCache; member in class:android::PermissionCache
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | ImageLoader.java | 51 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 D | MainActivity.java | 38 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 D | DecodeTask.java | 55 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 D | ProgramCache.cpp | 106 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 D | ProgramCache.h | 128 DefaultKeyedVector<Key, Program*> mCache; member in class:android::ProgramCache
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 69 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 D | Layout.cpp | 123 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 D | NuCachedSource2.h | 102 PageCache *mCache; member in struct:android::NuCachedSource2
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 969 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...] |