Home | History | Annotate | Download | only in content

Lines Matching defs:ShortcutIconResource

703      * (value: ShortcutIconResource).</p>
709 * @see android.content.Intent.ShortcutIconResource
733 * The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
736 * @see android.content.Intent.ShortcutIconResource
749 public static class ShortcutIconResource implements Parcelable {
761 * Creates a new ShortcutIconResource for the specified context and resource
766 * @return A new ShortcutIconResource with the specified's context package name
769 public static ShortcutIconResource fromContext(Context context, int resourceId) {
770 ShortcutIconResource icon = new ShortcutIconResource();
777 * Used to read a ShortcutIconResource from a Parcel.
779 public static final Parcelable.Creator<ShortcutIconResource> CREATOR =
780 new Parcelable.Creator<ShortcutIconResource>() {
782 public ShortcutIconResource createFromParcel(Parcel source) {
783 ShortcutIconResource icon = new ShortcutIconResource();
789 public ShortcutIconResource[] newArray(int size) {
790 return new ShortcutIconResource[size];