Lines Matching refs:icon
567 final ImageView imageView = (ImageView) view.findViewById(com.android.internal.R.id.icon);
687 * Sets the icon for this Preference with a Drawable.
688 * This icon will be placed into the ID
689 * {@link android.R.id#icon} within the View created by
692 * @param icon The optional icon for this Preference.
694 public void setIcon(Drawable icon) {
695 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) {
696 mIcon = icon;
703 * Sets the icon for this Preference with a resource ID.
706 * @param iconResId The icon as a resource ID.
716 * Returns the icon of this Preference.
718 * @return The icon.