Searched refs:roundf (Results 1 - 25 of 44) sorted by last modified time
12
/haiku/src/kits/tracker/ |
H A D | TextWidget.cpp | 140 + 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 D | TitleView.cpp | 532 roundf((bounds.top + bounds.bottom) / 2.0));
|
H A D | Pose.cpp | 970 + roundf((B_MINI_ICON + poseView->FontHeight()) / 2);
|
/haiku/src/kits/interface/ |
H A D | HaikuControlLook.cpp | 470 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 D | StatusBar.cpp | 795 return roundf(barFrame.left - 1
|
H A D | GraphicsDefs.cpp | 47 return (uint8)roundf(sqrtf(
|
H A D | TextView.cpp | 3954 fTextRect.InsetBy(roundf((fTextRect.Width() 5120 fContainerView->MoveBy(roundf(right / 2), 0);
|
H A D | MenuItem.cpp | 422 if (roundf(frameWidth) >= roundf(labelWidth)) 811 float symbolSize = roundf(Frame().Height() * 2 / 3);
|
H A D | AbstractSpinner.cpp | 1146 position = roundf(position); 1439 x = fDivider - roundf(fLayoutData->label_width / 2.0f); 1450 + roundf((rect.Height() + 1.0f - fontHeight.ascent
|
H A D | MenuField.cpp | 689 position = roundf(position);
|
H A D | Window.cpp | 1608 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 D | View.cpp | 1725 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 D | Box.cpp | 265 float yOffset = roundf(lineHeight / 6.0f);
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 1711 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 D | FlatControlLook.cpp | 1804 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 D | AboutSystem.cpp | 1309 float creditsWidth = roundf(infoWidth * 1.25f);
|
/haiku/src/preferences/keymap/ |
H A D | StatusMenuField.cpp | 128 bounds.top += roundf(Spacing() / 2); // center inside menu field vertically
|
/haiku/src/system/libroot/stubbed/ |
H A D | libroot_stubs_legacy.c | 2343 void roundf() {} function
|
H A D | libroot_stubs.c | 2361 void roundf() {} function
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.cpp | 1358 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 D | CanvasView.cpp | 82 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 D | math.h | 183 extern float roundf(float x);
|
/haiku/src/apps/terminal/ |
H A D | ColorPreview.cpp | 155 rect.top = roundf(rect.bottom / 2.0f + 1);
|
H A D | ColorListView.cpp | 66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1);
|
/haiku/src/preferences/appearance/ |
H A D | ColorPreview.cpp | 155 rect.top = roundf(rect.bottom / 2.0f + 1);
|
Completed in 278 milliseconds
12