Searched refs:ShareShortcutInfo (Results 1 – 7 of 7) sorted by relevance
571 public List<ShareShortcutInfo> getShareTargets(@NonNull IntentFilter filter) { in getShareTargets()586 public static final class ShareShortcutInfo implements Parcelable { class in ShortcutManager593 public ShareShortcutInfo(@NonNull ShortcutInfo shortcutInfo, in ShareShortcutInfo() method in ShortcutManager.ShareShortcutInfo606 private ShareShortcutInfo(@NonNull Parcel in) { in ShareShortcutInfo() method in ShortcutManager.ShareShortcutInfo632 public static final @NonNull Parcelable.Creator<ShareShortcutInfo> CREATOR =633 new Parcelable.Creator<ShareShortcutInfo>() {634 public ShareShortcutInfo createFromParcel(Parcel in) {635 return new ShareShortcutInfo(in);638 public ShareShortcutInfo[] newArray(int size) {639 return new ShareShortcutInfo[size];
56 import android.content.pm.ShortcutManager.ShareShortcutInfo;855 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_predictionService()865 List<ShareShortcutInfo> subset = new ArrayList<>(); in testConvertToChooserTarget_predictionService()891 List<ShareShortcutInfo> shortcuts = createShortcuts(activity); in testConvertToChooserTarget_shortcutManager()901 List<ShareShortcutInfo> subset = new ArrayList<>(); in testConvertToChooserTarget_shortcutManager()1212 private List<ShareShortcutInfo> createShortcuts(Context context) { in createShortcuts()1215 List<ShareShortcutInfo> shortcuts = new ArrayList<>(); in createShortcuts()1216 shortcuts.add(new ShareShortcutInfo( in createShortcuts()1220 shortcuts.add(new ShareShortcutInfo( in createShortcuts()1224 shortcuts.add(new ShareShortcutInfo( in createShortcuts()[all …]
688 final List<ShortcutManager.ShareShortcutInfo> shareShortcutInfos = in onCreate()694 shareShortcutInfos.add(new ShortcutManager.ShareShortcutInfo( in onCreate()1719 List<ShortcutManager.ShareShortcutInfo> resultList = sm.getShareTargets(filter);1725 List<ShortcutManager.ShareShortcutInfo> resultList,1753 List<ShortcutManager.ShareShortcutInfo> matchingShortcuts = new ArrayList<>();1817 @NonNull List<ShortcutManager.ShareShortcutInfo> matchingShortcuts,1818 @NonNull List<ShortcutManager.ShareShortcutInfo> allShortcuts,
660 public List<ShortcutManager.ShareShortcutInfo> getMatchingShareTargets( in getMatchingShareTargets()683 final List<ShortcutManager.ShareShortcutInfo> result = new ArrayList<>(); in getMatchingShareTargets()700 result.add(new ShortcutManager.ShareShortcutInfo(shortcuts.get(i), in getMatchingShareTargets()
2160 public ParceledListSlice<ShortcutManager.ShareShortcutInfo> getShareTargets(String packageName, in getShareTargets()2169 final List<ShortcutManager.ShareShortcutInfo> shortcutInfoList = new ArrayList<>(); in getShareTargets()
1942 …EDICTIONS) public java.util.List<android.content.pm.ShortcutManager.ShareShortcutInfo> getShareTar…1946 public static final class ShortcutManager.ShareShortcutInfo implements android.os.Parcelable {1951 … final android.os.Parcelable.Creator<android.content.pm.ShortcutManager.ShareShortcutInfo> CREATOR;