Home
last modified time | relevance | path

Searched refs:ShortcutQuery (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java74 import android.content.pm.LauncherApps.ShortcutQuery;
1221 /* activity =*/ null, ShortcutQuery.FLAG_GET_DYNAMIC), getCallingUser())), in testGetShortcuts()
1228 ShortcutQuery.FLAG_GET_PINNED), getCallingUser()) in testGetShortcuts()
1236 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1245 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1254 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1263 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1270 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1277 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1284 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
[all …]
DBaseShortcutManagerTest.java56 import android.content.pm.LauncherApps.ShortcutQuery;
679 protected static final ShortcutQuery QUERY_ALL = new ShortcutQuery();
702 ShortcutQuery.FLAG_GET_ALL_KINDS);
1760 final ShortcutQuery q = new ShortcutQuery();
1768 return getLauncherShortcuts(launcher, userId, ShortcutQuery.FLAG_GET_PINNED);
1772 final ShortcutQuery q = new ShortcutQuery();
1773 q.setQueryFlags(ShortcutQuery.FLAG_MATCH_DYNAMIC | ShortcutQuery.FLAG_MATCH_DYNAMIC
1774 | ShortcutQuery.FLAG_MATCH_PINNED);
1849 protected static ShortcutQuery buildQuery(long changedSince,
1855 protected static ShortcutQuery buildQuery(long changedSince,
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java256 public static class ShortcutQuery { class in LauncherApps
340 public ShortcutQuery() { in ShortcutQuery() method in LauncherApps.ShortcutQuery
348 public ShortcutQuery setChangedSince(long changedSince) { in setChangedSince()
356 public ShortcutQuery setPackage(@Nullable String packageName) { in setPackage()
365 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds()
375 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity()
391 public ShortcutQuery setQueryFlags(@QueryFlags int queryFlags) { in setQueryFlags()
697 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts()
717 final ShortcutQuery q = new ShortcutQuery(); in getShortcutInfo()
720 q.setQueryFlags(ShortcutQuery.FLAG_GET_ALL_KINDS); in getShortcutInfo()
[all …]
DShortcutServiceInternal.java26 import android.content.pm.LauncherApps.ShortcutQuery;
48 @Nullable ComponentName componentName, @ShortcutQuery.QueryFlags int flags, in getShortcuts()
DShortcutInfo.java26 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java34 import android.content.pm.LauncherApps.ShortcutQuery;
916 ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY in onShortcutChangedInner()
917 | ShortcutQuery.FLAG_GET_ALL_KINDS in onShortcutChangedInner()
DShortcutService.java40 import android.content.pm.LauncherApps.ShortcutQuery;
2377 ((queryFlags & ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY) != 0); in getShortcuts()
2434 if (((queryFlags & ShortcutQuery.FLAG_GET_DYNAMIC) != 0) in getShortcutsInnerLocked()
2438 if (((queryFlags & ShortcutQuery.FLAG_GET_PINNED) != 0) in getShortcutsInnerLocked()
2442 if (((queryFlags & ShortcutQuery.FLAG_GET_MANIFEST) != 0) in getShortcutsInnerLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java25 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/
Dcompiled-classes-phone1021 android.content.pm.LauncherApps$ShortcutQuery
/frameworks/base/api/
Dcurrent.txt10331 …content.pm.ShortcutInfo> getShortcuts(android.content.pm.LauncherApps.ShortcutQuery, android.os.Us…
10376 public static class LauncherApps.ShortcutQuery {
10377 ctor public LauncherApps.ShortcutQuery();
10378 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(android.content.ComponentN…
10379 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long);
10380 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(java.lang.String);
10381 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int);
10382 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(java.util.List<java.lan…
Dsystem-current.txt11002 …content.pm.ShortcutInfo> getShortcuts(android.content.pm.LauncherApps.ShortcutQuery, android.os.Us…
11047 public static class LauncherApps.ShortcutQuery {
11048 ctor public LauncherApps.ShortcutQuery();
11049 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(android.content.ComponentN…
11050 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long);
11051 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(java.lang.String);
11052 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int);
11053 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(java.util.List<java.lan…