Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java9 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testPut() local
17 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testTracingInUsedObject() local
29 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(2); in testLruAlgorithm() local
60 LruCache<Integer, Integer> cache = new LruCache<Integer, Integer>(4); in testConcurrentAccess() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMemoryCacheManager.java45 public void registerMemoryCache(final MemoryCache cache) { in registerMemoryCache()
54 public void unregisterMemoryCache(final MemoryCache cache) { in unregisterMemoryCache()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaCacheManager.java50 MediaCache<?> cache = mCaches.get(id); in getOrCreateMediaCacheById() local
61 final MediaCache<?> cache = getOrCreateMediaCacheById(cacheId); in getOrCreateBitmapPoolForCache() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DBuffer.java37 BitmapCache cache = MasterImage.getImage().getBitmapCache(); in Buffer() local
91 BitmapCache cache = MasterImage.getImage().getBitmapCache(); in remove() local
DFilterEnvironment.java58 public void setBitmapCache(BitmapCache cache) { in setBitmapCache()
62 public void cache(Buffer buffer) { in cache() method in FilterEnvironment
66 public void cache(Bitmap bitmap) { in cache() method in FilterEnvironment
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java117 public void setCacheProcessing(CacheProcessing cache) { in setCacheProcessing()
121 public void cache(Buffer buffer) { in cache() method in BitmapCache
129 public synchronized boolean cache(Bitmap bitmap) { in cache() method in BitmapCache
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DCacheManager.java91 void onWrite(SampleCache cache); in onWrite()
92 void onDelete(SampleCache cache); in onDelete()
267 public synchronized void add(SampleCache cache) { in add()
271 public synchronized void remove(SampleCache cache) { in remove()
358 SampleCache cache = null; in loadTrackFormStorage() local
405 SampleCache cache = map.get(map.firstKey()); in maybeEvictCache() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DDictionaryFacilitatorLruCacheTests.java27 final DictionaryFacilitatorLruCache cache = in testGetFacilitator() local
/packages/apps/Dialer/src/com/android/dialer/util/
DExpirableCache.java155 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache()
252 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAccountAvatarDrawable.java32 public AccountAvatarDrawable(final Resources res, final BitmapCache cache, in AccountAvatarDrawable()
DContactResolver.java77 public ContactResolver(final ContentResolver resolver, final BitmapCache cache) { in ContactResolver()
166 final ContentResolver resolver, final BitmapCache cache, in ContactResolverTask()
/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java209 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2); in testContentCacheRemoveEldestEntry() local
266 ContentCache cache = new ContentCache("Name", SIMPLE_PROJECTION, 2); in testCloseCachedCursor() local
/packages/apps/Settings/src/com/android/settings/wifi/
DLongPressAccessPointPreference.java49 UserBadgeCache cache, boolean forSavedNetworks, Fragment fragment) { in LongPressAccessPointPreference()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java226 final SyncManager.ThreadInfoCache cache = syncManager.getThreadInfoCache(); in doBackgroundWork() local
281 final int maxMessagesToUpdate, final ThreadInfoCache cache) { in syncCursorPair()
579 final ThreadInfoCache cache) { in setMmsSenders()
602 private String getMmsSender(final MmsMessage mms, final ThreadInfoCache cache) { in getMmsSender()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DCacheManager.java46 BlobCache cache = sCacheMap.get(filename); in getCache() local
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
DAccountDrawerItem.java37 int unreadCount, boolean isCurrentAccount, BitmapCache cache, in AccountDrawerItem()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitator.java62 void setValidSpellingWordReadCache(final LruCache<String, Boolean> cache); in setValidSpellingWordReadCache()
68 void setValidSpellingWordWriteCache(final LruCache<String, Boolean> cache); in setValidSpellingWordWriteCache()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java105 public Drawable getIcon(Context context, IconCache cache) { in getIcon()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatV16.java88 public Drawable loadIcon(LauncherAppWidgetProviderInfo info, IconCache cache) { in loadIcon()
DAppWidgetManagerCompat.java87 public abstract Drawable loadIcon(LauncherAppWidgetProviderInfo info, IconCache cache); in loadIcon()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DFastScrollingIndexCacheTest.java83 private static final Bundle putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri, in putAndGetBundle()
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java138 final Bitmap[] cache = (getDefault) ? mDefaultBitmapCache : mBitmapBackgroundCache; in getBitmap() local
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DStorageTest.java164 int dest, CacheStatus cache, BodyType body, int expectedStatus, int expectedReason) in prepareAndRunDownload()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DThumbnailLoadTask.java51 public static void setupThumbnailPreview(AttachmentTile.AttachmentPreviewCache cache, in setupThumbnailPreview()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DConferenceParticipantListAdapter.java349 final ContactInfoCache cache = ContactInfoCache.getInstance(mContext); in getView() local
460 final ContactInfoCache cache = ContactInfoCache.getInstance(mContext); in updateParticipantInfo() local

123