Searched refs:oldIndex (Results 1 - 10 of 10) sorted by last modified time

/haiku/src/apps/deskbar/
H A DSwitcher.cpp2265 int32 oldIndex = (int32) (bounds.top / fItemHeight);
2268 int32 scrollValue = (newIndex > oldIndex) ? stepSize : -stepSize;
2270 int32 nslots = abs(newIndex - oldIndex);
/haiku/src/kits/tracker/
H A DPoseView.h544 int32 oldIndex);
H A DPoseView.cpp7904 int32 oldIndex = (addr_t)(*oldList)->ItemAt(index); local
7906 if (!newList->HasItem((void*)(addr_t)oldIndex)) {
7907 BPose* pose = poseList->ItemAt(oldIndex);
7912 listLoc.Set(0, oldIndex * fListElemHeight);
9352 BPoseView::CheckPoseSortOrder(BPose* pose, int32 oldIndex) argument
9354 _CheckPoseSortOrder(CurrentPoseList(), pose, oldIndex); local
9359 BPoseView::_CheckPoseSortOrder(PoseList* poseList, BPose* pose, int32 oldIndex) argument
9367 poseList->RemoveItemAt(oldIndex);
9369 int32 orientation = BSearchList(poseList, pose, &afterIndex, oldIndex);
9377 if (newIndex == oldIndex) {
9479 BSearchList(PoseList* poseList, const BPose* pose, int32* resultingIndex, int32 oldIndex) argument
[all...]
/haiku/src/servers/input/
H A DInputServer.cpp1131 int32 oldIndex = index; local
1140 if (index == oldIndex)
/haiku/src/servers/app/stackandtile/
H A DSATGroup.cpp180 int32 oldIndex = fWindowList.IndexOf(window); local
181 ASSERT(oldIndex != index);
182 return fWindowList.MoveItem(oldIndex, index);
/haiku/src/system/kernel/debug/
H A Ddebug_commands.cpp196 int32 oldIndex = sCurrentPipeSegment; local
203 sCurrentPipeSegment = oldIndex;
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DTemplateList.h58 bool MoveItem(int32 oldIndex, int32 newIndex);
249 TemplateList<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument
251 if (oldIndex >= 0 && oldIndex < fItemCount
253 if (oldIndex < newIndex - 1) {
254 item_t item = fItems[oldIndex];
255 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
257 } else if (oldIndex > newIndex) {
258 item_t item = fItems[oldIndex];
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DList.h53 bool MoveItem(int32 oldIndex, int32 newIndex);
244 List<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument
246 if (oldIndex >= 0 && oldIndex < fItemCount
248 if (oldIndex < newIndex - 1) {
249 item_t item = fItems[oldIndex];
250 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
252 } else if (oldIndex > newIndex) {
253 item_t item = fItems[oldIndex];
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DShareAttrDir.cpp254 int32 oldIndex = 0; local
257 while (oldIndex < oldCount || newIndex < newCount) {
258 Attribute* oldAttr = (oldCount > 0 ? oldAttributes[oldIndex] : NULL);
268 oldIndex++;
276 oldIndex++;
/haiku/src/apps/terminal/
H A DTerminalRoster.cpp394 int32 oldIndex = 0; local
396 while (oldIndex < fInfos.CountItems() || newIndex < infos.CountItems()) {
397 Info* oldInfo = fInfos.ItemAt(oldIndex);
402 if (!fInfos.AddItem(newInfo, oldIndex++))
409 oldIndex++;
411 delete fInfos.RemoveItemAt(oldIndex);
423 oldIndex++;

Completed in 113 milliseconds