Searched refs:floor (Results 1 - 25 of 56) sorted by path

123

/haiku/headers/libs/agg/
H A Dagg_basics.h148 return int(floor(v));
152 return unsigned(floor(v));
173 return int(floor(v));
177 return unsigned(floor(v));
/haiku/headers/libs/mapm/
H A Dm_apm.h90 * add floor and ceil functions
585 MAPM floor(void) const function in class:MAPM
616 inline MAPM floor(const MAPM &m) {return m.floor();} function
/haiku/src/add-ons/screen_savers/ifs/
H A DIFSSaver.cpp152 SetTickSize((bigtime_t)floor(1000000.0 / fps + 0.5));
/haiku/src/apps/debugger/user_interface/gui/inspector_window/
H A DMemoryView.cpp839 int32 containingBlock = int32(floor(point.x / blockWidth));
/haiku/src/apps/icon-o-matic/generic/support/
H A Drgb_hsv.h71 int i = (int)floor(h);
/haiku/src/apps/workspaces/
H A DWorkspaces.cpp755 float width = floor(workspaceWidth * columns);
756 float height = floor(workspaceHeight * rows);
762 width = floor(0.95 * width);
763 height = floor(0.95 * height);
856 width = floor(workspaceWidth * columns);
857 height = floor(workspaceHeight * rows);
862 width = floor(0.95 * width);
863 height = floor(0.95 * height);
1126 float rowHeight = floor((height - 1) / rows);
1130 float columnWidth = floor((rowHeigh
[all...]
/haiku/src/bin/pcmcia-cs/
H A Dyacc_cis.y164 $2 -= floor($2+0.01);
165 while (fabs($2 - floor($2+0.5)) > 0.01) {
/haiku/src/kits/interface/
H A DSlider.cpp1188 frame.left = floor((frame.Width() - fBarThickness) / 2) - 4;
1639 loc.y = floor(_MaxPosition() - pos);
H A DColumnListView.cpp1639 float baseline = floor(rect.top + fh.ascent
2674 float baseline = floor(drawRect.top + fh.ascent
2737 upperLeft.y = baseline - bmh + floor((fh.ascent + fh.descent - bmh) / 2);
3419 float baseline = floor(fieldRect.top + fh.ascent
3456 float baseline = floor(destRect.top + fh.ascent
3608 float baseline = floor(destRect.top + fh.ascent
/haiku/src/libs/agg/font_freetype/
H A Dagg_font_freetype.cpp976 m_bounds.x1 = int(floor(bnd.x1));
977 m_bounds.y1 = int(floor(bnd.y1));
997 m_bounds.x1 = int(floor(bnd.x1));
998 m_bounds.y1 = int(floor(bnd.y1));
/haiku/src/libs/mapm/
H A Dmapm_rnd.c361 millisec = (int)(0.01 + 1000.0 * (timer0 - floor(timer0)));
/haiku/src/preferences/joysticks/
H A DMessageWin.cpp42 ResizeTo(parentFrame.Width(), floor(parentFrame.Height() / 3));
43 MoveBy(0, floor(parentFrame.Height() / 2 - (parentFrame.Height()/3) / 2 ));
/haiku/src/preferences/screen/
H A DUtility.cpp11 int32 tmp = (int32)floor(n);
/haiku/src/servers/print/
H A DConfigWindow.cpp106 w = floor(w + 0.5); h = floor(h + 0.5);
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h168 __MATHCALL (floor,, (_Mdouble_ __x));
/haiku/src/system/libroot/posix/glibc/misc/
H A Defgcvt_r.c51 #define FLOOR APPEND(floor, FLOAT_NAME_EXT)
/haiku/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp199 float height = floor((width + 1) * fAspectRatio) - 1;
228 float preferredWidth = floor(fSum / 2) - 1;
266 float preferredWidth = floor(sqrt(fProduct));
275 float height = floor(fProduct / (width + 1)) - 1;
/haiku/headers/posix/
H A Dmath.h215 extern double floor(double x);
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaRoutingView.cpp1833 float bigStep = floor(MediaNodePanel::M_DEFAULT_WIDTH + M_CLEANUP_H_GAP);
1834 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
1840 float bigStep = floor(MediaNodePanel::M_DEFAULT_HEIGHT + M_CLEANUP_V_GAP);
1841 scrollBar->SetSteps(floor(bigStep / 10.0), bigStep);
/haiku/src/apps/cortex/ValControl/
H A DNumericValControl.cpp208 (int64)floor(minValue * factor) :
212 (int64)floor(maxValue * factor) :
/haiku/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp1478 int32 readFrameLo = (int32)floor(fReadFrame);
/haiku/src/apps/mandelbrot/
H A DFractalEngine.cpp260 // floor(height/2)*2 = height-height%2.
477 return static_cast<int32>(floor(4 * log(4 / closest)));
479 return static_cast<int32>(floor(4 * log(4 / closest)));
/haiku/src/apps/serialconnect/
H A DTermView.cpp367 rect.start_col = (int)floor(pixels.left / fFontWidth);
369 rect.start_row = (int)floor(pixels.top / fFontHeight);
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp909 float offsetMarginHeight = floor((Height() - iconSize) / 2);
/haiku/src/apps/sudoku/
H A DSudokuView.cpp1090 hintX = (uint32)floor((where.x - leftTop.x) / fHintWidth);
1091 hintY = (uint32)floor((where.y - leftTop.y) / fHintHeight);
1104 x = (uint32)floor(where.x / block);
1105 uint32 offsetX = (uint32)floor((where.x - x * block) / fWidth);
1109 y = (uint32)floor(where.y / block);
1110 uint32 offsetY = (uint32)floor((where.y - y * block) / fHeight);

Completed in 312 milliseconds

123