Home
last modified time | relevance | path

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

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/popup/
DPopupPopulatorTest.java94 int numDynamic = 0; in filterShortcutsAndAssertNumStaticAndDynamic() local
100 numDynamic++; in filterShortcutsAndAssertNumStaticAndDynamic()
104 assertEquals(expectedDynamic, numDynamic); in filterShortcutsAndAssertNumStaticAndDynamic()
127 private List<ShortcutInfo> createShortcutsList(int numStatic, int numDynamic) { in createShortcutsList() argument
132 for (int i = 0; i < numDynamic; i++) { in createShortcutsList()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupPopulator.java103 int numDynamic = 0; in sortAndFilterShortcuts() local
112 numDynamic++; in sortAndFilterShortcuts()
118 if (shortcut.isDynamic() && numDynamic < NUM_DYNAMIC) { in sortAndFilterShortcuts()
119 numDynamic++; in sortAndFilterShortcuts()
120 int lastStaticIndex = filteredSize - numDynamic; in sortAndFilterShortcuts()