Searched refs:max (Results 126 - 150 of 424) sorted by relevance

1234567891011>>

/haiku/src/add-ons/translators/exr/
H A DEXRGamma.cpp74 float x = max (0.f, (h - d));
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_rumreg.h165 #define RT2573_LONG_RETRY(max) ((max) << 24)
167 #define RT2573_SHORT_RETRY(max) ((max) << 28)
/haiku/src/preferences/screen/
H A DScreenMode.h62 float& min, float& max);
H A DScreenWindow.cpp226 float scaling = std::max(1.0f, be_plain_font->Size() / 12.0f);
414 float min, max; local
415 if (fScreenMode.GetRefreshLimits(fActive, min, max) != B_OK) {
420 max = kRefreshRates[kRefreshRateCount - 1];
423 if (min == max) {
437 max = min_c(info.max_vertical_frequency, max);
441 if (kRefreshRates[i] < min || kRefreshRates[i] > max)
777 float min, max; local
778 if (fScreenMode.GetRefreshLimits(fSelected, min, max) !
1106 float min = 0, max = 999; local
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp22 int32 min, int32 max, int32 value,
28 fMax(max),
266 SliderView::SetMax(int32 max) argument
268 if (max != fMax) {
269 fMax = max;
317 SliderView::GetSliderButtonDimensions(int32 max, const char* formatString, argument
323 sprintf(label, formatString, max);
21 SliderView(PopupSlider* target, int32 min, int32 max, int32 value, const char* formatString) argument
H A DPopupSlider.cpp25 int32 min, int32 max, int32 value,
27 : PopupControl(name, fSlider = new SliderView(this, min, max, value,
360 PopupSlider::SetMax(int32 max) argument
363 fSlider->SetMax(max);
366 fSlider->SetMax(max);
23 PopupSlider(const char* name, const char* label, BMessage* model, BHandler* target, int32 min, int32 max, int32 value, const char* formatString) argument
/haiku/src/tests/kits/app/bmessagerunner/
H A DSetCountTester.cpp127 interval = max(interval, kMinTimeInterval);
164 interval = max(interval, kMinTimeInterval);
200 interval = max(interval, kMinTimeInterval);
238 interval = max(interval, kMinTimeInterval);
281 interval = max(interval, kMinTimeInterval);
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp284 _colors[0].red = std::max(0, base.red - 72);
285 _colors[0].green = std::max(0, base.green - 72);
286 _colors[0].blue = std::max(0, base.blue - 72);
294 _colors[2].red = std::max(0, base.red - 8);
295 _colors[2].green = std::max(0, base.green - 8);
296 _colors[2].blue = std::max(0, base.blue - 8);
299 _colors[3].red = std::max(0, base.red - 88);
300 _colors[3].green = std::max(0, base.green - 88);
301 _colors[3].blue = std::max(0, base.blue - 88);
304 _colors[4].red = std::max(
[all...]
/haiku/src/kits/interface/
H A DSlider.cpp336 BSlider::GetHeightForWidth(data->width, &data->min, &data->max,
769 float max; local
773 max = _MaxPosition();
776 max = _MinPosition();
778 position = min + (max - location.y);
784 if (position > max)
785 position = max;
788 / (max - min)) + fMinValue);
1069 float width = ceilf(std::max(newWidth, oldWidth)) + 2.0f;
1238 *_width = std::max(Bound
[all...]
H A DScrollBar.cpp207 float min, float max, orientation direction)
212 fMax(max),
237 float min, float max, orientation direction)
241 fMax(max),
827 BScrollBar::SetRange(float min, float max)
829 if (min > max || isnanf(min) || isnanf(max)
830 || isinff(min) || isinff(max)) {
832 max = 0.0f;
836 max
206 BScrollBar(BRect frame, const char* name, BView* target, float min, float max, orientation direction) argument
236 BScrollBar(const char* name, BView* target, float min, float max, orientation direction) argument
[all...]
H A DViewLayoutItem.cpp146 BViewLayoutItem::GetHeightForWidth(float width, float* min, float* max, argument
149 fView->GetHeightForWidth(width, min, max, preferred);
H A DColorMenuItem.cpp199 return floorf(std::max(14.0f, be_plain_font->Size() + 2) / 2);
206 return floorf(std::max(14.0f, be_plain_font->Size() + 2) * M_PHI);
H A DRect.cpp237 return BRect(std::max(left, other.left), std::max(top, other.top),
246 std::max(right, other.right), std::max(bottom, other.bottom));
/haiku/src/apps/mediaplayer/interface/
H A DPeakView.cpp80 float max; local
81 for (int32 i = 0; message->FindFloat("max", i, &max) == B_OK; i++)
82 SetMax(max, i);
131 // Reset the overshot flag and set the observed max to the current
138 // Toggle locking of the observed max value.
295 PeakView::SetMax(float max, uint32 channel) argument
300 if (fChannelInfos[channel].current_max < max)
301 fChannelInfos[channel].current_max = max;
/haiku/src/libs/alm/
H A DSharedSolver.cpp252 const Constraint* max; local
253 fLinearSpec.GetRangeConstraints(corners[j], &min, &max);
256 if (max)
257 autoConstraints.insert(max);
430 SharedSolver::SetMaxSize(BALMLayout* layout, const BSize& max) argument
432 layout->fMaxSize = max;
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofwide.c64 const char *from_end, _IO_size_t max);
447 const char *from_start, const char *from_end, _IO_size_t max)
452 wchar_t to_buf[max];
458 codecvt->__cd_in.__cd.__data[0].__outbufend = (char *) &to_buf[max];
470 wchar_t to_buf[max];
475 &to_start, &max);
446 do_length(struct _IO_codecvt *codecvt, __mbstate_t *statep, const char *from_start, const char *from_end, _IO_size_t max) argument
/haiku/src/bin/multiuser/
H A Duseradd.cpp74 int max = -1; local
211 || message.AddInt32("max", max) != B_OK
/haiku/src/add-ons/network_settings/sshd/
H A DSSHServiceAddOn.cpp123 int max = -1; local
138 && message.AddInt32("max", max) == B_OK
/haiku/src/bin/bfs_tools/lib/
H A DCache.h43 Cache(int32 max = 20)
45 fMaxInQueue(max),
/haiku/src/system/libroot/posix/sys/
H A Dpriority.c42 #define CLIP(n, max, min) MAX(MIN((n), (max)), (min))
/haiku/src/apps/codycam/
H A DSettings.cpp151 int32 min, int32 max)
156 fMax(max),
149 ScalarValueSetting(const char* name, int32 defaultValue, const char* valueExpectedErrorString, const char* wrongValueErrorString, int32 min, int32 max) argument
/haiku/src/libs/libfdt/
H A Dfdt_ro.c116 uint32_t max = 0; local
132 if (value > max)
133 max = value;
137 *phandle = max;
144 uint32_t max; local
147 err = fdt_find_max_phandle(fdt, &max);
151 if (max == FDT_MAX_PHANDLE)
155 *phandle = max + 1;
/haiku/headers/os/interface/
H A DCardLayout.h29 float* max, float* preferred);
H A DLayoutItem.h47 float* max, float* preferred);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DDefaultChartAxisLegendSource.cpp22 double end = range.max;

Completed in 646 milliseconds

1234567891011>>