Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DGroupingRecyclerViewAdapter.java105 PositionMetadata pMetadata = getPositionMetadata(position); in getItem() local
106 return mData.get(pMetadata.positionInData); in getItem()
125 PositionMetadata pMetadata = getPositionMetadata(position); in onBindViewHolder() local
128 onBindStandAloneViewHolder(holder, mContext, pMetadata.positionInData); in onBindViewHolder()
131 onBindGroupViewHolder(holder, mContext, pMetadata.positionInData, in onBindViewHolder()
132 pMetadata.gMetadata.itemNumber, pMetadata.gMetadata.isExpanded()); in onBindViewHolder()
135 onBindChildViewHolder(holder, mContext, pMetadata.positionInData); in onBindViewHolder()
141 PositionMetadata pMetadata = getPositionMetadata(positionInData); in toggleGroup() local
142 if (pMetadata.itemType != VIEW_TYPE_GROUP_HEADER) { in toggleGroup()
146 pMetadata.gMetadata.isExpanded = !pMetadata.gMetadata.isExpanded; in toggleGroup()
[all …]
DGroupingCursorRecyclerViewAdapter.java104 PositionMetadata pMetadata = getPositionMetadata(position); in getItem() local
105 if (!mCursor.moveToPosition(pMetadata.cursorPosition)) { in getItem()
107 "can't move cursor to position " + pMetadata.cursorPosition); in getItem()
128 PositionMetadata pMetadata = getPositionMetadata(position); in onBindViewHolder() local
129 mCursor.moveToPosition(pMetadata.cursorPosition); in onBindViewHolder()
130 switch (pMetadata.itemType) { in onBindViewHolder()
135 onBindGroupViewHolder(holder, mContext, mCursor, pMetadata.gMetadata.itemNumber, in onBindViewHolder()
136 pMetadata.gMetadata.isExpanded()); in onBindViewHolder()
145 PositionMetadata pMetadata = getPositionMetadata(position); in toggleGroup() local
146 if (pMetadata.itemType != VIEW_TYPE_GROUP_HEADER) { in toggleGroup()
[all …]