Home
last modified time | relevance | path

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

/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java51 int itemType; field in GroupingListAdapter.PositionMetadata
341 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()
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java301 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, in assertPositionMetadata() argument
305 assertEquals(itemType, metadata.itemType); in assertPositionMetadata()
306 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) { in assertPositionMetadata()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DMenuPopupHelper.java195 int itemType = 0; in measureContentWidth() local
203 if (positionType != itemType) { in measureContentWidth()
204 itemType = positionType; in measureContentWidth()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuPopupHelper.java194 int itemType = 0; in measureContentWidth() local
202 if (positionType != itemType) { in measureContentWidth()
203 itemType = positionType; in measureContentWidth()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DActionBarLayout.java320 int itemType = 0; in measureContentWidth() local
327 if (positionType != itemType) { in measureContentWidth()
328 itemType = positionType; in measureContentWidth()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DSpinnerCompat.java645 int itemType = 0; in measureContentWidth() local
659 if (positionType != itemType) { in measureContentWidth()
660 itemType = positionType; in measureContentWidth()
/frameworks/base/core/java/android/widget/
DSpinner.java741 int itemType = 0; in measureContentWidth() local
755 if (positionType != itemType) { in measureContentWidth()
756 itemType = positionType; in measureContentWidth()