Searched refs:roundf (Results 1 - 25 of 44) sorted by last modified time

12

/haiku/src/kits/tracker/
H A DTextWidget.cpp140 + roundf((view->ListElemHeight() + view->FontHeight()) / 2);
166 + roundf((column->Width() - viewWidth) / 2);
186 + roundf((view->ListElemHeight() + view->FontHeight()) / 2);
192 + roundf((view->IconSizeInt() - viewWidth) / 2);
419 scrollView->MoveBy(roundf(right / 2), 0);
H A DTitleView.cpp532 roundf((bounds.top + bounds.bottom) / 2.0));
H A DPose.cpp970 + roundf((B_MINI_ICON + poseView->FontHeight()) / 2);
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp470 float inset = std::max(2.0f, roundf(font.Size() / 6));
554 float inset = roundf(font.Size() / 4);
3003 BPoint center(roundf((rect.left + rect.right) / 2.0),
3004 roundf((rect.top + rect.bottom) / 2.0));
3005 const float metric = roundf(rect.Width() * 3.125f) / 10.0f,
3039 const float spacing = (indicatorWidth <= 11.0f) ? 1.0f : roundf(indicatorWidth / 11.0f);
H A DStatusBar.cpp795 return roundf(barFrame.left - 1
H A DGraphicsDefs.cpp47 return (uint8)roundf(sqrtf(
H A DTextView.cpp3954 fTextRect.InsetBy(roundf((fTextRect.Width()
5120 fContainerView->MoveBy(roundf(right / 2), 0);
H A DMenuItem.cpp422 if (roundf(frameWidth) >= roundf(labelWidth))
811 float symbolSize = roundf(Frame().Height() * 2 / 3);
H A DAbstractSpinner.cpp1146 position = roundf(position);
1439 x = fDivider - roundf(fLayoutData->label_width / 2.0f);
1450 + roundf((rect.Height() + 1.0f - fontHeight.ascent
H A DMenuField.cpp689 position = roundf(position);
H A DWindow.cpp1608 zoomArea.InsetBy(0, roundf((zoomArea.Height() - maxZoomHeight) / 2));
1620 zoomArea.InsetBy(roundf((zoomArea.Width() - maxZoomWidth) / 2), 0);
2384 x = roundf(x);
2385 y = roundf(y);
2417 width = roundf(width);
2418 height = roundf(height);
2732 frame.left = roundf(frame.left);
2733 frame.top = roundf(frame.top);
2734 frame.right = roundf(frame.right);
2735 frame.bottom = roundf(fram
[all...]
H A DView.cpp1725 where.x = roundf(where.x);
1726 where.y = roundf(where.y);
4815 MoveTo(fParentOffset.x + roundf(deltaX), fParentOffset.y + roundf(deltaY));
4833 x = roundf(x);
4834 y = roundf(y);
4855 deltaWidth = roundf(deltaWidth);
4856 deltaHeight = roundf(deltaHeight);
5843 frame.left = roundf(frame.left);
5844 frame.top = roundf(fram
[all...]
H A DBox.cpp265 float yOffset = roundf(lineHeight / 6.0f);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp1711 centered.y -= roundf(screenFrame.Height() / 16);
1921 off = roundf((centerRect.Width() - rect.Width()) / 2);
1926 off = roundf((centerRect.Width() - endRect.Width()) / 2);
1937 off = roundf((centerRect.Width() - destRect.Width()) / 2);
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp1804 BPoint center(roundf((rect.left + rect.right) / 2.0),
1805 roundf((rect.top + rect.bottom) / 2.0));
1845 const float spacing = (indicatorWidth <= 11.0f) ? 1.0f : roundf(indicatorWidth / 11.0f);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp1309 float creditsWidth = roundf(infoWidth * 1.25f);
/haiku/src/preferences/keymap/
H A DStatusMenuField.cpp128 bounds.top += roundf(Spacing() / 2); // center inside menu field vertically
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c2343 void roundf() {} function
H A Dlibroot_stubs.c2361 void roundf() {} function
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1358 baseLine.x = roundf(baseLine.x);
1359 baseLine.y = roundf(baseLine.y);
1402 baseLine.x = roundf(baseLine.x);
1403 baseLine.y = roundf(baseLine.y);
/haiku/src/apps/icon-o-matic/
H A DCanvasView.cpp82 offset.x = roundf(offset.x + dataRectCenter.x - boundsCenter.x);
83 offset.y = roundf(offset.y + dataRectCenter.y - boundsCenter.y);
124 where.x = roundf(where.x);
125 where.y = roundf(where.y);
164 where.x = roundf(where.x);
165 where.y = roundf(where.y);
630 offset.x = roundf(offset.x + canvasAnchor.x - anchor.x);
631 offset.y = roundf(offset.y + canvasAnchor.y - anchor.y);
/haiku/headers/posix/
H A Dmath.h183 extern float roundf(float x);
/haiku/src/apps/terminal/
H A DColorPreview.cpp155 rect.top = roundf(rect.bottom / 2.0f + 1);
H A DColorListView.cpp66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
/haiku/src/preferences/appearance/
H A DColorPreview.cpp155 rect.top = roundf(rect.bottom / 2.0f + 1);

Completed in 278 milliseconds

12