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()
100 int numDynamic = 0; in sortAndFilterShortcuts() local109 numDynamic++; in sortAndFilterShortcuts()115 if (shortcut.isDynamic() && numDynamic < NUM_DYNAMIC) { in sortAndFilterShortcuts()116 numDynamic++; in sortAndFilterShortcuts()117 int lastStaticIndex = filteredSize - numDynamic; in sortAndFilterShortcuts()