Searched refs:itemType (Results 1 – 9 of 9) sorted by relevance
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 51 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/ |
D | MenuPopup.java | 142 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/ |
D | GroupingListAdapterTests.java | 301 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/ |
D | SuggestedLocaleAdapter.java | 168 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/ |
D | MPEG4Writer.h | 170 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/ |
D | FrameworkActionBar.java | 197 int itemType = 0; in measureContentWidth() local 205 if (positionType != itemType) { in measureContentWidth() 206 itemType = positionType; in measureContentWidth()
|
/frameworks/av/media/extractors/mp4/ |
D | ItemTable.cpp | 1028 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/ |
D | Spinner.java | 851 int itemType = 0; in measureContentWidth() local 865 if (positionType != itemType) { in measureContentWidth() 866 itemType = positionType; in measureContentWidth()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 2047 .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()
|