Searched defs:shortcuts (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 168 * Indicates that one or more shortcuts of any kind (dynamic, pinned, or manifest) 174 * @param packageName The name of the package that has the shortcuts. 175 * @param shortcuts All shortcuts from the package (dynamic, manifest and/or pinned). 183 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { 192 * Include dynamic shortcuts in the result. 201 * Include pinned shortcuts in the result. 210 * Include manifest shortcuts in the result. 233 * in memory in order to show shortcuts without a delay. 274 * If non-zero, returns only shortcuts tha 182 onShortcutsChanged(@onNull String packageName, @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) argument 963 List<ShortcutInfo> shortcuts; field in class:LauncherApps.CallbackMessageHandler.CallbackInfo 1058 postOnShortcutChanged(String packageName, UserHandle user, List<ShortcutInfo> shortcuts) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutPackage.java | 107 * All the shortcuts from the package, keyed on IDs. 155 // Can't restore due to version/signature mismatch. Remove all shortcuts. 162 // we need to re-calculate the pinned shortcuts. 192 public void ensureImmutableShortcutsNotIncluded(@NonNull List<ShortcutInfo> shortcuts) { argument 193 for (int i = shortcuts.size() - 1; i >= 0; i--) { 194 ensureNotImmutable(shortcuts.get(i).getId()); 222 * It checks the max number of dynamic shortcuts. 227 "add/setDynamicShortcuts() cannot publish disabled shortcuts"); 254 * Remove all shortcuts that aren't pinned nor dynamic. 277 * Remove all dynamic shortcuts [all...] |
H A D | ShortcutService.java | 177 static final String FILENAME_USER_PACKAGES = "shortcuts.xml"; 220 * Key name for the max dynamic shortcuts per activity. (int) 270 * Max number of dynamic + manifest shortcuts that each application can have at a time. 1541 throw new IllegalArgumentException("Max number of dynamic shortcuts exceeded"); 1546 * Return the max number of dynamic + manifest shortcuts for each launcher icon. 1623 private void fillInDefaultActivity(List<ShortcutInfo> shortcuts) { argument 1626 for (int i = shortcuts.size() - 1; i >= 0; i--) { 1627 final ShortcutInfo si = shortcuts.get(i); 1640 private void assignImplicitRanks(List<ShortcutInfo> shortcuts) { argument 1641 for (int i = shortcuts [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
H A D | ShortcutManagerTestUtils.java | 235 runShortcutCommandForSuccess(instrumentation, "clear-shortcuts " 410 "Max number of dynamic shortcuts exceeded", r::run); 703 public static List<ShortcutInfo> sortedByRank(List<ShortcutInfo> shortcuts) { argument 704 final ArrayList<ShortcutInfo> ret = new ArrayList<>(shortcuts); 905 assertTrue("No shortcuts found.", found); 1031 final ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); 1034 shortcuts.capture(), 1036 return new ShortcutListAsserter(shortcuts.getValue());
|
Completed in 54 milliseconds