Searched refs:ShortcutQuery (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 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 …]
|
D | BaseShortcutManagerTest.java | 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_DYNAMIC 1880 | ShortcutQuery.FLAG_MATCH_PINNED); 1955 protected static ShortcutQuery buildQuery(long changedSince, 1961 protected static ShortcutQuery buildQuery(long changedSince, [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 292 public static class ShortcutQuery { class in LauncherApps 406 public ShortcutQuery() { in ShortcutQuery() method in LauncherApps.ShortcutQuery 414 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() 907 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts() 933 final ShortcutQuery q = new ShortcutQuery(); in getShortcutInfo() 936 q.setQueryFlags(ShortcutQuery.FLAG_GET_ALL_KINDS); in getShortcutInfo() [all …]
|
D | ShortcutServiceInternal.java | 26 import android.content.pm.LauncherApps.ShortcutQuery; 48 @Nullable ComponentName componentName, @ShortcutQuery.QueryFlags int flags, in getShortcuts()
|
D | ShortcutInfo.java | 32 import android.content.pm.LauncherApps.ShortcutQuery;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 38 import android.content.pm.LauncherApps.ShortcutQuery; 1104 ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY in onShortcutChangedInner() 1105 | ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED in onShortcutChangedInner()
|
D | ShortcutService.java | 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()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2367 final LauncherApps.ShortcutQuery q = new LauncherApps.ShortcutQuery(); 2370 q.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC);
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 11290 …m.ShortcutInfo> getShortcuts(@NonNull android.content.pm.LauncherApps.ShortcutQuery, @NonNull andr… 11341 public static class LauncherApps.ShortcutQuery { 11342 ctor public LauncherApps.ShortcutQuery(); 11343 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.… 11344 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long); 11345 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(@Nullable String); 11346 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int); 11347 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(@Nullable java.util.Lis…
|
/frameworks/base/api/ |
D | current.txt | 11290 …m.ShortcutInfo> getShortcuts(@NonNull android.content.pm.LauncherApps.ShortcutQuery, @NonNull andr… 11341 public static class LauncherApps.ShortcutQuery { 11342 ctor public LauncherApps.ShortcutQuery(); 11343 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.… 11344 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long); 11345 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(@Nullable String); 11346 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int); 11347 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(@Nullable java.util.Lis…
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 15089 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_ALL_KINDS:I 15090 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_DYNAMIC:I 15091 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_MANIFEST:I 15092 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_PINNED:I 15093 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_MATCH_ALL_KINDS:I 15094 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED:I 15095 Landroid/content/pm/LauncherApps$ShortcutQuery;->mActivity:Landroid/content/ComponentName; 15096 Landroid/content/pm/LauncherApps$ShortcutQuery;->mChangedSince:J 15097 Landroid/content/pm/LauncherApps$ShortcutQuery;->mPackage:Ljava/lang/String; 15098 Landroid/content/pm/LauncherApps$ShortcutQuery;->mQueryFlags:I [all …]
|
D | boot-image-profile.txt | 41409 HSPLandroid/content/pm/LauncherApps;->getShortcuts(Landroid/content/pm/LauncherApps$ShortcutQuery;L…
|