Searched refs:newIndex (Results 1 - 25 of 25) sorted by relevance

/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistObserver.cpp56 PlaylistObserver::CurrentItemChanged(int32 newIndex, bool play) argument
59 message.AddInt32("index", newIndex);
H A DPlaylistObserver.h29 virtual void CurrentItemChanged(int32 newIndex, bool play);
H A DPlaylist.h49 virtual void CurrentItemChanged(int32 newIndex, bool play);
140 void _NotifyCurrentItemChanged(int32 newIndex,
H A DPlaylist.cpp47 void Playlist::Listener::CurrentItemChanged(int32 newIndex, bool play) {} argument
852 Playlist::_NotifyCurrentItemChanged(int32 newIndex, bool play) const argument
858 listener->CurrentItemChanged(newIndex, play);
/haiku/headers/private/debugger/types/
H A DArrayIndexPath.h31 inline void SetIndexAt(int32 at, int64 newIndex);
66 ArrayIndexPath::SetIndexAt(int32 at, int64 newIndex) argument
69 fIndices[at] = newIndex;
/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
252 && newIndex >= 0 && newIndex <= fItemCount) {
253 if (oldIndex < newIndex - 1) {
255 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
256 fItems[newIndex] = item;
257 } else if (oldIndex > newIndex) {
259 _MoveItems(fItems + newIndex, 1, oldIndex - newIndex);
[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
247 && newIndex >= 0 && newIndex <= fItemCount) {
248 if (oldIndex < newIndex - 1) {
250 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
251 fItems[newIndex] = item;
252 } else if (oldIndex > newIndex) {
254 _MoveItems(fItems + newIndex, 1, oldIndex - newIndex);
[all...]
/haiku/src/apps/terminal/
H A DSmartTabView.cpp232 SmartTabView::MoveTab(int32 index, int32 newIndex) argument
236 if (index == newIndex || index < 0 || newIndex < 0 || index >= count
237 || newIndex >= count) {
247 for (int32 i = newIndex; i < count - 1; i++) {
248 tab = BTabView::RemoveTab(newIndex);
H A DTerminalRoster.cpp395 int32 newIndex = 0; local
396 while (oldIndex < fInfos.CountItems() || newIndex < infos.CountItems()) {
398 Info* newInfo = infos.ItemAt(newIndex);
404 infos.RemoveItemAt(newIndex);
424 newIndex++;
H A DSmartTabView.h52 void MoveTab(int32 index, int32 newIndex);
H A DTermWindow.cpp1457 int32 newIndex = (index + direction + count) % count;
1458 if (newIndex == index)
1464 fSessions.AddItem(session, newIndex);
1465 fTabView->MoveTab(index, newIndex);
1469 fTabView->Select(newIndex);
/haiku/src/apps/webpositive/autocompletion/
H A DAutoCompleterDefaultImpl.cpp74 int32 newIndex = fSelectedIndex + 1;
75 if (newIndex >= fChoiceModel->CountChoices()) {
77 newIndex = 0;
79 newIndex = fSelectedIndex;
81 return Select(newIndex);
91 int32 newIndex = fSelectedIndex - 1;
92 if (newIndex < 0) {
94 newIndex = fChoiceModel->CountChoices() - 1;
96 newIndex = 0;
98 return Select(newIndex);
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DShareAttrDir.cpp255 int32 newIndex = 0; local
257 while (oldIndex < oldCount || newIndex < newCount) {
259 Attribute* newAttr = (newCount > 0 ? newAttributes[newIndex] : NULL);
272 newIndex++;
277 newIndex++;
/haiku/src/apps/deskbar/
H A DSwitcher.h71 void SwitchToApp(int32 prevIndex, int32 newIndex,
H A DSwitcher.cpp1280 int32 newIndex = fIconView->IndexAt(newSlot); local
1281 fManager->SwitchToApp(previousIndex, newIndex, false);
1292 int32 newIndex = fIconView->IndexAt(newSlot); local
1294 if (newIndex < 0) {
1296 newIndex = fManager->GroupList()->CountItems() - 1;
1298 fManager->SwitchToApp(previousIndex, newIndex, true);
2243 TWindowView::ShowIndex(int32 newIndex) argument
2246 BPoint point(0, newIndex * fItemHeight);
2255 window_info* windowInfo = fManager->WindowInfo(groupIndex, newIndex);
2268 int32 scrollValue = (newIndex > oldInde
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DIterators.cpp461 TreeIterator::_PushCurrentNode(Node *newTopNode, int32 newIndex) argument
467 fIndex = newIndex;
583 int32 newIndex = fIndex - 1; local
585 && (newIndex < 0 || newIndex >= node->CountItems())) {
588 newIndex = node->CountItems() - 1;
592 fIndex = newIndex;
610 int32 newIndex = fIndex + 1; local
611 while (error == B_OK && newIndex >= node->CountItems()) {
613 newIndex
[all...]
H A DIterators.h111 status_t _PushCurrentNode(Node *newTopNode = NULL, int32 newIndex = 0);
/haiku/src/apps/icon-o-matic/shape/
H A DPathManipulator.h126 void _InvalidateHighlightPoints(int32 newIndex,
H A DPathManipulator.cpp1504 PathManipulator::_InvalidateHighlightPoints(int32 newIndex, uint32 newMode) argument
1507 BRect newRect = _ControlPointRect(newIndex, newMode);
/haiku/src/system/kernel/
H A Dsem.cpp1058 int32 newIndex = *_cookie; local
1064 while (sem != NULL && index < newIndex) {
1077 newIndex = index + 1;
1080 newIndex++;
1086 *_cookie = newIndex;
/haiku/src/servers/app/
H A DDesktop.h303 int32 newIndex = -1);
H A DDesktop.cpp3196 If newIndex is not -1, it will move all subset windows that belong to
3202 int32 newIndex)
3201 _UpdateSubsetWorkspaces(Window* window, int32 previousIndex, int32 newIndex) argument
/haiku/src/kits/interface/
H A DOutlineListView.cpp71 int32 newIndex = list.IndexOf(item); local
72 if (newIndex + 1 < list.CountItems())
73 list.AddList(firstItems, newIndex + 1);
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp546 int32 newIndex = -1;
550 newIndex = i;
555 if (newIndex < 0)
557 *index = newIndex;
/haiku/src/kits/tracker/
H A DPoseView.cpp9371 int32 newIndex; local
9373 newIndex = 0;
9375 newIndex = afterIndex + 1;
9377 if (newIndex == oldIndex) {
9383 poseList->AddItem(pose, newIndex);
9392 poseList->AddItem(pose, newIndex);

Completed in 304 milliseconds