Searched refs:max (Results 26 - 50 of 424) sorted by relevance

1234567891011>>

/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.h24 int32 max,
47 void SetMax(int32 max);
57 static void GetSliderButtonDimensions(int32 max,
H A DInputSlider.h24 int32 max = 100,
/haiku/src/tests/libs/alm/
H A DBadLayout.cpp63 BSize max = fLayout->MaxSize(); local
64 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DOperatorLayout.cpp48 BSize max = layout->MaxSize(); local
49 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DTableDemo.cpp49 BSize max = layout->MaxSize(); local
50 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DThreeButtons.cpp50 BSize max = fLayout->MaxSize(); local
51 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DAreas.cpp54 BSize max = layout->MaxSize(); local
55 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DComplexButtons.cpp71 BSize max = fLayout->MaxSize(); local
72 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DHelloWorld.cpp50 BSize max = fLayout->MaxSize(); local
51 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
H A DPinwheel.cpp77 BSize max = layout->MaxSize(); local
78 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
/haiku/src/apps/haikudepot/textview/
H A DTextView.cpp81 TextView::GetHeightForWidth(float width, float* min, float* max, argument
91 if (max != NULL)
92 *max = height;
/haiku/src/kits/interface/
H A DLayoutUtils.cpp112 BLayoutUtils::FixSizeConstraints(float& min, float& max, float& preferred) argument
114 if (max < min)
115 max = min;
118 else if (preferred > max)
119 preferred = max;
125 BLayoutUtils::FixSizeConstraints(BSize& min, BSize& max, BSize& preferred) argument
127 FixSizeConstraints(min.width, max.width, preferred.width);
128 FixSizeConstraints(min.height, max.height, preferred.height);
190 // ourselves and restrict the height max constraint respectively.
203 frame.bottom = frame.top + std::max(fram
292 BSize max = view->MaxSize(); local
339 BSize max = item->MaxSize(); local
[all...]
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);
/haiku/src/system/boot/platform/u-boot/arch/ppc/
H A Darch_mmu_amcc440.cpp51 uint32 max = 23; local
54 while (max < 32) {
55 if (total <= (1UL << max))
58 max++;
61 return 1UL << (max - 7);
/haiku/src/tests/system/network/
H A Dselect_test_big.c24 int i, max = 0; local
53 if (s[i] > max)
54 max = s[i];
67 rv = select(max + 1, &fdr, NULL, &fde, &tv);
85 rv = select(max +1, &fdr, &fdw, &fde, NULL);
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DInterpolate.cpp23 int inMiddle, int outMiddle, int32 min, int32 max> static void
39 else if (tmp >= max)
40 *(outType *)dest = max;
60 else if (tmp >= max)
61 *(outType *)dest = max;
H A DResampler.cpp23 int inMiddle, int outMiddle, int32 min, int32 max> static void
39 else if (tmp >= max)
40 *(outType *)dest = max;
57 else if (tmp >= max)
58 *(outType *)dest = max;
/haiku/src/add-ons/translators/exr/
H A DEXRTranslator.cpp15 #undef max macro
131 int dataWidth = dataWindow.max.x - dataWindow.min.x + 1;
132 int dataHeight = dataWindow.max.y - dataWindow.min.y + 1;
133 int displayWidth = displayWindow.max.x - displayWindow.min.x + 1;
134 int displayHeight = displayWindow.max.y - displayWindow.min.y + 1;
155 in.readPixels (dataWindow.min.y, dataWindow.max.y);
194 for (int y = displayWindow.min.y; y <= displayWindow.max.y; ++y) {
196 || y > dataWindow.max.y) {
202 for (int x = displayWindow.min.x; x <= displayWindow.max.x; ++x) {
208 for (int x = displayWindow.min.x; x <= displayWindow.max
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/random_read/
H A Drandom_read.cpp50 test_t max = size / sizeof(test_t); local
51 for (uint32 i = 0; i < max; i++) {
91 off_t max = size - pos; local
92 if (max > bytes)
93 max = bytes;
95 bytes = max;
101 } else if (bytesRead != max) {
/haiku/src/apps/networkstatus/
H A DRadioView.cpp55 RadioView::SetMax(int32 max) argument
57 if (max < 0)
58 max = 0;
59 if (max > 100)
60 max = 100;
61 if (max == fMax)
64 fMax = max;
195 int32 max, float& step)
199 step = floorf(size / max);
204 count = max;
194 _Compute(const BRect& bounds, BPoint& center, int32& count, int32 max, float& step) argument
[all...]
/haiku/src/libs/print/libprint/
H A DHalftoneView.cpp137 float size, max; local
157 max = size = font.StringWidth(kRedLabel);
165 if (max < size) max = size;
172 if (max < size) max = size;
179 if (max < size) max = size;
185 r.OffsetTo(max, 0);
186 r.right -= max;
[all...]
/haiku/headers/private/interface/
H A DDecimalSpinner.h46 virtual void SetMaxValue(double max);
48 void Range(double* min, double* max);
49 virtual void SetRange(double min, double max);
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/kits/interface/layouter/
H A DOneElementLayouter.h19 float min, float max, float preferred);
/haiku/src/libs/linprog/
H A DVariable.cpp120 * @param max maximum value
123 Variable::SetMax(double max) argument
125 SetRange(fMin, max);
133 * @param max maximum value
136 Variable::SetRange(double min, double max) argument
139 fMax = max;

Completed in 114 milliseconds

1234567891011>>