Searched refs:lineCount (Results 1 - 25 of 35) sorted by last modified time

12

/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp747 float lineCount = ceilf(be_plain_font->StringWidth(fUptimeView->Text()) local
749 float uptimeHeight = fUptimeView->LineHeight(0) * lineCount;
/haiku/src/servers/app/
H A DServerWindow.cpp3040 int32 lineCount; local
3041 if (link.Read<int32>(&lineCount) != B_OK || lineCount <= 0)
3049 if (lineCount > kStackBufferLineDataCount) {
3050 lineData = new(std::nothrow) ViewLineArrayInfo[lineCount];
3057 size_t dataSize = lineCount * sizeof(ViewLineArrayInfo);
3067 for (int32 i = 0; i < lineCount; i++) {
3071 drawingEngine->StrokeLineArray(lineCount, lineData);
3729 int32 lineCount; local
3730 if (link.Read<int32>(&lineCount) !
[all...]
H A DServerPicture.cpp58 virtual status_t IterateLineTo(int32 lineCount, BPoint* linePts);
110 ShapePainter::IterateLineTo(int32 lineCount, BPoint* linePts) argument
113 fOpStack.push(OP_LINETO | lineCount);
114 for (int32 i = 0; i < lineCount; i++)
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp211 int lineCount = 7; local
213 lineCount += 1; // Add space for "Link to" line
215 lineCount += 2; // Add space for "Version" and "Description" lines
216 GroupLayout()->SetInsets(sBorderMargin, lineHeight * lineCount,
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp314 int32& straightCount, int32& lineCount, int32& curveCount)
317 lineCount = 0;
331 lineCount++;
419 int32 lineCount; local
422 straightCount, lineCount, curveCount))
426 = pointCount + straightCount * 2 + lineCount * 4 + curveCount * 12;
313 _AnalysePath(VectorPath* path, uint8 pointCount, int32& straightCount, int32& lineCount, int32& curveCount) argument
H A DFlatIconExporter.h95 int32& lineCount,
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp51 virtual status_t IterateLineTo(int32 lineCount, BPoint *linePts);
96 ShapeIterator::IterateLineTo(int32 lineCount, BPoint *linePts) argument
101 while (lineCount--) {
/haiku/src/apps/cortex/support/
H A DMediaString.cpp1047 uint32 lineCount)
1052 || (lineCount == media_video_display_info::wildcard.line_count)) {
1059 lineWidth, lineCount);
1045 forVideoResolution( uint32 lineWidth, uint32 lineCount) argument
/haiku/src/preferences/appearance/
H A DFontSelectionView.cpp142 float lineCount = ceilf(fCurrentFont.StringWidth(kPreviewText) local
145 fPreviewTextView->LineHeight(0) * lineCount));
/haiku/src/kits/print/
H A DPicturePrinter.cpp463 ShapePrinter::IterateLineTo(int32 lineCount, BPoint *linePoints) argument
467 for (int32 i = 0; i < lineCount; i++) {
/haiku/headers/private/print/
H A DPicturePrinter.h117 status_t IterateLineTo(int32 lineCount, BPoint *linePoints);
/haiku/src/system/boot/platform/openfirmware/
H A Dconsole.cpp235 intptr_t lineCount; local
237 if (of_interpret("screen-#rows", 0, 1, &lineCount) == OF_FAILED)
239 if (of_interpret("#lines", 0, 1, &lineCount) == OF_FAILED)
242 return lineCount;
/haiku/src/system/boot/platform/next_m68k/
H A Dconsole.cpp104 int lineCount = 25; //XXX: check video mode local
105 return lineCount;
/haiku/src/system/boot/loader/
H A Dpager.cpp68 int32 lineCount = 0; local
78 lineCount++;
81 return lineCount;
89 int32 lineCount = 0; local
93 if (line == lineCount)
102 lineCount++;
122 int32 lineCount = count_lines(textSource, width, lineBuffer, local
152 int32 bottomLine = std::min(topLine + height - 2, lineCount - 1);
154 topLine, bottomLine, (int32)((bottomLine + 1) * 100 / lineCount));
201 topLine = lineCount;
[all...]
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentLayout.cpp260 int32 lineCount = 0; local
265 lineCount += info.layout->CountLines();
268 return lineCount;
442 int32 lineCount = info.layout->CountLines(); local
443 if (lineIndex >= lineCount) {
444 lineIndex -= lineCount;
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp792 int lineCount = showMoreDetails ? 3 : 2; local
793 return lineCount * fPackageItemLineHeight;
/haiku/src/kits/interface/
H A DShape.cpp94 BShapeIterator::IterateLineTo(int32 lineCount, BPoint* linePoints) argument
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp340 int32 lineCount = int32(Bounds().Height() / fLineHeight); local
379 newAddress -= (blockSize * fHexBlocksPerLine) * lineCount;
384 newAddress += (blockSize * fHexBlocksPerLine) * lineCount;
717 int32 lineCount = 0; local
720 lineCount = fTargetBlock->Size() / (fHexBlocksPerLine
723 lineCount = fTargetBlock->Size() / fTextCharsPerLine;
725 totalHeight = lineCount * fLineHeight;
827 int32 lineCount = totalHexBlocks / fHexBlocksPerLine; local
829 if (lineNumber >= lineCount)
1039 MemoryView::_ScrollByLines(int32 lineCount) argument
[all...]
H A DMemoryView.h111 void _ScrollByLines(int32 lineCount);
/haiku/src/tests/kits/interface/picture/
H A DMatrix.h44 virtual status_t IterateLineTo(int32 lineCount, BPoint *linePts);
175 inline status_t BTransformIterator::IterateLineTo(int32 lineCount, BPoint *linePts) argument
177 for (int32 i = 0; i < lineCount; i++)
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp354 void _ScrollByLines(int32 lineCount);
439 int32 lineCount = LineCount(); local
440 if (yOffset < 0 || lineCount == 0)
444 return line < lineCount ? line : -1;
1854 SourceView::TextView::_ScrollByLines(int32 lineCount) argument
1861 vertical->SetValue(value + fFontInfo->lineHeight * lineCount);
/haiku/src/kits/debugger/model/
H A DFileSourceCode.cpp105 int32 lineCount = CountLines(); local
106 if (location.Line() >= lineCount)
119 _end = index + 1 < lineCount
120 ? fSourceLocations[index + 1] : SourceLocation(lineCount);
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DGroupView.cpp51 GroupView::GroupView(enum orientation orientation, int32 lineCount) argument
54 fLineCount(lineCount),
/haiku/src/apps/resedit/
H A DMiscEditors.cpp170 float lineCount = fValueView->CountLines() < 5.0 ? fValueView->CountLines() : 5.0; local
171 return fOK->Frame().Height() + (strheight * lineCount) + 40.0;
/haiku/src/tests/servers/app/copy_bits/
H A Dmain.cpp94 int32 lineCount = 20; local
96 for (int32 i = 0; i < lineCount; i++) {
97 SetHighColor(255, (255 / lineCount) * i, 255 - (255 / lineCount) * i);
98 StrokeLine(BPoint(r.left + (width / lineCount) * i, r.top),
99 BPoint(r.left, r.top + (height / lineCount) * i));
100 StrokeLine(BPoint(r.right - (width / lineCount) * i, r.bottom),
101 BPoint(r.right, r.bottom - (height / lineCount) * i));

Completed in 283 milliseconds

12