Lines Matching defs:icon
106 * match's icon. From the "icon" attribute or, if not set, 0.
108 public int icon;
111 * Optional -- if non-null, the {@link #labelRes} and {@link #icon}
160 * Retrieve the current graphical icon associated with this resolution. This
161 * will call back on the given PackageManager to load the icon from
164 * @param pm A PackageManager from which the icon can be loaded; usually
167 * @return Returns a Drawable containing the resolution's icon. If the
168 * item does not have an icon, the default activity icon is returned.
172 if (resolvePackageName != null && icon != 0) {
173 dr = pm.getDrawable(resolvePackageName, icon, null);
180 if (icon != 0) {
181 dr = pm.getDrawable(ci.packageName, icon, ai);
190 * Return the icon resource identifier to use for this match. If the
191 * match defines an icon, that is used; else if the activity defines
192 * an icon, that is used; else, the application icon is used.
194 * @return The icon associated with this match.
197 if (icon != 0) return icon;
216 if (labelRes != 0 || nonLocalizedLabel != null || icon != 0) {
219 + " icon=0x" + Integer.toHexString(icon));
243 icon = orig.icon;
282 dest.writeInt(icon);
322 icon = source.readInt();