Lines Matching refs:Key
34 public static class Key { class in PagedViewIconCache
43 public Key(ApplicationInfo info) { in Key() method in PagedViewIconCache.Key
47 public Key(ResolveInfo info) { in Key() method in PagedViewIconCache.Key
53 public Key(AppWidgetProviderInfo info) { in Key() method in PagedViewIconCache.Key
67 if (o instanceof Key) { in equals()
68 Key k = (Key) o; in equals()
79 private final HashMap<Key, Bitmap> mIconOutlineCache = new HashMap<Key, Bitmap>();
82 for (Key key : mIconOutlineCache.keySet()) { in clear()
87 private void retainAll(HashSet<Key> keysToKeep, Key.Type t) { in retainAll()
88 HashSet<Key> keysToRemove = new HashSet<Key>(mIconOutlineCache.keySet()); in retainAll()
90 for (Key key : keysToRemove) { in retainAll()
99 HashSet<Key> keysSet = new HashSet<Key>(); in retainAllApps()
101 keysSet.add(new Key(info)); in retainAllApps()
103 retainAll(keysSet, Key.Type.ApplicationInfoKey); in retainAllApps()
107 HashSet<Key> keysSet = new HashSet<Key>(); in retainAllShortcuts()
109 keysSet.add(new Key(info)); in retainAllShortcuts()
111 retainAll(keysSet, Key.Type.ResolveInfoKey); in retainAllShortcuts()
115 HashSet<Key> keysSet = new HashSet<Key>(); in retainAllAppWidgets()
117 keysSet.add(new Key(info)); in retainAllAppWidgets()
119 retainAll(keysSet, Key.Type.AppWidgetProviderInfoKey); in retainAllAppWidgets()
121 public void addOutline(Key key, Bitmap b) { in addOutline()
124 public void removeOutline(Key key) { in removeOutline()
130 public Bitmap getOutline(Key key) { in getOutline()