Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DGroupingRecyclerViewAdapter.java132 pMetadata.gMetadata.itemNumber, pMetadata.gMetadata.isExpanded()); in onBindViewHolder()
149 notifyItemRangeInserted(positionOnUI + 1, pMetadata.gMetadata.itemNumber); in toggleGroup()
151 notifyItemRangeRemoved(positionOnUI + 1, pMetadata.gMetadata.itemNumber); in toggleGroup()
240 private int itemNumber; field in GroupingRecyclerViewAdapter.GroupMetadata
243 static GroupMetadata obtain(int offset, int itemNumber, boolean isExpanded) { in obtain() argument
246 gm.itemNumber = itemNumber; in obtain()
256 return itemNumber == 1; in isStandAlone()
263 return itemNumber + 1; in getActualSize()
DGroupingCursorRecyclerViewAdapter.java135 onBindGroupViewHolder(holder, mContext, mCursor, pMetadata.gMetadata.itemNumber, in onBindViewHolder()
227 private int itemNumber; field in GroupingCursorRecyclerViewAdapter.GroupMetadata
230 static GroupMetadata obtain(int offset, int itemNumber, boolean isExpanded) { in obtain() argument
233 gm.itemNumber = itemNumber; in obtain()
243 return itemNumber == 1; in isStandAlone()
250 return itemNumber + 1; in getActualSize()