Home
last modified time | relevance | path

Searched refs:toIndex (Results 1 – 25 of 41) sorted by relevance

12

/haiku/src/kits/interface/textview_support/
H A DTextGapBuffer.cpp308 TextGapBuffer::_MoveGapTo(int32 toIndex) in _MoveGapTo() argument
310 if (toIndex == fGapIndex) in _MoveGapTo()
312 if (toIndex > fItemCount) { in _MoveGapTo()
320 if (toIndex > fGapIndex) { in _MoveGapTo()
323 count = toIndex - fGapIndex; in _MoveGapTo()
325 srcIndex = toIndex; in _MoveGapTo()
326 dstIndex = toIndex + fGapCount; in _MoveGapTo()
327 count = fGapIndex- toIndex; in _MoveGapTo()
333 fGapIndex = toIndex; in _MoveGapTo()
H A DStyleBuffer.cpp407 int32 toIndex = fStyleRunDesc.OffsetToRun(toOffset) - 1; in RemoveStyleRange() local
409 int32 count = toIndex - fromIndex; in RemoveStyleRange()
412 toIndex = fromIndex; in RemoveStyleRange()
417 if (toIndex == fromIndex && toIndex < fStyleRunDesc.ItemCount() - 1) { in RemoveStyleRange()
418 STEStyleRunDesc* runDesc = fStyleRunDesc[toIndex + 1]; in RemoveStyleRange()
573 int32 toIndex = OffsetToRun(toOffset - 1); in ContinuousGetStyle() local
575 if (fromIndex == toIndex) { in ContinuousGetStyle()
592 int32 styleIndex = fStyleRunDesc[toIndex]->index; in ContinuousGetStyle()
595 for (int32 i = fromIndex; i < toIndex; i++) { in ContinuousGetStyle()
/haiku/src/apps/icon-o-matic/shape/commands/
H A DMoveTransformersCommand.cpp24 Transformer** transformers, int32 count, int32 toIndex) in MoveTransformersCommand() argument
25 : MoveCommand<Transformer>(container, transformers, count, toIndex) in MoveTransformersCommand()
H A DMoveShapesCommand.cpp24 Shape** shapes, int32 count, int32 toIndex) in MoveShapesCommand() argument
25 : MoveCommand<Shape>(container, shapes, count, toIndex) in MoveShapesCommand()
H A DMovePathsCommand.cpp24 VectorPath** paths, int32 count, int32 toIndex) in MovePathsCommand() argument
25 : MoveCommand<VectorPath>(container, paths, count, toIndex) in MovePathsCommand()
H A DMoveTransformersCommand.h30 int32 toIndex);
H A DMoveShapesCommand.h30 int32 toIndex);
H A DMovePathsCommand.h31 int32 toIndex);
/haiku/src/apps/icon-o-matic/style/
H A DMoveStylesCommand.cpp24 Style** styles, int32 count, int32 toIndex) in MoveStylesCommand() argument
25 : MoveCommand<Style>(container, styles, count, toIndex) in MoveStylesCommand()
H A DMoveStylesCommand.h30 int32 toIndex);
/haiku/src/apps/icon-o-matic/generic/command/
H A DMoveCommand.h42 int32 toIndex);
65 int32 toIndex) in MoveCommand() argument
70 fToIndex(toIndex), in MoveCommand()
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylistListView.h38 virtual void MoveItems(const BList& indices, int32 toIndex);
39 virtual void CopyItems(const BList& indices, int32 toIndex);
H A DCopyPLItemsCommand.cpp25 BList indices, int32 toIndex) in CopyPLItemsCommand() argument
31 fToIndex(toIndex), in CopyPLItemsCommand()
H A DImportPLItemsCommand.cpp28 const BMessage* refsMessage, int32 toIndex, bool sortItems) in ImportPLItemsCommand() argument
39 fToIndex(toIndex), in ImportPLItemsCommand()
H A DMovePLItemsCommand.cpp26 BList indices, int32 toIndex) in MovePLItemsCommand() argument
33 fToIndex(toIndex) in MovePLItemsCommand()
H A DCopyPLItemsCommand.h19 int32 toIndex);
H A DMovePLItemsCommand.h19 int32 toIndex);
H A DImportPLItemsCommand.h18 int32 toIndex,
/haiku/src/apps/debuganalyzer/gui/
H A DHeaderView.cpp390 int32 toIndex) in HeaderMoved() argument
462 HeaderModel::MoveHeader(int32 fromIndex, int32 toIndex) in MoveHeader() argument
466 || toIndex < 0 || toIndex >= headerCount) { in MoveHeader()
470 if (fromIndex == toIndex) in MoveHeader()
474 fHeaders.AddItem(header, toIndex); in MoveHeader()
477 NotifyHeaderMoved(fromIndex, toIndex); in MoveHeader()
518 HeaderModel::NotifyHeaderMoved(int32 fromIndex, int32 toIndex) in NotifyHeaderMoved() argument
522 listener->HeaderMoved(this, fromIndex, toIndex); in NotifyHeaderMoved()
969 HeaderView::HeaderMoved(HeaderModel* model, int32 fromIndex, int32 toIndex) in HeaderMoved() argument
971 _InvalidateHeadersLayout(std::min(fromIndex, toIndex)); in HeaderMoved()
H A DHeaderView.h124 int32 fromIndex, int32 toIndex);
140 virtual bool MoveHeader(int32 fromIndex, int32 toIndex);
149 int32 toIndex);
205 int32 fromIndex, int32 toIndex);
/haiku/src/apps/icon-o-matic/gui/
H A DTransformerListView.h52 virtual void MoveItems(BList& items, int32 toIndex);
53 virtual void CopyItems(BList& items, int32 toIndex);
H A DShapeListView.h58 virtual void MoveItems(BList& items, int32 toIndex);
59 virtual void CopyItems(BList& items, int32 toIndex);
H A DStyleListView.h54 virtual void MoveItems(BList& items, int32 toIndex);
55 virtual void CopyItems(BList& items, int32 toIndex);
H A DPathListView.h57 virtual void MoveItems(BList& items, int32 toIndex);
58 virtual void CopyItems(BList& items, int32 toIndex);
/haiku/src/apps/soundrecorder/
H A DDrawingTidbits.cpp57 uint32 toIndex = screen.IndexForColor(to); in ReplaceColor() local
63 bits[index] = toIndex; in ReplaceColor()

12