Home
last modified time | relevance | path

Searched refs:numLines (Results 1 – 10 of 10) sorted by relevance

/haiku/src/apps/terminal/
H A DBasicTerminalBuffer.cpp790 BasicTerminalBuffer::InsertLines(int32 numLines) in InsertLines() argument
794 _Scroll(fCursor.y, fScrollBottom, -numLines); in InsertLines()
967 BasicTerminalBuffer::DeleteLines(int32 numLines) in DeleteLines() argument
971 _Scroll(fCursor.y, fScrollBottom, numLines); in DeleteLines()
1487 BasicTerminalBuffer::_Scroll(int32 top, int32 bottom, int32 numLines) in _Scroll() argument
1489 if (numLines == 0) in _Scroll()
1492 if (numLines > 0) { in _Scroll()
1500 int32 toHistory = min_c(numLines, bottom - top + 1); in _Scroll()
1504 if (toHistory < numLines) in _Scroll()
1505 fHistory->AddEmptyLines(numLines - toHistory); in _Scroll()
[all …]
H A DBasicTerminalBuffer.h143 void InsertLines(int32 numLines);
156 void DeleteLines(int32 numLines);
174 inline void ScrollBy(int32 numLines);
209 int32 numLines);
354 BasicTerminalBuffer::ScrollBy(int32 numLines) in ScrollBy() argument
356 _Scroll(fScrollTop, fScrollBottom, numLines); in ScrollBy()
H A DTermView.cpp1483 const int numLines = (int)((updateRect.Height()) / fFontHeight); in _DoPrint()
1486 y1 = y1 -(fScrBufSize - numLines * 2); in _DoPrint()
1490 const int y2 = y1 + numLines -1; in _DoPrint()
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp453 int32 numLines = m_textLines->CountItems(); in updateLineWrapping() local
454 int32* numChars = new int32[numLines]; in updateLineWrapping()
457 for (int32 i = 0; i < numLines; i++) in updateLineWrapping()
527 if (heightChanged && (numLines != m_textLines->CountItems())) in updateLineWrapping()
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp1091 int32 numLines; in _DrawThread() local
1092 if (message.Read(numLines) != B_OK) in _DrawThread()
1096 offscreen->BeginLineArray(numLines); in _DrawThread()
1097 for (int32 i = 0; i < numLines; i++) { in _DrawThread()
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp1282 DrawingEngine::StrokeLineArray(int32 numLines, in StrokeLineArray() argument
1287 if (!lineData || numLines <= 0) in StrokeLineArray()
1297 for (int32 i = 1; i < numLines; i++) { in StrokeLineArray()
1321 for (int32 i = 1; i < numLines; i++) { in StrokeLineArray()
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp829 RemoteDrawingEngine::StrokeLineArray(int32 numLines, in StrokeLineArray() argument
835 message.Add(numLines); in StrokeLineArray()
836 for (int32 i = 0; i < numLines; i++) in StrokeLineArray()
/haiku/src/apps/mail/
H A DContent.cpp2104 int32 numLines = CountLines(); in AddAsContent() local
2106 char *content = (char *)malloc(textLength + numLines * 72); in AddAsContent()
2115 for (int32 i = 0; i < numLines; i++) { in AddAsContent()
2153 numLines = CountLines(); in AddAsContent()
2174 if ((text[endOffset - 1] != '\n') && (i < numLines - 1)) { in AddAsContent()
/haiku/src/kits/interface/
H A DTextView.cpp2052 const int32 numLines = fLines->NumLines(); in TextHeight() local
2055 else if (startLine > numLines - 1) in TextHeight()
2056 startLine = numLines - 1; in TextHeight()
2060 else if (endLine > numLines - 1) in TextHeight()
2061 endLine = numLines - 1; in TextHeight()
2066 if (startLine != endLine && endLine == numLines - 1 in TextHeight()
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js1521 var numLines = remoteMessage.dataView.readUint32();
1522 for (var i = 0; i < numLines; i++) {