Searched refs:ratio (Results 1 - 19 of 19) sorted by relevance

/haiku/src/add-ons/mail_daemon/inbound_filters/spam_filter/
H A DSpamFilter.h32 float& ratio);
H A DSpamFilter.cpp132 // Store the spam ratio in an attribute called MAIL:ratio_spam,
229 float& ratio)
250 ratio = fSpamCutoffRatio; // Yes, no words and that means spam.
252 || replyMessage.FindFloat("result", &ratio) != B_OK)
228 _GetSpamRatio(const char* stringBuffer, off_t dataSize, float& ratio) argument
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DPopupSlider.h61 virtual float Scale(float ratio) const;
62 virtual float DeScale(float ratio) const;
H A DSliderView.cpp311 float ratio = fTarget->DeScale((float)(fValue - fMin) / (float)(fMax - fMin)); local
312 return 6.0 + ratio * (Bounds().Width() - 12.0 - fButtonRect.Width());
386 float ratio = h / (Bounds().Width() - fButtonRect.Width() - 12.0); local
387 if (ratio < 0.0)
388 ratio = 0.0;
389 if (ratio > 1.0)
390 ratio = 1.0;
391 ratio = fTarget->Scale(ratio);
392 return fMin + (int32)((fMax - fMin + 1) * ratio);
[all...]
H A DPopupSlider.cpp298 PopupSlider::Scale(float ratio) const
300 return ratio;
305 PopupSlider::DeScale(float ratio) const
307 return ratio;
/haiku/src/libs/alm/
H A DArea.cpp207 * Gets aspect ratio of the area's content.
217 * Sets aspect ratio of the area's content.
218 * May be different from the aspect ratio of the area.
221 Area::SetContentAspectRatio(double ratio) argument
223 fContentAspectRatio = ratio;
229 ratio, fTop, -ratio, fBottom, kEQ, 0.0);
231 fContentAspectRatioC->SetLeftSide(-1.0, fLeft, 1.0, fRight, ratio,
232 fTop, -ratio, fBottom);
/haiku/src/preferences/notifications/
H A DGeneralView.cpp80 float ratio = be_plain_font->Size() / 12.f; local
81 int32 minWidth = int32(kMinimumWidth / kWidthStep * ratio);
82 int32 maxWidth = int32(kMaximumWidth / kWidthStep * ratio);
/haiku/headers/private/graphics/common/
H A Dedid.h80 uint8 ratio; member in struct:__anon87
H A Dedid_raw.h137 ratio : 2, // 0=1:1, 1=3/4, 2=4/5, 3=9/16
/haiku/src/add-ons/accelerants/common/
H A Ddecode_edid.c102 timing->ratio = raw->timing.ratio;
104 switch (raw->timing.ratio) {
H A Ddump_edid.c304 switch (timing->ratio) {
362 switch (timing->ratio) {
/haiku/headers/libs/alm/
H A DArea.h68 void SetContentAspectRatio(double ratio);
/haiku/src/bin/unzip/
H A Dlist.c17 ratio()
306 if ((cfactor = ratio(G.crec.ucsize, csiz)) < 0) {
401 if ((cfactor = ratio(tot_ucsize, tot_csize)) < 0) {
632 /* Function ratio() */ /* also used by ZipInfo routines */
635 int ratio(uc, c) function
H A Dzipinfo.c874 int cfactor = ratio(tot_ucsize, tot_csize);
2017 (ratio(G.crec.ucsize,csiz)+5)/10));
H A Dunzpriv.h1762 int ratio OF((ulg uc, ulg c));
/haiku/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp173 FixedAspectRatioType(float ratio) argument
174 : fAspectRatio(ratio)
942 .Add(aspectRatioButton = new BRadioButton("fixed aspect ratio",
1031 .Add(aspectRatioButton = new BRadioButton("fixed aspect ratio",
1120 .Add(aspectRatioButton = new BRadioButton("fixed aspect ratio",
1222 .Add(aspectRatioButton = new BRadioButton("fixed aspect ratio",
1315 .Add(aspectRatioButton = new BRadioButton("fixed aspect ratio",
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp138 /* ratio between the rear clipping depth and the front clipping
142 /* prefered aspect ratio between horizontal and vertical
2239 /* The statistic numbers are based on the ratio between the real
2548 float ratio, ratio_min; local
2589 ratio = (lateral/axial) * sqrt(dist);
2592 if ((dist > 0.05) && (ratio < ratio_min)) {
2593 ratio_min = ratio;
2829 /* calculate the new optimal split ratio depending
2832 float ratio = ((float)fSecondThreadDelay / local
2835 fSecondThreadThreshold = ratio / (1.
[all...]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeonProducer.cpp729 double ratio = mode == C_VIDEO_IN_WEAVE ? 1 : 0.5;
732 format->u.raw_video.pixel_height_aspect != ratio )
/haiku/src/system/libroot/posix/stdlib/
H A Dstrtod.c1062 ratio(Bigint *a, Bigint *b) function
1497 if ((aadj = ratio(delta, bs)) <= 2.) {

Completed in 171 milliseconds