Searched refs:numDynamic (Results 1 – 2 of 2) sorted by relevance
94 int numDynamic = 0; in filterShortcutsAndAssertNumStaticAndDynamic() local100 numDynamic++; in filterShortcutsAndAssertNumStaticAndDynamic()104 assertEquals(expectedDynamic, numDynamic); in filterShortcutsAndAssertNumStaticAndDynamic()127 private List<ShortcutInfo> createShortcutsList(int numStatic, int numDynamic) { in createShortcutsList() argument132 for (int i = 0; i < numDynamic; i++) { in createShortcutsList()
103 int numDynamic = 0; in sortAndFilterShortcuts() local112 numDynamic++; in sortAndFilterShortcuts()118 if (shortcut.isDynamic() && numDynamic < NUM_DYNAMIC) { in sortAndFilterShortcuts()119 numDynamic++; in sortAndFilterShortcuts()120 int lastStaticIndex = filteredSize - numDynamic; in sortAndFilterShortcuts()