HomeSort by relevance Sort by last modified time
    Searched refs:mCache (Results 26 - 50 of 100) sorted by null

12 3 4

  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
AttachmentLoader.java 46 private Map<String, Attachment> mCache = Maps.newHashMap();
54 Attachment m = mCache.get(uri);
57 mCache.put(uri, m);
  /frameworks/base/libs/hwui/
TextureCache.cpp 38 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity),
62 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity),
68 mCache.clear();
72 mCache.setOnEntryRemovedListener(this);
95 mCache.removeOldest();
126 LruCache<const SkPixelRef*, Texture*>::Iterator iter(mCache);
144 Texture* texture = mCache.get(bitmap->pixelRef());
155 Texture* oldest = mCache.peekOldestValue();
157 mCache.removeOldest();
174 mCache.put(bitmap->pixelRef(), texture)
    [all...]
TextDropShadowCache.cpp 98 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
113 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
119 mCache.clear();
123 mCache.setOnEntryRemovedListener(this);
142 mCache.removeOldest();
168 mCache.clear();
174 ShadowTexture* texture = mCache.get(entry);
202 mCache.removeOldest();
226 mCache.put(entry, texture);
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.put(gradient, texture)
    [all...]
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);
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.remove(pathsToRemove.itemAt(i))
    [all...]
ProgramCache.h 59 KeyedVector<programid, Program*> mCache;
  /frameworks/native/libs/binder/
PermissionCache.cpp 43 ssize_t index = mCache.indexOf(e);
45 *granted = mCache.itemAt(index).granted;
66 index = mCache.indexOf(e);
68 mCache.add(e);
74 mCache.clear();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
FastScrollingIndexCache.java 38 * It's a cache from "keys" and "bundles" (see {@link #mCache} for what they are). The cache
86 private final Map<String, String> mCache = Maps.newHashMap();
200 synchronized (mCache) {
204 final String value = mCache.get(key);
215 mCache.remove(key);
232 synchronized (mCache) {
236 mCache.put(key, buildCacheValue(
248 synchronized (mCache) {
250 mCache.clear();
266 for (String key : mCache.keySet())
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
BaseImageList.java 37 private final LruCache<Integer, BaseImage> mCache =
63 mCache.clear();
119 BaseImage result = mCache.get(i);
127 mCache.put(i, result);
163 mCache.clear();
203 BaseImage image = mCache.get(i);
206 mCache.put(i, image);
  /frameworks/av/media/libstagefright/
NuCachedSource2.cpp 189 mCache(new PageCache(kPageSize)),
236 delete mCache;
237 mCache = NULL;
328 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize());
349 PageCache::Page *page = mCache->acquirePage();
352 mCacheOffset + mCache->totalSize(), page->mData, kPageSize);
362 mCache->releasePage(page);
372 mCache->releasePage(page);
381 mCache->appendPage(page);
408 if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
FrameManager.java 58 private BackingCache mCache;
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.getSizeLeft() + ")")
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 75 private final HashMap<CacheKey, CacheEntry> mCache =
164 synchronized (mCache) {
165 mCache.remove(componentName);
173 synchronized (mCache) {
174 mCache.clear();
183 synchronized (mCache) {
194 synchronized (mCache) {
212 synchronized (mCache) {
229 CacheEntry entry = mCache.get(cacheKey);
233 mCache.put(cacheKey, entry)
    [all...]
  /packages/apps/Mms/src/com/android/mms/data/
RecipientIdCache.java 39 private final Map<Long, String> mCache;
63 mCache = new HashMap<Long, String>();
84 sInstance.mCache.clear();
89 sInstance.mCache.put(id, number);
116 String number = sInstance.mCache.get(longId);
125 number = sInstance.mCache.get(longId);
157 String number2 = sInstance.mCache.get(recipientId);
163 ", sInstance.mCache.get(recipientId)=" + number2);
169 sInstance.mCache.put(recipientId, number1);
208 for (Long id : sInstance.mCache.keySet())
    [all...]
  /frameworks/volley/src/com/android/volley/
NetworkDispatcher.java 40 private final Cache mCache;
60 mCache = cache;
127 mCache.put(request.getCacheKey(), response.cacheEntry);
RequestQueue.java 75 private final Cache mCache;
99 mCache = cache;
133 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
139 mCache, mDelivery);
170 return mCache;
  /packages/apps/Dialer/src/com/android/dialer/util/
ExpirableCache.java 143 private LruCache<K, CachedValue<V>> mCache;
156 mCache = cache;
174 return mCache.get(key);
218 mCache.put(key, newCachedValue(value));
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
VertexBuffer.cpp 231 for (unsigned int element = 0; element < mCache.size(); element++)
233 if (mCache[element].type == attribute.mType &&
234 mCache[element].size == attribute.mSize &&
235 mCache[element].stride == attribute.stride() &&
236 mCache[element].normalized == attribute.mNormalized &&
237 mCache[element].pureInteger == attribute.mPureInteger)
239 if (mCache[element].attributeOffset == attribute.mOffset % attribute.stride())
243 *outStreamOffset = mCache[element].streamOffset;
280 mCache.push_back(element);
  /packages/apps/Launcher3/src/com/android/launcher3/
IconCache.java 101 private final HashMap<CacheKey, CacheEntry> mCache =
195 synchronized (mCache) {
196 mCache.remove(new CacheKey(componentName, user));
205 for (CacheKey key: mCache.keySet()) {
212 mCache.remove(condemned);
220 synchronized (mCache) {
221 mCache.clear();
229 synchronized (mCache) {
230 Iterator<Entry<CacheKey, CacheEntry>> it = mCache.entrySet().iterator();
246 synchronized (mCache) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ContactResolver.java 54 private final BitmapCache mCache;
75 mCache = cache;
108 return new ContactResolverTask(batch, mResolver, mCache, this);
112 return mCache;
158 private final BitmapCache mCache;
166 mCache = cache;
227 null, mCache).decode();
254 mCache.put(request.contactRequest, null);
  /frameworks/base/core/java/android/emoji/
EmojiFactory.java 60 private Map<Integer, WeakReference<Bitmap>> mCache;
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/base/core/java/com/android/internal/widget/
LockPatternUtilsCache.java 40 /** Only access when holding {@code mCache} lock. */
41 private final ArrayMap<CacheKey, Object> mCache = new ArrayMap<>();
43 /** Only access when holding {@link #mCache} lock. */
189 synchronized (mCache) {
191 return mCache.get(mCacheKey.set(key, userId));
196 synchronized (mCache) {
198 mCache.put(new CacheKey().set(key, userId), value);
203 synchronized (mCache) {
205 mCache.remove(mCacheKey.set(key, userId));
  /frameworks/native/include/binder/
PermissionCache.h 55 SortedVector< Entry > mCache;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java 111 private HashMap<String, Entry> mCache = new HashMap<String, Entry>();
124 Entry entry = mCache.get(mimeType);
154 mCache.put(mimeType, entry);
213 mCache.clear();
  /packages/apps/Email/src/com/android/email/mail/internet/
AuthenticationCache.java 26 private final Map<Long, CacheEntry> mCache;
56 mCache = new HashMap<Long, CacheEntry>();
68 synchronized (mCache) {
95 entry = mCache.get(account.mId);
102 mCache.put(account.mId, entry);
160 mCache.remove(entry.mAccountId);

Completed in 1437 milliseconds

12 3 4