Searched defs:mCache (Results 26 - 50 of 55) sorted by relevance

123

/frameworks/av/media/libstagefright/foundation/include/
H A DNuCachedSource2.h112 PageCache *mCache; member in struct:android::NuCachedSource2
/frameworks/av/media/libstagefright/include/
H A DNuCachedSource2.h112 PageCache *mCache; member in struct:android::NuCachedSource2
/frameworks/base/libs/hwui/
H A DGradientCache.h165 LruCache<GradientCacheEntry, Texture*> mCache; member in class:android::uirenderer::GradientCache
H A DPatchCache.h168 LruCache<PatchDescription, Patch*> mCache; member in class:android::uirenderer::PatchCache
H A DTessellationCache.h197 LruCache<Description, Buffer*> mCache; member in class:android::uirenderer::TessellationCache
H A DTextDropShadowCache.h155 LruCache<ShadowText, ShadowTexture*> mCache; member in class:android::uirenderer::TextDropShadowCache
H A DPathCache.h248 return mCache.get(entry);
273 LruCache<PathDescription, PathTexture*> mCache; member in class:android::uirenderer::PathCache
H A DVectorDrawable.h681 void markDirty() { mCache.dirty = true; }
682 bool isDirty() const { return mCache.dirty; }
710 Cache mCache; member in class:android::uirenderer::VectorDrawable::Tree
713 = PropertyChangedListener(&mCache.dirty, &mStagingCache.dirty);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUCache.java34 private final Map<OSUProvider, ScanInstance> mCache = new HashMap<>(); field in class:OSUCache
77 mCache.clear();
127 Map<OSUProvider, ScanInstance> aged = new HashMap<>(mCache);
131 mCache.put(entry.getKey(), new ScanInstance(entry.getValue(), mInstant));
151 mCache.remove(entry.getKey());
161 Map<OSUProvider, ScanResult> results = new HashMap<>(mCache.size());
162 for (Map.Entry<OSUProvider, ScanInstance> entry : mCache.entrySet()) {
H A DIconCache.java41 private final Map<EssKey, Map<String, HSIconFileElement>> mCache; field in class:IconCache
170 mCache = new HashMap<>();
216 Iterator<EssKey> cacheKeys = mCache.keySet().iterator();
232 Map<String, HSIconFileElement> fileMap = mCache.get(key);
277 mCache.clear();
304 Map<String, HSIconFileElement> fileMap = mCache.get(key);
312 Map<String, HSIconFileElement> fileMap = mCache.get(key);
315 mCache.put(key, fileMap);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h128 DefaultKeyedVector<Key, Program*> mCache; member in class:android::ProgramCache
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekAsyncDataProvider.java39 // mCache is for the bitmap requested by user
40 final LruCache<Integer, Bitmap> mCache; field in class:PlaybackSeekAsyncDataProvider
42 // estimation. We use a different LruCache so that items in mCache will not be evicted by
75 mCache.put(mIndex, bitmap);
89 mCache = new LruCache<Integer, Bitmap>(cacheSize);
105 Bitmap bitmap = mCache.get(key);
111 mCache.put(key, bitmap);
148 if (mCache.get(key) == null && mPrefetchCache.get(key) == null) {
166 mCache.evictAll();
180 for (Iterator<Integer> it = mCache
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DPlaybackSeekAsyncDataProvider.java39 // mCache is for the bitmap requested by user
40 final LruCache<Integer, Bitmap> mCache; field in class:PlaybackSeekAsyncDataProvider
42 // estimation. We use a different LruCache so that items in mCache will not be evicted by
75 mCache.put(mIndex, bitmap);
89 mCache = new LruCache<Integer, Bitmap>(cacheSize);
105 Bitmap bitmap = mCache.get(key);
111 mCache.put(key, bitmap);
148 if (mCache.get(key) == null && mPrefetchCache.get(key) == null) {
166 mCache.evictAll();
180 for (Iterator<Integer> it = mCache
[all...]
/frameworks/av/include/media/
H A DInterpolator.h54 : mCache(cache)
175 if (mCache) {
328 bool mCache; // whether we cache spline coefficient computation member in class:android::Interpolator
/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/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotController.java83 private final TaskSnapshotCache mCache; field in class:TaskSnapshotController
97 mCache = new TaskSnapshotCache(mService, mLoader);
150 mCache.putSnapshot(task, snapshot);
165 return mCache.getSnapshot(taskId, userId, restoreFromDisk, reducedResolution);
278 mCache.onAppRemoved(wtoken);
285 mCache.onAppDied(wtoken);
289 mCache.onTaskRemoved(taskId);
337 mCache.dump(pw, prefix);
/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/services/core/java/com/android/server/om/
H A DOverlayManagerService.java826 private final SparseArray<HashMap<String, PackageInfo>> mCache = new SparseArray<>(); field in class:OverlayManagerService.PackageManagerHelper
879 final HashMap<String, PackageInfo> map = mCache.get(userId);
885 HashMap<String, PackageInfo> map = mCache.get(userId);
888 mCache.put(userId, map);
894 final HashMap<String, PackageInfo> map = mCache.get(userId);
900 mCache.delete(userId);
905 mCache.delete(userId);
916 final int N = mCache.size();
918 final int userId = mCache.keyAt(i);
919 count += mCache
[all...]
H A DOverlayManagerSettings.java418 private OverlayInfo mCache; field in class:OverlayManagerSettings.SettingsItem
432 mCache = null;
492 if (mCache == null) {
493 mCache = new OverlayInfo(mPackageName, mTargetPackageName, mBaseCodePath, mState,
496 return mCache;
500 mCache = null;
/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/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/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java76 private final Cache mCache = new Cache(); field in class:LockSettingsStorage
150 mCache.putKeyValue(key, value, userId);
159 synchronized (mCache) {
160 if (mCache.hasKeyValue(key, userId)) {
161 return mCache.peekKeyValue(key, defaultValue, userId);
163 version = mCache.getVersion();
178 mCache.putKeyValueIfUnchanged(key, result, userId, version);
184 synchronized (mCache) {
185 if (mCache.isFetched(userId)) {
188 mCache
589 private final ArrayMap<CacheKey, Object> mCache = new ArrayMap<>(); field in class:LockSettingsStorage.Cache
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java106 synchronized (mService.mCache) {
107 mService.mCache.remove(userHandle);
125 @GuardedBy("mCache")
127 mCache = new SparseArray<>(); field in class:ContentService
132 synchronized (mCache) {
134 mCache.clear();
213 synchronized (mCache) {
217 for (int i = 0; i < mCache.size(); i++) {
218 pw.println("User " + mCache.keyAt(i) + ":");
220 pw.println(mCache
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java82 private final FixedSizeRemoteViewsCache mCache; field in class:RemoteViewsAdapter
252 synchronized (adapter.mCache) {
253 adapter.mCache.commitTemporaryMetaData();
310 private final FixedSizeRemoteViewsCache mCache; field in class:RemoteViewsAdapter.RemoteViewsFrameLayout
314 mCache = cache;
337 int viewHeight = mCache.getMetaData().getLoadingTemplate(getContext()).defaultHeight;
813 mCache = sCachedRemoteViewsCaches.get(key);
814 synchronized (mCache.mMetaData) {
815 if (mCache.mMetaData.count > 0) {
822 mCache
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp126 LayoutCache() : mCache(kMaxEntries) {
127 mCache.setOnEntryRemovedListener(this);
131 mCache.clear();
136 Layout* layout = mCache.get(key);
141 mCache.put(key, layout);
153 android::LruCache<LayoutCacheKey, Layout*> mCache; member in class:minikin::LayoutCache

Completed in 502 milliseconds

123