/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/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityTargetAdapter.java | 65 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/ |
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/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/opt/localepicker/src/com/android/localepicker/ |
D | SuggestedLocaleAdapter.java | 177 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/ |
D | MPEG4Writer.h | 198 bool isGrid() const { return !strcmp("grid", itemType); } 199 bool isImage() const { return !strcmp("hvc1", itemType) || isGrid(); } 200 const char *itemType;
|
/frameworks/av/services/mediametrics/ |
D | AudioAnalytics.h | 144 ItemType itemType) const;
|
D | AudioAnalytics.cpp | 455 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/ |
D | ItemTable.cpp | 1073 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/ |
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 | 2409 .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()
|