Searched refs:itemType (Results 1 – 9 of 9) sorted by relevance
51 int itemType; field in GroupingListAdapter.PositionMetadata341 metadata.itemType = ITEM_TYPE_STANDALONE; in obtainPositionMetadata()351 metadata.itemType = ITEM_TYPE_GROUP_HEADER; in obtainPositionMetadata()362 metadata.itemType = ITEM_TYPE_IN_GROUP; in obtainPositionMetadata()380 metadata.itemType = ITEM_TYPE_STANDALONE; in obtainPositionMetadata()390 return mPositionMetadata.itemType == ITEM_TYPE_GROUP_HEADER; in isGroupHeader()407 if (mPositionMetadata.itemType != ITEM_TYPE_GROUP_HEADER) { in toggleGroup()429 return mPositionMetadata.itemType; in getItemViewType()458 switch (mPositionMetadata.itemType) { in getView()472 switch (mPositionMetadata.itemType) { in getView()
140 int itemType = 0; in measureIndividualMenuWidth() local147 if (positionType != itemType) { in measureIndividualMenuWidth()148 itemType = positionType; in measureIndividualMenuWidth()
142 int itemType = 0; in measureIndividualMenuWidth() local149 if (positionType != itemType) { in measureIndividualMenuWidth()150 itemType = positionType; in measureIndividualMenuWidth()
301 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, in assertPositionMetadata() argument305 assertEquals(itemType, metadata.itemType); in assertPositionMetadata()306 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) { in assertPositionMetadata()
135 int itemType = getItemViewType(position); in getView() local136 switch (itemType) { in getView()145 if (itemType == TYPE_HEADER_SUGGESTED) { in getView()
198 int itemType = 0; in measureContentWidth() local206 if (positionType != itemType) { in measureContentWidth()207 itemType = positionType; in measureContentWidth()
543 int itemType = 0; in compatMeasureContentWidth() local557 if (positionType != itemType) { in compatMeasureContentWidth()558 itemType = positionType; in compatMeasureContentWidth()
827 int itemType = 0; in measureContentWidth() local841 if (positionType != itemType) { in measureContentWidth()842 itemType = positionType; in measureContentWidth()
553 final AtomicInteger itemType = new AtomicInteger(1); in notifyUpdateWithChangedAdapterType() local557 return position == 2 ? itemType.get() : 20; in notifyUpdateWithChangedAdapterType()572 itemType.set(3); in notifyUpdateWithChangedAdapterType()