Searched defs:CacheEntry (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DIconCache.java42 private static class CacheEntry { class in class:IconCache
50 private final HashMap<ComponentName, CacheEntry> mCache =
51 new HashMap<ComponentName, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
155 CacheEntry entry = cacheLocked(application.componentName, info, labelCache);
171 CacheEntry entry = cacheLocked(component, resolveInfo, null);
183 CacheEntry entry = cacheLocked(component, resolveInfo, labelCache);
192 private CacheEntry cacheLocked(ComponentName componentName, ResolveInfo info,
194 CacheEntry entry = mCache.get(componentName);
196 entry = new CacheEntry();
223 final CacheEntry
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFileCache.java52 private final LruCache<String, CacheEntry> mEntryMap =
53 new LruCache<String, CacheEntry>(LRU_CAPACITY);
62 public static final class CacheEntry { class in class:FileCache
67 private CacheEntry(long id, String contentUrl, File cacheFile) { method in class:FileCache.CacheEntry
129 public CacheEntry lookup(String downloadUrl) {
131 CacheEntry entry;
146 entry = new CacheEntry(
/packages/apps/Phone/src/com/android/phone/
H A DCallerInfoCache.java80 public static class CacheEntry { class in class:CallerInfoCache
83 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) { method in class:CallerInfoCache.CacheEntry
142 * The mapping from number to CacheEntry.
153 private volatile HashMap<String, CacheEntry> mNumberToEntry;
171 mNumberToEntry = new HashMap<String, CacheEntry>();
218 final HashMap<String, CacheEntry> newNumberToEntry =
219 new HashMap<String, CacheEntry>(cursor.getCount());
256 for (Entry<String, CacheEntry> entry : newNumberToEntry.entrySet()) {
283 private void putNewEntryWhenAppropriate(HashMap<String, CacheEntry> newNumberToEntry,
288 final CacheEntry entr
[all...]

Completed in 229 milliseconds