Searched refs:numDynamic (Results 1 – 2 of 2) sorted by relevance
78 int numDynamic = 0; in filterShortcutsAndAssertNumStaticAndDynamic() local84 numDynamic++; in filterShortcutsAndAssertNumStaticAndDynamic()88 assertEquals(expectedDynamic, numDynamic); in filterShortcutsAndAssertNumStaticAndDynamic()111 private List<ShortcutInfo> createShortcutsList(int numStatic, int numDynamic) { in createShortcutsList() argument116 for (int i = 0; i < numDynamic; i++) { in createShortcutsList()
80 int numDynamic = 0; in sortAndFilterShortcuts() local89 numDynamic++; in sortAndFilterShortcuts()95 if (shortcut.isDynamic() && numDynamic < NUM_DYNAMIC) { in sortAndFilterShortcuts()96 numDynamic++; in sortAndFilterShortcuts()97 int lastStaticIndex = filteredSize - numDynamic; in sortAndFilterShortcuts()