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

12 3 4

  /frameworks/volley/src/com/android/volley/toolbox/
ImageLoader.java 51 private final ImageCache mCache;
87 mCache = imageCache;
157 return mCache.getBitmap(cacheKey) != null;
194 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
255 mCache.putBitmap(cacheKey, response);
  /frameworks/opt/bitmap/src/com/android/bitmap/
UnrefedPooledCache.java 46 private final LinkedHashMap<K, V> mCache;
60 mCache = new LinkedHashMap<K, V>(0, 0.75f, true);
74 synchronized (mCache) {
75 V result = mCache.get(key);
95 synchronized (mCache) {
98 prev = mCache.put(key, value);
129 synchronized (mCache) {
132 for (Map.Entry<K, V> entry : mCache.entrySet()) {
155 mCache.remove(eldestUnref.getKey());
175 synchronized (mCache) {
    [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);
  /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...]
  /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...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
VertexBuffer.h 133 std::vector<VertexElement> mCache;
  /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
MainActivity.java 38 private final BitmapCache mCache = new UnrefedBitmapCache(TARGET_CACHE_SIZE_BYTES, 0, 0);
119 mCache, true /* limit density */, opts);
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptIntrinsicLUT.java 30 private final byte mCache[] = new byte[1024];
58 si.mCache[ct] = (byte)ct;
59 si.mCache[ct + 256] = (byte)ct;
60 si.mCache[ct + 512] = (byte)ct;
61 si.mCache[ct + 768] = (byte)ct;
85 mCache[index] = (byte)value;
97 mCache[index+256] = (byte)value;
109 mCache[index+512] = (byte)value;
121 mCache[index+768] = (byte)value;
136 mTables.copyFromUnchecked(mCache);
    [all...]
  /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...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/
Script.java 181 protected final AllocationCache mCache = RenderScriptSingleton.getCache();
233 mCache.returnToCacheIfNotNull(mInputAllocation);
349 mCache.returnToCacheIfNotNull(mInputAllocation);
  /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));
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
PackageInstallerCompatVL.java 40 private final IconCache mCache;
48 mCache = LauncherAppState.getInstance().getIconCache();
77 mCache.cachePackageInstallInfo(packageName, user, info.getAppIcon(),
  /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/av/media/libstagefright/include/
NuCachedSource2.h 102 PageCache *mCache;
  /frameworks/base/libs/hwui/
GradientCache.h 184 LruCache<GradientCacheEntry, Texture*> mCache;
PatchCache.h 173 LruCache<PatchDescription, Patch*> mCache;
TextDropShadowCache.h 166 LruCache<ShadowText, ShadowTexture*> mCache;
  /frameworks/native/services/surfaceflinger/RenderEngine/
ProgramCache.h 128 DefaultKeyedVector<Key, Program*> mCache;
  /frameworks/volley/src/com/android/volley/
NetworkDispatcher.java 40 private final Cache mCache;
60 mCache = cache;
127 mCache.put(request.getCacheKey(), response.cacheEntry);
  /frameworks/volley/tests/src/com/android/volley/
CacheDispatcherTest.java 35 private MockCache mCache;
47 mCache = new MockCache();
52 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
68 assertFalse(mCache.getCalled);
85 mCache.setEntryToReturn(entry);
95 mCache.setEntryToReturn(entry);
108 mCache.setEntryToReturn(entry);
NetworkDispatcherTest.java 37 private MockCache mCache;
50 mCache = new MockCache();
52 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery);
88 assertFalse(mCache.putCalled);
97 assertTrue(mCache.putCalled);
98 assertNotNull(mCache.entryPut);
99 assertTrue(Arrays.equals(mCache.entryPut.data, CANNED_DATA));
100 assertEquals("bananaphone", mCache.keyPut);
  /system/core/include/utils/
LruCache.h 55 Iterator(const LruCache<TKey, TValue>& cache): mCache(cache), mIndex(-1) {
59 mIndex = mCache.mTable->next(mIndex);
68 return mCache.mTable->entryAt(mIndex).value;
72 return mCache.mTable->entryAt(mIndex).key;
75 const LruCache<TKey, TValue>& mCache;
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
CacheData.java 55 private final JsoMap mCache;
96 mCache = JsoMap.createEmptyJsoMap();
129 mCache = tempMap;
210 mCache.putObj(mKey, map);
240 return mCache.toString();
247 return mCache.containsKey(key);
274 if (mCache.containsKey(key.toString())) {
348 mCache.putObj(key.toString(), JsoMap.buildJsoMap(data));
364 return mCache.get(key);
375 return mCache.getObj(key)
    [all...]

Completed in 1727 milliseconds

12 3 4