Searched defs:cache (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DRenderingRequestCaller.java17 package com.android.gallery3d.filtershow.cache;
H A DZoomCache.java17 package com.android.gallery3d.filtershow.cache;
H A DTripleBufferBitmap.java17 package com.android.gallery3d.filtershow.cache;
H A DFilteringPipeline.java17 package com.android.gallery3d.filtershow.cache;
H A DRenderingRequest.java17 package com.android.gallery3d.filtershow.cache;
H A DCachingPipeline.java17 package com.android.gallery3d.filtershow.cache;
369 mEnvironment.cache(buffer.getProducer());
377 mEnvironment.cache(buffer.getProducer());
385 mEnvironment.cache(buffer.getProducer());
H A DImageLoader.java17 package com.android.gallery3d.filtershow.cache;
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DSmartDialLoaderTask.java41 * This task searches through the provided cache to return the top 3 contacts(ranked by confidence)
69 SmartDialCache cache) {
72 this.mContactsCache = cache;
99 Log.d(LOG_TAG, "Size of cache: " + trie.size());
68 SmartDialLoaderTask(SmartDialLoaderCallback callback, String query, SmartDialCache cache) argument
/packages/apps/Dialer/src/com/android/dialer/util/
H A DExpirableCache.java29 * An LRU cache in which all items can be marked as expired at a given time and it is possible to
35 * Consider a cache for contact information:
41 * the cache:
56 * and insert it back into the cache when the fetch completes.
58 * At a certain point we want to expire the content of the cache because we know the content may
68 * The values will be still available from the cache, but they will be expired.
75 * for evicting items when the cache is full. It is possible to supply your own subclass of LruCache
77 * Since the underlying cache maps keys to cached values it can determine which items are expired
89 * A cached value stored inside the cache.
91 * It provides access to the value stored in the cache bu
155 ExpirableCache(LruCache<K, CachedValue<V>> cache) argument
252 create(LruCache<K, CachedValue<V>> cache) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DFastScrollingIndexCacheTest.java84 private static final Bundle putAndGetBundle(FastScrollingIndexCache cache, Uri queryUri, argument
88 cache.put(queryUri, selection, selectionArgs, sortOrder, countExpression, bundle);
93 // Initially the cache is empty
141 // Now, create a new cache instance (with the same shared preferences)
142 // It should restore the cache content from the preferences...
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DFilterEnvironment.java23 import com.android.gallery3d.filtershow.cache.CachingPipeline;
51 public void cache(Bitmap bitmap) { method in class:FilterEnvironment
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaObject.java56 // These are flags for cache() and return values for getCacheFlag():
143 public void cache(int flag) { method in class:MediaObject
/packages/apps/Email/src/com/android/email/provider/
H A DContentCache.java39 * An LRU cache for EmailContent (Account, HostAuth, Mailbox, and Message, thus far). The intended
40 * user of this cache is EmailProvider itself; caching is entirely transparent to users of the
46 * To create a cache:
47 * ContentCache cache = new ContentCache(name, projection, max);
49 * To (try to) get a cursor from a cache:
50 * Cursor cursor = cache.getCursor(id, projection);
52 * To read from a table and cache the resulting cursor:
53 * 1. Get a CacheToken: CacheToken token = cache.getToken(id);
55 * 3. Put the cursor in the cache: cache
292 CachedCursor(Cursor cursor, ContentCache cache, String id) argument
789 Statistics(ContentCache cache) argument
799 addCacheStatistics(ContentCache cache) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherModel.java1852 Log.d(TAG, "bound all " + list.size() + " apps from cache in "
2453 boolean queueIconToBeChecked(HashMap<Object, byte[]> cache, ShortcutInfo info, Cursor c, argument
2466 cache.put(info, c.getBlob(iconIndex));
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java125 /** Resolved canonical path to cache storage. */
137 // In memory cache of path<->id mappings, to speed up inserts during media scan
302 // We could remove only the deleted entry from the cache, but that
304 // clear the entire cache.
306 // entry from the cache
403 * An LRU cache system is used to clean up databases for old external
4805 * @param cacheName The string that will be inserted in to the cache
4809 * @param cache The cache to add this entry to
4817 String artist, HashMap<String, Long> cache, Ur
4814 getKeyIdForName(DatabaseHelper helper, SQLiteDatabase db, String table, String keyField, String nameField, String rawName, String cacheName, String path, int albumHash, String artist, HashMap<String, Long> cache, Uri srcuri) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java722 /** In-memory cache of previously found MIME-type mappings */
725 /** In-memory cache the packages table */
846 // in the cache
3136 * scrolling index cache.
4266 * created. All new, uncached answers are added to the cache automatically.
4270 * existing one is found in cache or from query.
4272 * @param cache In-memory cache of previous answers.
4276 String value, HashMap<String, Long> cache) {
4289 cache
4275 lookupAndCacheId(SQLiteStatement query, SQLiteStatement insert, String value, HashMap<String, Long> cache) argument
[all...]

Completed in 354 milliseconds