Lines Matching defs:firstIndex
63 _DoSwap(BList& list, int32 firstIndex, int32 secondIndex, BList* firstItems,
66 BListItem* item = (BListItem*)list.ItemAt(firstIndex);
67 list.SwapItems(firstIndex, secondIndex);
69 list.RemoveItems(firstIndex + 1, firstItems->CountItems());
70 list.AddList(secondItems, firstIndex + 1);
663 int32 firstIndex = FullListIndexOf(superItem) + 1;
664 int32 lastIndex = firstIndex;
670 _PopulateTree(tree, fFullList, firstIndex, false);
675 firstIndex = fList.IndexOf(superItem) + 1;
676 lastIndex = firstIndex;
686 _RecalcItemTops(firstIndex);
687 BRect top = ItemFrame(firstIndex);
980 int32& firstIndex, bool onlyVisible)
988 items[firstIndex++] = item;
991 _PopulateTree(item->fTemporaryList, target, firstIndex,
1091 int32 firstIndex = min_c(first, second);
1093 BListItem* firstItem = ItemAt(firstIndex);
1103 int32 fullFirstIndex = _FullListIndex(firstIndex);
1112 _DoSwap(fList, firstIndex, secondIndex, &firstSubItems,
1115 _RecalcItemTops(firstIndex);
1116 _RescanSelection(firstIndex, secondIndex + secondSubItems.CountItems());