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

123

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java58 private BackingCache mCache; field in class:FrameManager
294 mCache.setSize(bytes);
303 return mCache.getSize();
380 mCache.clear();
396 mCache = new BackingCacheNone();
399 mCache = new BackingCacheLru();
402 mCache = new BackingCacheLfu();
410 return mCache.fetchBacking(mode, access, dimensions, elemSize);
421 if (!backing.shouldCache() || !mCache.cacheBacking(backing)) {
424 //Log.i("FrameManager", "RM: Now have " + mBackings.size() + " backings (" + mCache
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp100 : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity)
103 mCache.setOnEntryRemovedListener(this);
108 mCache.clear();
145 mCache.clear();
151 ShadowTexture* texture = mCache.get(entry);
176 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(),
178 PRIu32 ", mCache.size() = %zu", mSize, mCache.size());
196 mCache.put(entry, texture);
H A DPatchCache.cpp37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity)
91 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
95 mCache.clear();
107 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
161 mCache.remove(*pair.getFirst());
244 const Patch* mesh = mCache.get(description);
259 mCache.put(description, newMesh);
H A DProgramCache.h59 std::map<programid, std::unique_ptr<Program>> mCache; member in class:android::uirenderer::ProgramCache
H A DPathCache.cpp183 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity)
186 mCache.setOnEntryRemovedListener(this);
196 mCache.clear();
259 mCache.removeOldest();
266 mCache.removeOldest();
297 // Such an entry in mCache will only be temporary, since it will be evicted
307 mCache.put(entry, texture);
312 mCache.clear();
366 LruCache<PathDescription, PathTexture*>::Iterator iter(mCache);
378 mCache
[all...]
H A DGradientCache.cpp66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity)
73 mCache.setOnEntryRemovedListener(this);
77 mCache.clear();
110 Texture* texture = mCache.get(gradient);
120 mCache.clear();
159 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(),
172 mCache.put(gradient, texture);
H A DLayerCache.h133 std::multiset<LayerEntry> mCache; member in class:android::uirenderer::LayerCache
H A DRenderBufferCache.h112 std::multiset<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
H A DResourceCache.h97 KeyedVector<const void*, ResourceReference*>* mCache; member in class:android::uirenderer::ResourceCache
H A DTextureCache.h146 LruCache<uint32_t, Texture*> mCache; member in class:android::uirenderer::TextureCache
H A DTessellationCache.cpp295 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
297 mCache.setOnEntryRemovedListener(&mBufferRemovedListener);
303 mCache.clear();
311 LruCache<Description, Buffer*>::Iterator iter(mCache);
331 size -= mCache.peekOldestValue()->getSize();
332 mCache.removeOldest();
338 mCache.clear();
409 Buffer* buffer = mCache.get(entry);
419 mCache.put(entry, buffer);
/frameworks/volley/src/main/java/com/android/volley/
H A DNetworkDispatcher.java41 private final Cache mCache; field in class:NetworkDispatcher
61 mCache = cache;
129 mCache.put(request.getCacheKey(), response.cacheEntry);
H A DRequestQueue.java83 private final Cache mCache; field in class:RequestQueue
110 mCache = cache;
144 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
150 mCache, mDelivery);
181 return mCache;
/frameworks/av/media/libstagefright/
H A DCallbackDataSource.cpp134 memcpy(data, &mCache[offset - mCachedOffset], size);
143 memcpy(data, &mCache[offset - mCachedOffset], remaining);
155 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize);
173 memcpy(data, mCache, numToReturn);
/frameworks/native/include/binder/
H A DPermissionCache.h55 SortedVector< Entry > mCache; member in class:android::PermissionCache
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java60 private Bitmap mCache; field in class:LockscreenWallpaper
85 return mCache;
89 mCache = null;
97 mCache = result.bitmap;
99 return mCache;
188 mCache = result.bitmap;
/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);
446 mCache.put(mKey, result);
459 mCache.offer(mInBitmap);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DIconHelper.java59 private ThumbnailCache mCache; field in class:IconHelper
72 mCache = DocumentsApplication.getThumbnailsCache(context, mThumbSize);
93 mCache = DocumentsApplication.getThumbnailsCache(mContext, mThumbSize);
218 final Bitmap cachedResult = mCache.get(uri);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey);
109 mCache.add(shaderKey, program);
231 Program* program = mCache.valueFor(needs);
236 mCache.add(needs, program);
240 // 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.java67 private final BitmapCache mCache; field in class:BasicBitmapDrawable
99 mCache = cache;
244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */);
254 "CACHE MISS key=%s\ncache=%s", mCurrKey, mCache.toDebugString()));
334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DImageLoader.java50 private final ImageCache mCache; field in class:ImageLoader
86 mCache = imageCache;
169 return mCache.getBitmap(cacheKey) != null;
216 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
281 mCache.putBitmap(cacheKey, response);
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h78 SymbolTable() : mCache(200), mIdCache(200) {
102 android::LruCache<ResourceName, std::shared_ptr<Symbol>> mCache; member in class:aapt::SymbolTable
/frameworks/av/media/libstagefright/include/
H A DCallbackDataSource.h83 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource

Completed in 987 milliseconds

123