Lines Matching defs:ShortcutInfo

53 public final class ShortcutInfo implements Parcelable {
227 private ShortcutInfo(Builder b) {
330 private ShortcutInfo(ShortcutInfo source, @CloneFlags int cloneFlags) {
591 * Copy a {@link ShortcutInfo}, optionally removing fields.
594 public ShortcutInfo clone(@CloneFlags int cloneFlags) {
595 return new ShortcutInfo(this, cloneFlags);
601 public void ensureUpdatableWith(ShortcutInfo source) {
606 Preconditions.checkState(!isImmutable(), "Target ShortcutInfo is immutable");
610 * Copy non-null/zero fields from another {@link ShortcutInfo}. Only "public" information
622 public void copyNonNullFieldsFrom(ShortcutInfo source) {
705 * Builder class for {@link ShortcutInfo} objects.
792 * @see ShortcutInfo#getActivity()
803 * <p>Icons are not available on {@link ShortcutInfo} instances
805 * app can use {@link LauncherApps#getShortcutIconDrawable(ShortcutInfo, int)}
806 * or {@link LauncherApps#getShortcutBadgedIconDrawable(ShortcutInfo, int)} to fetch
816 * @see LauncherApps#getShortcutIconDrawable(ShortcutInfo, int)
817 * @see LauncherApps#getShortcutBadgedIconDrawable(ShortcutInfo, int)
847 * @see ShortcutInfo#getShortLabel()
875 * @see ShortcutInfo#getLongLabel()
923 * @see ShortcutInfo#getDisabledMessage()
940 * @see ShortcutInfo#getCategories()
963 * @see ShortcutInfo#getIntent()
979 * @see ShortcutInfo#getIntents()
1000 * See {@link ShortcutInfo#getRank()} for details.
1014 * metadata later using {@link ShortcutInfo#getExtras()}.
1023 * Creates a {@link ShortcutInfo} instance.
1026 public ShortcutInfo build() {
1027 return new ShortcutInfo(this);
1166 * <p>Launcher apps <b>cannot</b> see the intent. If a {@link ShortcutInfo} is
1185 * <p>Launcher apps <b>cannot</b> see the intents. If a {@link ShortcutInfo} is
1601 private ShortcutInfo(Parcel source) {
1691 public static final Creator<ShortcutInfo> CREATOR =
1692 new Creator<ShortcutInfo>() {
1693 public ShortcutInfo createFromParcel(Parcel source) {
1694 return new ShortcutInfo(source);
1696 public ShortcutInfo[] newArray(int size) {
1697 return new ShortcutInfo[size];
1721 sb.append("ShortcutInfo {");
1842 public ShortcutInfo(