Searched refs:itemIndex (Results 1 – 5 of 5) sorted by relevance
27 int itemIndex; in appendItems() local30 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() local88 itemIndex = getFirstIndex() - 1; in prependItems()[all …]
241 protected final Location appendItemToRow(int itemIndex, int rowIndex) { in appendItemToRow() argument244 mFirstIndex = itemIndex; in appendItemToRow()247 mProvider.createItem(itemIndex, rowIndex, true); in appendItemToRow()276 protected final Location prependItemToRow(int itemIndex, int rowIndex) { in prependItemToRow() argument278 mFirstIndex = itemIndex; in prependItemToRow()280 mProvider.createItem(itemIndex, rowIndex, false); in prependItemToRow()313 public abstract void stripDownTo(int itemIndex); in stripDownTo() argument
995 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 …]
820 size_t itemIndex; in releaseRecordingFrame() local821 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() local868 mRecordingBuffers[itemIndex]; in releaseAllRecordingFramesLocked()870 res = mRecordingConsumer->releaseBuffer(mRecordingBuffers[itemIndex]); in releaseAllRecordingFramesLocked()876 mRecordingBuffers.replaceAt(itemIndex); in releaseAllRecordingFramesLocked()
3293 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 || !isHeader3343 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 …]