Lines Matching refs:itemIndex
966 int itemIndex = curIndex - 1;
967 ItemInfo ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
977 mItems.remove(itemIndex);
983 itemIndex--;
985 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
989 itemIndex--;
990 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
992 ii = addNewItem(pos, itemIndex + 1);
995 ii = itemIndex >= 0 ? mItems.get(itemIndex) : null;
1000 itemIndex = curIndex + 1;
1002 ii = itemIndex < mItems.size() ? mItems.get(itemIndex) : null;
1011 mItems.remove(itemIndex);
1017 ii = itemIndex < mItems.size() ? mItems.get(itemIndex) : null;
1021 itemIndex++;
1022 ii = itemIndex < mItems.size() ? mItems.get(itemIndex) : null;
1024 ii = addNewItem(pos, itemIndex);
1025 itemIndex++;
1027 ii = itemIndex < mItems.size() ? mItems.get(itemIndex) : null;
1117 int itemIndex = 0;
1119 for (int pos = oldCurPosition + 1; pos <= curItem.position && itemIndex < mItems.size(); pos++) {
1120 ItemInfo ii = mItems.get(itemIndex);
1121 while (pos > ii.position && itemIndex < mItems.size() - 1) {
1122 itemIndex++;
1123 ii = mItems.get(itemIndex);
1137 int itemIndex = mItems.size() - 1;
1139 for (int pos = oldCurPosition - 1; pos >= curItem.position && itemIndex >= 0; pos--) {
1140 ItemInfo ii = mItems.get(itemIndex);
1141 while (pos < ii.position && itemIndex > 0) {
1142 itemIndex--;
1143 ii = mItems.get(itemIndex);
2293 int itemIndex = 0;
2301 while (pos > ii.position && itemIndex < itemCount) {
2302 ii = mItems.get(++itemIndex);