Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 77) sorted by relevance

1234

/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp24 #define round(x) (int)(x +.5) macro
239 G = round(fMarkerPosition.x / width * 255.0); in SetModeAndValue()
240 B = round(255.0 - fMarkerPosition.y / height * 255.0); in SetModeAndValue()
244 R = round(fMarkerPosition.x / width * 255.0); in SetModeAndValue()
246 B = round(255.0 - fMarkerPosition.y / height * 255.0); in SetModeAndValue()
250 R = round(fMarkerPosition.x / width * 255.0); in SetModeAndValue()
251 G = round(255.0 - fMarkerPosition.y / height * 255.0); in SetModeAndValue()
279 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B), in SetModeAndValue()
460 r = round(fixedValue * 255); in _FillBitmap()
474 g = round(fixedValue * 255); in _FillBitmap()
[all …]
H A DColorPickerView.cpp34 #define round(x) (int)(x+.5) macro
295 rgb_color color = { (uint8)round(r * 255), (uint8)round(g * 255), in MessageReceived()
296 (uint8)round(b * 255), 255 }; in MessageReceived()
401 color.red = (uint8)round(r * 255.0); in Color()
402 color.green = (uint8)round(g * 255.0); in Color()
403 color.blue = (uint8)round(b * 255.0); in Color()
464 updateRequired |= _SetTextControlValue(0, round(h * 60)); in _UpdateTextControls()
465 updateRequired |= _SetTextControlValue(1, round(s * 100)); in _UpdateTextControls()
466 updateRequired |= _SetTextControlValue(2, round(v * 100)); in _UpdateTextControls()
467 updateRequired |= _SetTextControlValue(3, round(r * 255)); in _UpdateTextControls()
[all …]
H A DColorSlider.cpp25 #define round(x) (int)(x+.5) macro
284 G = round(fFixedValue1 * 255.0); in SetModeAndValues()
285 B = round(fFixedValue2 * 255.0); in SetModeAndValues()
289 R = round(fFixedValue1 * 255.0); in SetModeAndValues()
291 B = round(fFixedValue2 * 255.0); in SetModeAndValues()
295 R = round(fFixedValue1 * 255.0); in SetModeAndValues()
296 G = round(fFixedValue2 * 255.0); in SetModeAndValues()
326 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round(B), in SetModeAndValues()
388 SetValue(255.0 - round(h / 6.0 * 255.0)); in SetMarkerToColor()
392 SetValue(255.0 - round(s * 255.0)); in SetMarkerToColor()
[all …]
/haiku/src/system/libroot/posix/musl/crypt/
H A Dcrypt_des.c696 unsigned int shifts, round, i, ibit; in __des_setkey() local
727 for (round = 0; round < 16; round++) { in __des_setkey()
731 shifts += key_shifts[round]; in __des_setkey()
746 ekey->l[round] = kl; in __des_setkey()
747 ekey->r[round] = kr; in __des_setkey()
778 unsigned int round = 16; in __do_des() local
782 while (round--) { in __do_des()
/haiku/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp27 round(uint16 value, uint16 resolution) in round() function
77 syncEnd = round(syncStart + syncLength, constraints.resolution); in sanitize_timing()
78 syncStart = round(syncStart, constraints.resolution); in sanitize_timing()
79 display = round(display, constraints.resolution); in sanitize_timing()
80 total = round(total, constraints.resolution); in sanitize_timing()
/haiku/src/system/libroot/posix/musl/math/
H A Dlround.c5 return round(x); in lround()
H A Dllround.c5 return round(x); in llround()
H A Dround.c10 double round(double x) in round() function
H A Droundl.c6 return round(x); in roundl()
/haiku/src/preferences/screen/
H A DUtility.h6 extern float round(float n, int32 max);
H A DUtility.cpp4 float round(float n, int32 max) in round() function
/haiku/src/system/libroot/posix/musl/math/arm64/
H A Dround.c3 double round(double x) in round() function
/haiku/src/apps/icon-o-matic/
H A DTODO9 inserts points for round corner,
/haiku/data/catalogs/add-ons/translators/bmp/
H A Dja.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP イメージ (MS フォーマッ…
H A Dbe.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket Выява BMP (у фарма…
H A Dko.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP 이미지 (MS 형식, %d…
H A Duk.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket Зображення BMP (фо…
H A Dru.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket Точечный рисунок B…
H A Dth.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket รูปภาพ BMP (รูปแบบ…
H A Dzh_Hans.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP 图像 (MS 格式,%d b…
H A Del.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket Εικόνα BMP (MS for…
H A Dfi.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP-kuva (MS-muoto…
H A Dda.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP-billede (MS-fo…
H A Dnl.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket BMP afbeelding (MS…
H A Did.catkeys6 BMP image (MS format, %d bits BMPTranslator Ignore missing closing round bracket Gambar BMP (format…

1234