Home | History | Annotate | Download | only in launcher2

Lines Matching refs:Drawable

31 import android.graphics.drawable.Drawable;
45 private final HashMap<String, Drawable> mIcons = new HashMap<String, Drawable>();
46 private final HashMap<Long, SoftReference<Drawable>> mCustomIcons =
47 new HashMap<Long, SoftReference<Drawable>>();
95 final Drawable icon = loadIcon(context, cursor, holder);
130 private Drawable loadIcon(Context context, Cursor cursor, ViewHolder holder) {
131 Drawable icon = null;
139 final SoftReference<Drawable> reference = mCustomIcons.get(holder.id);
152 mCustomIcons.put(holder.id, new SoftReference<Drawable>(icon));
177 for (Drawable icon : mIcons.values()) {
182 for (SoftReference<Drawable> icon : mCustomIcons.values()) {
183 final Drawable drawable = icon.get();
184 if (drawable != null) {
185 drawable.setCallback(null);