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

1 23 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);
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
MediaSetSource.java 130 private MediaItem mCache[] = new MediaItem[CACHE_SIZE];
155 items.toArray(mCache);
165 return mCache[index - mCacheStart].getContentUri();
172 return WidgetUtils.createWidgetBitmap(mCache[index - mCacheStart]);
182 Arrays.fill(mCache, null);
  /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;
  /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);
  /packages/apps/Email/src/com/android/email/provider/
ContentCache.java 285 private final ContentCache mCache;
296 mCache = cache;
309 synchronized(mCache) {
311 if ((count == 0) && mCache.mLruCache.get(mId) != (mCursor)) {
734 private final ContentCache mCache;
762 mCache = cache;
763 mName = mCache.mName;
767 mCache = null;
799 append(sb, "Cursors", mCache == null ? mCursorCount : mCache.size())
    [all...]
  /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(),
  /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/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 55 private final BitmapCache mCache;
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);
  /packages/apps/Gallery/src/com/android/camera/
ViewImage.java 131 private BitmapCache mCache;
447 mCache.clear(); // Because the position number is changed.
486 Bitmap b = mCache.getBitmap(pos);
499 return !mCache.hasBitmap(pos + offset);
532 mCache.put(pos + offset, bitmap.getBitmap());
571 mCache = new BitmapCache(3);
572 mImageView.setRecycler(mCache);
596 v.setRecycler(mCache);
    [all...]
GridViewSpecial.java 720 // mCache maps from row number to the ImageBlock.
721 private final HashMap<Integer, ImageBlock> mCache;
761 mCache = new HashMap<Integer, ImageBlock>();
796 ImageBlock blk = mCache.get(row);
836 ImageBlock blk = mCache.get(row);
842 mCache.put(row, blk);
850 if (mCache.size() < CACHE_ROWS) {
856 for (int index : mCache.keySet()) {
859 if (mCache.get(index).hasPendingRequests()) {
876 return mCache.remove(bestIndex)
    [all...]
  /frameworks/base/libs/hwui/
LayerCache.h 137 SortedList<LayerEntry> mCache;
RenderBufferCache.h 121 SortedList<RenderBufferEntry> mCache;
TextureCache.h 150 LruCache<const SkPixelRef*, Texture*> mCache;
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.put(entry, buffer)
    [all...]
ProgramCache.cpp 427 size_t count = mCache.size();
429 delete mCache.valueAt(i);
431 mCache.clear();
442 ssize_t index = mCache.indexOfKey(key);
447 mCache.add(key, program);
449 program = mCache.valueAt(index);
ResourceCache.h 118 KeyedVector<const void*, ResourceReference*>* mCache;
  /frameworks/native/services/surfaceflinger/RenderEngine/
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());
ProgramCache.h 128 DefaultKeyedVector<Key, Program*> mCache;
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
BasicBitmapDrawable.java 69 private final BitmapCache mCache;
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);
  /packages/apps/Mms/src/com/android/mms/data/
Conversation.java     [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
VertexBuffer.h 133 std::vector<VertexElement> mCache;
  /frameworks/av/media/libstagefright/include/
NuCachedSource2.h 102 PageCache *mCache;
  /frameworks/minikin/libs/minikin/
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;
160 HbFaceCache() : mCache(kMaxEntries) {
161 mCache.setOnEntryRemovedListener(this);
169 LruCache<int32_t, hb_face_t*> mCache;
357 hb_face_t* face = cache.mCache.get(fontId)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AccountAvatarDrawable.java 40 private final BitmapCache mCache;
57 mCache = cache;
170 final ReusableBitmap cached = mCache.get(contactRequest, true /* incrementRefCount */);
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectCalendarsSyncAdapter.java 54 private CalendarColorCache mCache;
90 mCache = new CalendarColorCache(context, this);
217 return mCache.hasColors(mData[position].accountName, mData[position].accountType);

Completed in 1806 milliseconds

1 23 4