Home | History | Annotate | Download | only in content

Lines Matching defs:ShortcutIconResource

676      * (value: ShortcutIconResource).</p>
682 * @see android.content.Intent.ShortcutIconResource
706 * The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
709 * @see android.content.Intent.ShortcutIconResource
722 public static class ShortcutIconResource implements Parcelable {
734 * Creates a new ShortcutIconResource for the specified context and resource
739 * @return A new ShortcutIconResource with the specified's context package name
742 public static ShortcutIconResource fromContext(Context context, int resourceId) {
743 ShortcutIconResource icon = new ShortcutIconResource();
750 * Used to read a ShortcutIconResource from a Parcel.
752 public static final Parcelable.Creator<ShortcutIconResource> CREATOR =
753 new Parcelable.Creator<ShortcutIconResource>() {
755 public ShortcutIconResource createFromParcel(Parcel source) {
756 ShortcutIconResource icon = new ShortcutIconResource();
762 public ShortcutIconResource[] newArray(int size) {
763 return new ShortcutIconResource[size];