Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java27 int itemIndex; in appendItems() local
30 itemIndex = getLastIndex() + 1; in appendItems()
33 itemIndex = mStartIndex != START_DEFAULT ? mStartIndex : 0; in appendItems()
34 rowIndex = mStartRow != START_DEFAULT ? mStartRow : itemIndex % mNumRows; in appendItems()
50 if (itemIndex == count) { in appendItems()
53 appendItemToRow(itemIndex++, rowIndex); in appendItems()
65 if (itemIndex == count) { in appendItems()
68 appendItemToRow(itemIndex++, rowIndex); in appendItems()
85 int itemIndex; in prependItems() local
88 itemIndex = getFirstIndex() - 1; in prependItems()
[all …]
DStaggeredGrid.java241 protected final Location appendItemToRow(int itemIndex, int rowIndex) { in appendItemToRow() argument
244 mFirstIndex = itemIndex; in appendItemToRow()
247 mProvider.createItem(itemIndex, rowIndex, true); in appendItemToRow()
276 protected final Location prependItemToRow(int itemIndex, int rowIndex) { in prependItemToRow() argument
278 mFirstIndex = itemIndex; in prependItemToRow()
280 mProvider.createItem(itemIndex, rowIndex, false); in prependItemToRow()
313 public abstract void stripDownTo(int itemIndex); in stripDownTo() argument
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java995 int itemIndex = curIndex - 1;
996 ItemInfo ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1006 mItems.remove(itemIndex);
1012 itemIndex--;
1014 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1018 itemIndex--;
1019 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1021 ii = addNewItem(pos, itemIndex + 1);
1024 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1029 itemIndex = curIndex + 1;
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp820 size_t itemIndex; in releaseRecordingFrame() local
821 for (itemIndex = 0; itemIndex < mRecordingBuffers.size(); itemIndex++) { in releaseRecordingFrame()
823 mRecordingBuffers[itemIndex]; in releaseRecordingFrame()
829 if (itemIndex == mRecordingBuffers.size()) { in releaseRecordingFrame()
839 res = mRecordingConsumer->releaseBuffer(mRecordingBuffers[itemIndex]); in releaseRecordingFrame()
846 mRecordingBuffers.replaceAt(itemIndex); in releaseRecordingFrame()
866 for (size_t itemIndex = 0; itemIndex < mRecordingBuffers.size(); itemIndex++) { in releaseAllRecordingFramesLocked() local
868 mRecordingBuffers[itemIndex]; in releaseAllRecordingFramesLocked()
870 res = mRecordingConsumer->releaseBuffer(mRecordingBuffers[itemIndex]); in releaseAllRecordingFramesLocked()
876 mRecordingBuffers.replaceAt(itemIndex); in releaseAllRecordingFramesLocked()
/frameworks/base/core/java/android/widget/
DListView.java3293 final int itemIndex = (first + i);
3294 final boolean isHeader = (itemIndex < headerCount);
3295 final boolean isFooter = (itemIndex >= footerLimit);
3303 final int nextIndex = (itemIndex + 1);
3307 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
3343 final int itemIndex = (first + i);
3344 final boolean isHeader = (itemIndex < headerCount);
3345 final boolean isFooter = (itemIndex >= footerLimit);
3351 final int previousIndex = (itemIndex - 1);
3355 if (adapter.isEnabled(itemIndex) && (headerDividers || !isHeader
[all …]