Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java172 int itemIndex = getItemIndex(position); in getItemAt() local
173 ItemHierarchy item = children.get(itemIndex); in getItemAt()
174 int subpos = position - hierarchyStart.get(itemIndex); in getItemAt()
280 for (int itemIndex = 0; itemIndex < children.size(); itemIndex++) { in updateDataIfNeeded()
281 ItemHierarchy item = children.get(itemIndex); in updateDataIfNeeded()
283 hierarchyStart.put(itemIndex, count); in updateDataIfNeeded()
/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp507 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply() local
510 if (itemIndex < 0) { in apply()
514 ImageItem &derivedImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
521 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
524 if (itemIndex < 0) { in apply()
527 ImageItem &sourceImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
535 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply() local
538 if (itemIndex < 0) { in apply()
544 ImageItem &thumbImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
548 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/selector/ui/composable/
DVolumePanelRadioButtons.kt122 for (itemIndex in items.indices) { in VolumePanelRadioButtonBar() method
123 val item = items[itemIndex] in VolumePanelRadioButtonBar()
124 val isSelected = itemIndex == scope.selectedIndex in VolumePanelRadioButtonBar()
137 onClick = { items[itemIndex].onItemSelected() } in VolumePanelRadioButtonBar()
146 with(items[itemIndex]) { icon() } in VolumePanelRadioButtonBar()
163 for (itemIndex in items.indices) { in VolumePanelRadioButtonBar() method
167 onClick = { items[itemIndex].onItemSelected() }, in VolumePanelRadioButtonBar()
171 val item = items[itemIndex] in VolumePanelRadioButtonBar()
173 val textColor = colors.getLabelColor(itemIndex == scope.selectedIndex) in VolumePanelRadioButtonBar()
175 with(items[itemIndex]) { label() } in VolumePanelRadioButtonBar()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java973 int itemIndex = curIndex - 1;
974 ItemInfo ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
984 mItems.remove(itemIndex);
990 itemIndex--;
992 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
996 itemIndex--;
997 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
999 ii = addNewItem(pos, itemIndex + 1);
1002 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1007 itemIndex = curIndex + 1;
[all …]
/frameworks/av/media/module/extractors/mp4/include/
DItemTable.h57 status_t findImageItem(const uint32_t imageIndex, uint32_t *itemIndex);
58 status_t findThumbnailItem(const uint32_t imageIndex, uint32_t *itemIndex);
60 uint32_t *itemIndex, off64_t *offset, size_t *size);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java991 int itemIndex in bindRecommendationArtwork() argument
1020 mRecommendationViewHolder.getMediaCoverItems().get(itemIndex); in bindRecommendationArtwork()
1029 ImageView appIconView = mRecommendationViewHolder.getMediaAppIcons().get(itemIndex); in bindRecommendationArtwork()
1485 for (int itemIndex = 0; itemIndex < NUM_REQUIRED_RECOMMENDATIONS; itemIndex++) {
1486 SmartspaceAction recommendation = recommendations.get(itemIndex);
1489 ImageView mediaCoverImageView = mediaCoverItems.get(itemIndex);
1490 bindRecommendationArtwork(recommendation, data.getPackageName(), itemIndex);
1493 ViewGroup mediaCoverContainer = mediaCoverContainers.get(itemIndex);
1494 setSmartspaceRecItemOnClickListener(mediaCoverContainer, recommendation, itemIndex);
1523 TextView titleView = mRecommendationViewHolder.getMediaTitles().get(itemIndex);
[all …]
/frameworks/base/core/java/android/widget/
DListView.java3508 final int itemIndex = (first + i);
3509 final boolean isHeader = (itemIndex < headerCount);
3510 final boolean isFooter = (itemIndex >= footerLimit);
3518 final int nextIndex = (itemIndex + 1);
3522 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
3558 final int itemIndex = (first + i);
3559 final boolean isHeader = (itemIndex < headerCount);
3560 final boolean isFooter = (itemIndex >= footerLimit);
3566 final int previousIndex = (itemIndex - 1);
3570 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
[all …]