Searched refs:ShortcutQuery (Results 1 – 9 of 9) sorted by relevance
82 import android.content.pm.LauncherApps.ShortcutQuery;1272 /* activity =*/ null, ShortcutQuery.FLAG_GET_DYNAMIC), getCallingUser())), in testGetShortcuts()1279 ShortcutQuery.FLAG_GET_PINNED), getCallingUser()) in testGetShortcuts()1287 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()1296 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()1305 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()1314 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()1321 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()1328 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()1335 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()[all …]
59 import android.content.pm.LauncherApps.ShortcutQuery;714 protected static final ShortcutQuery QUERY_ALL = new ShortcutQuery();741 ShortcutQuery.FLAG_GET_ALL_KINDS);1866 final ShortcutQuery q = new ShortcutQuery();1874 return getLauncherShortcuts(launcher, userId, ShortcutQuery.FLAG_GET_PINNED);1878 final ShortcutQuery q = new ShortcutQuery();1879 q.setQueryFlags(ShortcutQuery.FLAG_MATCH_DYNAMIC | ShortcutQuery.FLAG_MATCH_DYNAMIC1880 | ShortcutQuery.FLAG_MATCH_PINNED);1955 protected static ShortcutQuery buildQuery(long changedSince,1961 protected static ShortcutQuery buildQuery(long changedSince,[all …]
292 public static class ShortcutQuery { class in LauncherApps406 public ShortcutQuery() { in ShortcutQuery() method in LauncherApps.ShortcutQuery414 public ShortcutQuery setChangedSince(long changedSince) { in setChangedSince()422 public ShortcutQuery setPackage(@Nullable String packageName) { in setPackage()431 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds()441 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity()457 public ShortcutQuery setQueryFlags(@QueryFlags int queryFlags) { in setQueryFlags()878 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts()904 final ShortcutQuery q = new ShortcutQuery(); in getShortcutInfo()907 q.setQueryFlags(ShortcutQuery.FLAG_GET_ALL_KINDS); in getShortcutInfo()[all …]
26 import android.content.pm.LauncherApps.ShortcutQuery;48 @Nullable ComponentName componentName, @ShortcutQuery.QueryFlags int flags, in getShortcuts()
32 import android.content.pm.LauncherApps.ShortcutQuery;
38 import android.content.pm.LauncherApps.ShortcutQuery;1110 ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY in onShortcutChangedInner()1111 | ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED in onShortcutChangedInner()
41 import android.content.pm.LauncherApps.ShortcutQuery;2574 ((queryFlags & ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY) != 0); in getShortcuts()2620 final boolean matchDynamic = (queryFlags & ShortcutQuery.FLAG_MATCH_DYNAMIC) != 0; in getShortcutsInnerLocked()2621 final boolean matchPinned = (queryFlags & ShortcutQuery.FLAG_MATCH_PINNED) != 0; in getShortcutsInnerLocked()2622 final boolean matchManifest = (queryFlags & ShortcutQuery.FLAG_MATCH_MANIFEST) != 0; in getShortcutsInnerLocked()2629 ((queryFlags & ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER) != 0); in getShortcutsInnerLocked()
2093 final LauncherApps.ShortcutQuery q = new LauncherApps.ShortcutQuery();2096 q.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC);
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...