Home
last modified time | relevance | path

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

/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRowContent.java196 List<SliceItem> possiblePrimaries = SliceQuery.findAll(rowSlice, FORMAT_SLICE, hints, null); in determineStartAndPrimaryAction() local
197 if (possiblePrimaries.isEmpty() && FORMAT_ACTION.equals(rowSlice.getFormat()) in determineStartAndPrimaryAction()
200 } else if (mStartItem != null && possiblePrimaries.size() > 1 in determineStartAndPrimaryAction()
201 && possiblePrimaries.get(0) == mStartItem) { in determineStartAndPrimaryAction()
203 mPrimaryAction = possiblePrimaries.get(1); in determineStartAndPrimaryAction()
204 } else if (possiblePrimaries.size() > 0) { in determineStartAndPrimaryAction()
205 mPrimaryAction = possiblePrimaries.get(0); in determineStartAndPrimaryAction()