Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java339 final ArrayList<Chip> chipList = new ArrayList<>(); in reorderCheckedChips() local
351 chipList.add(item); in reorderCheckedChips()
355 Collections.sort(chipList, CHIP_COMPARATOR); in reorderCheckedChips()
357 if (isChipOrderMatched(mChipGroup, chipList)) { in reorderCheckedChips()
377 item = chipList.get(i); in reorderCheckedChips()
385 for (Chip chip : chipList) { in reorderCheckedChips()
410 private static boolean isChipOrderMatched(ViewGroup chipGroup, ArrayList<Chip> chipList) { in isChipOrderMatched() argument
411 if (chipGroup == null || chipList == null) { in isChipOrderMatched()
415 final int chipCount = chipList.size(); in isChipOrderMatched()
420 if (!chipList.get(i).equals(chipGroup.getChildAt(i))) { in isChipOrderMatched()