/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 285 @NonNull List<ShortcutInfo> shortcuts, @NonNull UserHandle user) { in onShortcutsChanged() argument 847 private List<ShortcutInfo> maybeUpdateDisabledMessage(List<ShortcutInfo> shortcuts) { in maybeUpdateDisabledMessage() argument 848 if (shortcuts == null) { in maybeUpdateDisabledMessage() 851 for (int i = shortcuts.size() - 1; i >= 0; i--) { in maybeUpdateDisabledMessage() 852 final ShortcutInfo si = shortcuts.get(i); in maybeUpdateDisabledMessage() 859 return shortcuts; in maybeUpdateDisabledMessage() 956 final List<ShortcutInfo> shortcuts = getShortcuts(q, user); in getShortcutIconResId() local 958 return shortcuts.size() > 0 ? shortcuts.get(0).getIconResourceId() : 0; in getShortcutIconResId() 1327 ParceledListSlice shortcuts) { 1331 final List<ShortcutInfo> list = shortcuts.getList(); [all …]
|
D | IOnAppsChangedListener.aidl | 35 void onShortcutChanged(in UserHandle user, String packageName, in ParceledListSlice shortcuts); in onShortcutChanged() argument
|
D | IShortcutService.aidl | 45 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); in updateShortcuts() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutPicker.java | 68 List<Shortcut> shortcuts = new ShortcutParser(getContext(), in onCreatePreferences() 72 if (shortcuts.size() != 0) { in onCreatePreferences() 77 shortcuts.forEach(shortcut -> { in onCreatePreferences()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 241 public void ensureImmutableShortcutsNotIncluded(@NonNull List<ShortcutInfo> shortcuts, in ensureImmutableShortcutsNotIncluded() argument 243 for (int i = shortcuts.size() - 1; i >= 0; i--) { in ensureImmutableShortcutsNotIncluded() 244 ensureNotImmutable(shortcuts.get(i).getId(), ignoreInvisible); in ensureImmutableShortcutsNotIncluded() 679 final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in getMatchingShareTargets() local 680 findAll(shortcuts, ShortcutInfo::isDynamicVisible, in getMatchingShareTargets() 684 for (int i = 0; i < shortcuts.size(); i++) { in getMatchingShareTargets() 685 final Set<String> categories = shortcuts.get(i).getCategories(); in getMatchingShareTargets() 700 result.add(new ShortcutManager.ShareShortcutInfo(shortcuts.get(i), in getMatchingShareTargets() 724 final ArrayList<ShortcutInfo> shortcuts = new ArrayList<>(); in getSharingShortcutCount() local 725 findAll(shortcuts, ShortcutInfo::isDynamicVisible, ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in getSharingShortcutCount() [all …]
|
D | ShortcutUser.java | 420 final ShortcutPackage shortcuts = ShortcutPackage.loadFromXml( in loadFromXml() 424 ret.mPackages.put(shortcuts.getPackageName(), shortcuts); in loadFromXml()
|
D | OWNERS | 43 # shortcuts
|
D | ShortcutService.java | 1712 private void fillInDefaultActivity(List<ShortcutInfo> shortcuts) { in fillInDefaultActivity() argument 1714 for (int i = shortcuts.size() - 1; i >= 0; i--) { in fillInDefaultActivity() 1715 final ShortcutInfo si = shortcuts.get(i); in fillInDefaultActivity() 1728 private void assignImplicitRanks(List<ShortcutInfo> shortcuts) { in assignImplicitRanks() argument 1729 for (int i = shortcuts.size() - 1; i >= 0; i--) { in assignImplicitRanks() 1730 shortcuts.get(i).setImplicitRank(i); in assignImplicitRanks() 1734 private List<ShortcutInfo> setReturnedByServer(List<ShortcutInfo> shortcuts) { in setReturnedByServer() argument 1735 for (int i = shortcuts.size() - 1; i >= 0; i--) { in setReturnedByServer() 1736 shortcuts.get(i).setReturnedByServer(); in setReturnedByServer() 1738 return shortcuts; in setReturnedByServer()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 718 public static List<ShortcutInfo> sortedByRank(List<ShortcutInfo> shortcuts) { in sortedByRank() argument 719 final ArrayList<ShortcutInfo> ret = new ArrayList<>(shortcuts); in sortedByRank() 1127 final ArgumentCaptor<List> shortcuts = ArgumentCaptor.forClass(List.class); in assertCallbackCalledForPackageAndUser() local 1130 shortcuts.capture(), in assertCallbackCalledForPackageAndUser() 1132 return new ShortcutListAsserter(shortcuts.getValue()); in assertCallbackCalledForPackageAndUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 4380 ArgumentCaptor<List> shortcuts; in testHandlePackageUpdate() local 4394 shortcuts = ArgumentCaptor.forClass(List.class); in testHandlePackageUpdate() 4397 shortcuts.capture(), in testHandlePackageUpdate() 4405 assertShortcutIds(shortcuts.getValue(), "s1", "s2", "s3", "s4"); in testHandlePackageUpdate() 4407 findShortcut(shortcuts.getValue(), "s1").getLastChangedTimestamp()); in testHandlePackageUpdate() 4409 findShortcut(shortcuts.getValue(), "s2").getLastChangedTimestamp()); in testHandlePackageUpdate() 4411 findShortcut(shortcuts.getValue(), "s3").getLastChangedTimestamp()); in testHandlePackageUpdate() 4413 findShortcut(shortcuts.getValue(), "s4").getLastChangedTimestamp()); in testHandlePackageUpdate() 4430 shortcuts = ArgumentCaptor.forClass(List.class); in testHandlePackageUpdate() 4438 shortcuts.capture(), in testHandlePackageUpdate() [all …]
|
/frameworks/base/packages/SystemUI/ |
D | README.md | 134 Shows UI for keyboard shortcuts (triggered by keyboard shortcut).
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 2097 final List<ShortcutInfo> shortcuts = launcherApps.getShortcuts(q, getUser()); 2098 if (shortcuts != null && shortcuts.size() > 0) { 2099 directShareIcon = launcherApps.getShortcutIconDrawable(shortcuts.get(0), 0);
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 7245 // ACTION: Published shortcuts in ShortcutManager changed
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 16089 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->shortcuts:Ljava/util/List;
|