Home
last modified time | relevance | path

Searched refs:itemType (Results 1 – 13 of 13) 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/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityTargetAdapter.java65 public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, @ItemType int itemType) { in onCreateViewHolder() argument
70 if (itemType == ItemType.FIRST_ITEM) { in onCreateViewHolder()
74 if (itemType == ItemType.LAST_ITEM) { in onCreateViewHolder()
/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/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/opt/localepicker/src/com/android/localepicker/
DSuggestedLocaleAdapter.java177 int itemType = getItemViewType(position); in getView() local
178 switch (itemType) { in getView()
187 if (itemType == TYPE_HEADER_SUGGESTED) { in getView()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h198 bool isGrid() const { return !strcmp("grid", itemType); }
199 bool isImage() const { return !strcmp("hvc1", itemType) || isGrid(); }
200 const char *itemType;
/frameworks/av/services/mediametrics/
DAudioAnalytics.h144 ItemType itemType) const;
DAudioAnalytics.cpp455 const std::shared_ptr<const android::mediametrics::Item> &item, ItemType itemType) const { in endAudioIntervalGroup()
458 (itemType == THREAD ? sizeof(AMEDIAMETRICS_KEY_PREFIX_AUDIO_THREAD) in endAudioIntervalGroup()
459 : itemType == TRACK ? sizeof(AMEDIAMETRICS_KEY_PREFIX_AUDIO_TRACK) in endAudioIntervalGroup()
533 switch (itemType) { in endAudioIntervalGroup()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp1073 uint32_t itemType; member
1078 return itemType == FOURCC("mime") && contentType == String8("application/rdf+xml"); in isXmp()
1081 return itemType == FOURCC("Exif"); in isExif()
1084 return itemType == FOURCC("grid"); in isGrid()
1087 return itemType == FOURCC("av01") || itemType == FOURCC("hvc1"); in isSample()
1156 itemInfo->itemType = item_type; in parse()
1464 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.cpp2409 .itemType = "Exif", in addItemOffsetAndSize()
2458 .itemType = "hvc1", in addItemOffsetAndSize()
2481 .itemType = "grid", in addItemOffsetAndSize()
2494 .itemType = "hvc1", in addItemOffsetAndSize()
5100 uint16_t itemId, const char *itemType, uint32_t flags) { in writeInfeBox() argument
5105 writeFourcc(itemType); in writeInfeBox()
5125 writeInfeBox(item.itemId, item.itemType, in writeIinfBox()
5360 info.itemType, info.offset, info.size); in addItem_l()