Searched refs:max (Results 1 - 25 of 424) sorted by last modified time

1234567891011>>

/haiku/src/preferences/screen/
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...]
H A DScreenMode.cpp359 ScreenMode::GetRefreshLimits(const screen_mode& mode, float& min, float& max) argument
372 max = maxClock * 1000.0 / total;
409 // (EDID1_MONITOR_RANGES) in their EDID info resulting in the min/max
/haiku/src/apps/pulse/
H A DNormalPulseView.cpp51 float width = std::max(StringWidth(fProcessor), 48.0f);
/haiku/src/apps/activitymonitor/
H A DSettingsWindow.cpp37 BString max(_TextFor(levels - 1));
38 SetLimitLabels(min.String(), max.String());
H A DDataSource.cpp119 DataSource::SetLimits(int64 min, int64 max) argument
122 fMaximum = max;
H A DDataSource.h35 virtual void SetLimits(int64 min, int64 max);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp736 fCachedMinWidth = ceilf(std::max(fCachedBaseWidth,
738 fCachedMinWidth = ceilf(std::max(fCachedBaseWidth,
740 fCachedMinWidth = ceilf(std::max(fCachedBaseWidth,
1310 fCachedMinWidth = std::max(infoWidth + creditsWidth,
1315 fCachedMinHeight = std::max(logoViewHeight + sysInfoViewHeight,
1370 float max; local
1371 scrollBar->GetRange(&min, &max);
1372 if (scrollBar->Value() < max)
/haiku/src/kits/interface/
H A DSpinner.cpp199 BSpinner::SetMaxValue(int32 max) argument
201 fMaxValue = max;
207 BSpinner::Range(int32* min, int32* max) argument
210 *max = fMaxValue;
215 BSpinner::SetRange(int32 min, int32 max) argument
218 SetMaxValue(max);
H A DHaikuControlLook.cpp470 float inset = std::max(2.0f, roundf(font.Size() / 6));
473 float penSize = std::max(1.0f, ceilf(rect.Width() / 3.5f));
1535 int32 hashMarkCount = std::max(count, (int32)2);
1536 // draw at least two hashmarks at min/max if
2362 height = std::max(height, textHeight);
H A DStatusBar.cpp472 BStatusBar::SetMaxValue(float max) argument
478 fMax = max;
663 BStatusBar::GetHeightForWidth(data->width, &data->min, &data->max,
H A DMenu.cpp1269 BMenu::GetHeightForWidth(data->width, &data->min, &data->max,
2455 index = std::max((int32)0, index);
2659 frame.right = std::max(frame.right, width + fPad.left + fPad.right);
2722 frame.bottom = std::max(frame.bottom, height + fPad.top + fPad.bottom);
2745 frame.right = std::max(frame.right, item->Frame().right);
2747 frame.bottom = std::max(frame.bottom, item->Frame().bottom);
H A DOutlineListView.cpp559 &data->max, &data->preferred);
861 int32 max = FullListCountItems() - fullListIndex - 1; local
867 while (max-- > 0) {
/haiku/src/kits/shared/
H A DHSL.cpp19 float max = max_c(max_c(r, g), b); local
22 result.hue = result.saturation = result.lightness = (max + min) / 2;
24 if (max == min) {
28 float diff = max - min;
30 = (result.lightness > 0.5) ? (diff / (2 - max - min)) : (diff / (max + min));
32 if (max == r)
34 else if (max == g)
36 else if (max == b)
/haiku/src/kits/tracker/
H A DContainerWindow.cpp1005 scroll.x = std::max(fPreviousBounds.Width() - Bounds().Width(),
1011 scroll.y = std::max(fPreviousBounds.Height() - Bounds().Height(),
H A DPoseView.cpp1043 fIconPoseHeight = std::max((float)IconSizeInt(), sFontHeight + 1);
1090 float max, min; local
1091 fVScrollBar->GetSteps(&min, &max);
1098 fVScrollBar->SetValue(max);
1101 fVScrollBar->SetValue(fVScrollBar->Value() - max);
1104 fVScrollBar->SetValue(fVScrollBar->Value() + max);
1687 BView::ScrollTo(bounds.left, std::max(lastItemTop, 0.0f));
3540 float max; local
3541 HScrollBar()->GetRange(&min, &max);
6966 return std::max(s
10580 TScrollBar(const char* name, BView* target, float min, float max) argument
[all...]
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp269 SetSizeLimits(std::max(menuBarMinWidth, toolBarMinWidth), 100000,
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp334 size_t index = 0, max = *_count; local
347 if (index >= max) {
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp333 BSize max(MinSize());
334 max.width = B_SIZE_UNLIMITED;
335 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
/haiku/src/apps/deskbar/
H A DSwitcher.cpp803 int32 max = CountWindows(fCurrentIndex); local
809 if (next >= max) {
819 next = max - 1;
852 int32 max = fGroupList.CountItems();
855 if (fCurrentIndex >= max)
860 fCurrentIndex = max - 1;
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.cpp471 uint32 max = fLastPort + 65536; local
478 while (counter < max) {
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_controller.cpp337 int portCount = std::max(fls(fRegs->pi), 1 + (int)((fRegs->cap >> CAP_NP_SHIFT) & CAP_NP_MASK));
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp277 float penSize = std::max(1, 2);
1276 int32 hashMarkCount = std::max(count, (int32)2);
1277 // draw at least two hashmarks at min/max if
2365 height = std::max(height, textHeight);
/haiku/headers/private/interface/
H A DSpinner.h43 virtual void SetMaxValue(int32 max);
45 void Range(int32* min, int32* max);
46 virtual void SetRange(int32 min, int32 max);
/haiku/src/preferences/filetypes/
H A DApplicationTypesWindow.cpp52 ProgressWindow(const char* message, int32 max,
96 int32 max, volatile bool* signalQuit)
104 snprintf(count, sizeof(count), "/%" B_PRId32, max);
107 fStatusBar->SetMaxValue(max);
95 ProgressWindow(const char* message, int32 max, volatile bool* signalQuit) argument
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DAudioStreamingInterface.cpp246 if (newRate == 0) { // by default select max available
256 uint32 max = max_c(frequencies[0], frequencies[1]); local
257 if (newRate < min || newRate > max) {
259 newRate, min, max);
309 uint32 max = max_c(frequencies[0], frequencies[1]); local
312 if (frequencies[i] < min || frequencies[i] > max)

Completed in 158 milliseconds

1234567891011>>