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

12

  /frameworks/support/volley/src/com/android/volley/
NetworkDispatcher.java 36 private final Cache mCache;
56 mCache = cache;
112 mCache.put(request.getCacheKey(), response.cacheEntry);
RequestQueue.java 78 private final Cache mCache;
102 mCache = cache;
136 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
142 mCache, mDelivery);
  /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));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
PropertyFactory.java 83 private Map<UiViewElementNode, Property[]> mCache =
140 mCache.clear();
143 Property[] properties = mCache.get(node);
154 mCache.put(node, properties);
  /frameworks/base/include/androidfw/
AssetManager.h 369 SortedVector<AssetDir::FileInfo> mCache;
ResourceTypes.h 482 char16_t** mCache;
    [all...]
  /frameworks/base/libs/hwui/
TextDropShadowCache.h 147 GenerationCache<ShadowText, ShadowTexture*> mCache;
ShapeCache.h 354 return mCache.get(entry);
359 GenerationCache<Entry, PathTexture*> mCache;
418 mCache(GenerationCache<ShapeCacheEntry, PathTexture*>::kUnlimitedCapacity),
438 mCache.clear();
444 mCache.setOnEntryRemovedListener(this);
471 mCache.removeOldest();
528 mCache.removeOldest();
603 mCache.put(entry, texture);
611 mCache.clear();
  /frameworks/native/include/utils/
GenerationCache.h 81 KeyedVector<K, sp<Entry<K, V> > > mCache;
107 return mCache.size();
122 for (uint32_t i = 0; i < mCache.size(); i++) {
123 sp<Entry<K, V> > entry = mCache.valueAt(i);
129 mCache.clear();
136 return mCache.indexOfKey(key) >= 0;
141 return mCache.keyAt(index);
146 return mCache.valueAt(index)->value;
151 ssize_t index = mCache.indexOfKey(key);
153 const sp<Entry<K, V> >& entry = mCache.valueAt(index)
    [all...]
  /frameworks/support/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);
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
MediaSetSource.java 38 private MediaItem mCache[] = new MediaItem[CACHE_SIZE];
63 items.toArray(mCache);
73 return mCache[index - mCacheStart].getContentUri();
80 return WidgetUtils.createWidgetBitmap(mCache[index - mCacheStart]);
90 Arrays.fill(mCache, null);
  /external/doclava/src/com/google/doclava/
Converter.java 247 return mCache.values().toArray(new ClassInfo[mCache.size()]);
598 mCache.put(key, value);
606 Object r = mCache.get(k);
609 mCache.put(k, r);
615 protected HashMap<Object, Object> mCache = new HashMap<Object, Object>();
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
VertexDataManager.h 111 std::vector<VertexElement> mCache;
  /frameworks/base/core/java/android/widget/
RemoteViewsAdapter.java 70 private FixedSizeRemoteViewsCache mCache;
192 synchronized (adapter.mCache) {
193 adapter.mCache.commitTemporaryMetaData();
400 synchronized (mCache) {
741 mCache = new FixedSizeRemoteViewsCache(sDefaultCacheSize);
766 synchronized (mCache) {
767 int[] res = mCache.getNextIndexToLoad();
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
StrokedTextView.java 39 private Bitmap mCache;
83 mCache = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
85 mCache = null;
90 if (mCache != null) {
101 mCanvas.setBitmap(mCache);
133 canvas.drawBitmap(mCache, 0, 0, mPaint);
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
MediaItemView.java 637 private LruCache<ThumbnailKey, Bitmap> mCache;
640 mCache = new LruCache<ThumbnailKey, Bitmap>(size) {
649 mCache.put(key, value);
653 return mCache.get(key);
657 Map<ThumbnailKey, Bitmap> map = mCache.snapshot();
660 mCache.remove(key);
  /frameworks/base/core/jni/android/graphics/
TextLayoutCache.h 283 GenerationCache<TextLayoutCacheKey, sp<TextLayoutValue> > mCache;
  /packages/apps/Gallery/src/com/android/camera/
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...]
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...]
  /packages/apps/Email/src/com/android/email/provider/
ContentCache.java 284 private final ContentCache mCache;
295 mCache = cache;
308 synchronized(mCache) {
310 if ((count == 0) && mCache.mLruCache.get(mId) != (mCursor)) {
762 private final ContentCache mCache;
790 mCache = cache;
791 mName = mCache.mName;
795 mCache = null;
827 append(sb, "Cursors", mCache == null ? mCursorCount : mCache.size())
    [all...]
  /frameworks/av/media/libstagefright/
MPEG4Extractor.cpp 118 uint8_t *mCache;
130 mCache(NULL) {
138 if (mCache) {
139 free(mCache);
140 mCache = NULL;
156 memcpy(data, &mCache[offset - mCachedOffset], size);
176 mCache = (uint8_t *)malloc(size);
178 if (mCache == NULL) {
185 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
    [all...]
  /packages/apps/Mms/src/com/android/mms/data/
Conversation.java     [all...]
  /prebuilt/common/tradefed/
tradefed-prebuilt.jar 

Completed in 1376 milliseconds

12