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

12

/haiku-fatelf/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.h58 virtual void CurrentItemChanged(int32 newIndex, bool play);
140 void _NotifyCurrentItemChanged(int32 newIndex,
H A DPlaylist.cpp58 void Playlist::Listener::CurrentItemChanged(int32 newIndex, bool play) {} argument
813 Playlist::_NotifyCurrentItemChanged(int32 newIndex, bool play) const argument
819 listener->CurrentItemChanged(newIndex, play);
/haiku-fatelf/src/apps/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-fatelf/src/add-ons/kernel/file_systems/ramfs/
H A DList.h76 bool MoveItem(int32 oldIndex, int32 newIndex);
267 List<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument
270 && newIndex >= 0 && newIndex <= fItemCount) {
271 if (oldIndex < newIndex - 1) {
273 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
274 fItems[newIndex] = item;
275 } else if (oldIndex > newIndex) {
277 _MoveItems(fItems + newIndex, 1, oldIndex - newIndex);
[all...]
/haiku-fatelf/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DTemplateList.h81 bool MoveItem(int32 oldIndex, int32 newIndex);
272 TemplateList<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument
275 && newIndex >= 0 && newIndex <= fItemCount) {
276 if (oldIndex < newIndex - 1) {
278 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
279 fItems[newIndex] = item;
280 } else if (oldIndex > newIndex) {
282 _MoveItems(fItems + newIndex, 1, oldIndex - newIndex);
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DList.h77 bool MoveItem(int32 oldIndex, int32 newIndex);
268 List<ITEM, DEFAULT_ITEM_SUPPLIER>::MoveItem(int32 oldIndex, int32 newIndex) argument
271 && newIndex >= 0 && newIndex <= fItemCount) {
272 if (oldIndex < newIndex - 1) {
274 _MoveItems(fItems + oldIndex + 1, -1, newIndex - oldIndex - 1);
275 fItems[newIndex] = item;
276 } else if (oldIndex > newIndex) {
278 _MoveItems(fItems + newIndex, 1, oldIndex - newIndex);
[all...]
/haiku-fatelf/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-fatelf/src/apps/terminal/
H A DSmartTabView.cpp210 SmartTabView::MoveTab(int32 index, int32 newIndex) argument
214 if (index == newIndex || index < 0 || newIndex < 0 || index >= count
215 || newIndex >= count) {
225 for (int32 i = newIndex; i < count - 1; i++) {
226 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.h51 void MoveTab(int32 index, int32 newIndex);
/haiku-fatelf/src/kits/package/
H A DPackageInfo.cpp118 int newIndex = 0; local
132 value[newIndex++] = c;
134 value[newIndex] = '\0';
135 text.UnlockBuffer(newIndex);
/haiku-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/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-fatelf/src/apps/deskbar/
H A DSwitcher.h72 void SwitchToApp(int32 prevIndex, int32 newIndex,
H A DSwitcher.cpp906 TSwitchManager::SwitchToApp(int32 previousIndex, int32 newIndex, bool forward) argument
910 fCurrentIndex = newIndex;
1312 int32 newIndex = fIconView->IndexAt(newSlot); local
1314 fManager->SwitchToApp(previousIndex, newIndex, false);
1325 int32 newIndex = fIconView->IndexAt(newSlot); local
1327 if (newIndex < 0) {
1330 newIndex = fIconView->IndexAt(valid - 1);
1332 fManager->SwitchToApp(previousIndex, newIndex, true);
2243 TWindowView::ShowIndex(int32 newIndex) argument
2246 BPoint point(0, newIndex * fItemHeigh
[all...]
/haiku-fatelf/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-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/
H A DIterators.cpp458 TreeIterator::_PushCurrentNode(Node *newTopNode, int32 newIndex) argument
464 fIndex = newIndex;
580 int32 newIndex = fIndex - 1; local
582 && (newIndex < 0 || newIndex >= node->CountItems())) {
585 newIndex = node->CountItems() - 1;
589 fIndex = newIndex;
607 int32 newIndex = fIndex + 1; local
608 while (error == B_OK && newIndex >= node->CountItems()) {
610 newIndex
[all...]
H A DIterators.h111 status_t _PushCurrentNode(Node *newTopNode = NULL, int32 newIndex = 0);
/haiku-fatelf/src/apps/icon-o-matic/shape/
H A DPathManipulator.h126 void _InvalidateHighlightPoints(int32 newIndex,
/haiku-fatelf/src/system/kernel/
H A Dsem.cpp1119 int32 newIndex = *_cookie; local
1125 while (sem != NULL && index < newIndex) {
1138 newIndex = index + 1;
1141 newIndex++;
1149 *_cookie = newIndex;
/haiku-fatelf/src/servers/app/
H A DDesktop.h279 int32 newIndex = -1);
/haiku-fatelf/src/kits/interface/
H A DOutlineListView.cpp70 int32 newIndex = list.IndexOf(item); local
71 if (newIndex + 1 < list.CountItems())
72 list.AddList(firstItems, newIndex + 1);

Completed in 155 milliseconds

12