Home
last modified time | relevance | path

Searched refs:filteredShortcuts (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupPopulator.java99 List<ShortcutInfo> filteredShortcuts = new ArrayList<>(MAX_SHORTCUTS); in sortAndFilterShortcuts() local
104 int filteredSize = filteredShortcuts.size(); in sortAndFilterShortcuts()
107 filteredShortcuts.add(shortcut); in sortAndFilterShortcuts()
118 filteredShortcuts.remove(lastStaticIndex); in sortAndFilterShortcuts()
119 filteredShortcuts.add(shortcut); in sortAndFilterShortcuts()
122 return filteredShortcuts; in sortAndFilterShortcuts()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/popup/
DPopupPopulatorTest.java89 List<ShortcutInfo> filteredShortcuts = PopupPopulator.sortAndFilterShortcuts( in filterShortcutsAndAssertNumStaticAndDynamic() local
91 assertIsSorted(filteredShortcuts); in filterShortcutsAndAssertNumStaticAndDynamic()
95 for (ShortcutInfo shortcut : filteredShortcuts) { in filterShortcutsAndAssertNumStaticAndDynamic()