Home
last modified time | relevance | path

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

/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRowContent.java80 public RowContent(Context context, SliceItem rowSlice, boolean isHeader) { in RowContent() argument
81 populate(rowSlice, isHeader); in RowContent()
91 private boolean populate(SliceItem rowSlice, boolean isHeader) { in populate() argument
93 mRowSlice = rowSlice; in populate()
94 if (!isValidRow(rowSlice)) { in populate()
98 determineStartAndPrimaryAction(rowSlice); in populate()
100 mContentDescr = SliceQuery.findSubtype(rowSlice, FORMAT_TEXT, SUBTYPE_CONTENT_DESCRIPTION); in populate()
103 ArrayList<SliceItem> rowItems = filterInvalidItems(rowSlice); in populate()
109 rowSlice = rowItems.get(0); in populate()
110 rowItems = filterInvalidItems(rowSlice); in populate()
[all …]
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceMetadataTest.java160 Slice rowSlice = lb.build(); in testGetPrimaryActionForRow() local
161 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetPrimaryActionForRow()
206 Slice rowSlice = lb.build(); in testGetPrimaryActionNull() local
207 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetPrimaryActionNull()
234 Slice rowSlice = lb.build(); in testGetHeaderTypeRow() local
235 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetHeaderTypeRow()
356 Slice rowSlice = lb.build(); in testGetLargeModeMultipleRows() local
357 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetLargeModeMultipleRows()
368 Slice rowSlice = lb.build(); in testGetLargeModeSingleRow() local
369 SliceMetadata rowInfo = SliceMetadata.from(mContext, rowSlice); in testGetLargeModeSingleRow()
[all …]