Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 9 of 9) 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/base/core/java/com/android/internal/view/menu/
DMenuPopup.java142 int itemType = 0; in measureIndividualMenuWidth() local
149 if (positionType != itemType) { in measureIndividualMenuWidth()
150 itemType = positionType; in measureIndividualMenuWidth()
/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/base/core/java/com/android/internal/app/
DSuggestedLocaleAdapter.java168 int itemType = getItemViewType(position); in getView() local
169 switch (itemType) { in getView()
178 if (itemType == TYPE_HEADER_SUGGESTED) { in getView()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h170 bool isGrid() const { return !strcmp("grid", itemType); }
171 bool isImage() const { return !strcmp("hvc1", itemType) || isGrid(); }
172 const char *itemType;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java197 int itemType = 0; in measureContentWidth() local
205 if (positionType != itemType) { in measureContentWidth()
206 itemType = positionType; in measureContentWidth()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp1028 uint32_t itemType; member
1097 itemInfo->itemType = item_type; in parse()
1197 mFourCCSeen.insert(itemInfo.itemType); in onChunkData()
1364 if (info.itemType != FOURCC("grid") && in buildImageItemsIfPossible()
1365 info.itemType != FOURCC("hvc1") && in buildImageItemsIfPossible()
1366 info.itemType != FOURCC("Exif")) { in buildImageItemsIfPossible()
1389 if (info.itemType == FOURCC("Exif")) { in buildImageItemsIfPossible()
1402 ImageItem image(info.itemType, info.itemId, info.hidden); in buildImageItemsIfPossible()
/frameworks/base/core/java/android/widget/
DSpinner.java851 int itemType = 0; in measureContentWidth() local
865 if (positionType != itemType) { in measureContentWidth()
866 itemType = positionType; in measureContentWidth()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp2047 .itemType = "Exif", in addItemOffsetAndSize()
2095 .itemType = "hvc1", in addItemOffsetAndSize()
2117 .itemType = "grid", in addItemOffsetAndSize()
2129 .itemType = "hvc1", in addItemOffsetAndSize()
4480 uint16_t itemId, const char *itemType, uint32_t flags) { in writeInfeBox() argument
4485 writeFourcc(itemType); in writeInfeBox()
4503 writeInfeBox(mItems[i].itemId, mItems[i].itemType, in writeIinfBox()
4720 info.itemType, info.offset, info.size); in addItem_l()