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/extractors/mp4/
DItemTable.cpp501 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply() local
504 if (itemIndex < 0) { in apply()
508 ImageItem &derivedImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
515 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
518 if (itemIndex < 0) { in apply()
521 ImageItem &sourceImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
529 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply() local
532 if (itemIndex < 0) { in apply()
538 ImageItem &thumbImage = itemIdToItemMap.editValueAt(itemIndex); in apply()
542 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
[all …]
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/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/base/core/java/android/widget/
DListView.java3510 final int itemIndex = (first + i);
3511 final boolean isHeader = (itemIndex < headerCount);
3512 final boolean isFooter = (itemIndex >= footerLimit);
3520 final int nextIndex = (itemIndex + 1);
3524 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
3560 final int itemIndex = (first + i);
3561 final boolean isHeader = (itemIndex < headerCount);
3562 final boolean isFooter = (itemIndex >= footerLimit);
3568 final int previousIndex = (itemIndex - 1);
3572 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
[all …]
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4611 for (size_t itemIndex = 0; itemIndex < mItems.size(); itemIndex++) { in writeIpmaBox() local
4612 const Vector<uint16_t> &properties = mItems[itemIndex].properties; in writeIpmaBox()
4616 writeInt16(mItems[itemIndex].itemId); in writeIpmaBox()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java3296 public void setItemIndex(int itemIndex, int listIndex) {
3297 mItemIndices[itemIndex] = listIndex;
3300 public int getItemIndex(int itemIndex) {
3301 return mItemIndices[itemIndex];