Lines Matching full:icon
73 holder.icon = (ImageView) view.findViewById(R.id.icon);
95 final Drawable icon = loadIcon(context, cursor, holder);
100 holder.name.setCompoundDrawablesWithIntrinsicBounds(null, icon, null, null);
102 final boolean hasIcon = icon != null;
103 holder.icon.setVisibility(hasIcon ? View.VISIBLE : View.GONE);
104 if (hasIcon) holder.icon.setImageDrawable(icon);
131 Drawable icon = null;
141 icon = reference.get();
144 if (icon == null) {
151 icon = new FastBitmapDrawable(resampled);
152 mCustomIcons.put(holder.id, new SoftReference<Drawable>(icon));
156 icon = mIcons.get(resource);
157 if (icon == null) {
164 icon = new FastBitmapDrawable(
166 mIcons.put(resource, icon);
173 return icon;
177 for (Drawable icon : mIcons.values()) {
178 icon.setCallback(null);
182 for (SoftReference<Drawable> icon : mCustomIcons.values()) {
183 final Drawable drawable = icon.get();
203 ImageView icon;