Home
last modified time | relevance | path

Searched refs:fMax (Results 1 – 25 of 40) sorted by relevance

12

/haiku/src/kits/interface/layouter/
H A DOneElementLayouter.cpp35 fMax(B_SIZE_UNLIMITED), in OneElementLayouter()
51 fMax = min_c(fMax, max); in AddConstraints()
52 fMax = max_c(fMax, fMin); in AddConstraints()
55 fPreferred = min_c(fPreferred, fMax); in AddConstraints()
76 return fMax; in MaxSize()
106 layouter->fMax = fMax; in CloneLayouter()
H A DSimpleLayouter.cpp120 fMax((int32)B_SIZE_UNLIMITED), in SimpleLayouter()
187 return fMax - 1; in MaxSize()
221 if (fLayoutInfo->fSize >= fMax) in Layout()
244 layouter->fMax = fMax; in CloneLayouter()
334 fMax = (int32)B_SIZE_UNLIMITED; in _ValidateMinMax()
341 fMax = spacing; in _ValidateMinMax()
357 fMax = BLayoutUtils::AddSizesInt32(fMax, info.max); in _ValidateMinMax()
371 int32 additionalSpace = fLayoutInfo->fSize - fMax; in _LayoutMax()
H A DOneElementLayouter.h36 float fMax; variable
H A DComplexLayouter.cpp283 return fMax; in MaxSize()
393 layouter->fMax = fMax; in CloneLayouter()
660 fMax = B_SIZE_UNLIMITED; in _ValidateLayout()
664 fMax = fSums[fElementCount].max + spacing - 1; in _ValidateLayout()
665 if (fMax >= fUnlimited) in _ValidateLayout()
666 fMax = B_SIZE_UNLIMITED; in _ValidateLayout()
H A DSimpleLayouter.h59 int32 fMax; variable
/haiku/src/bin/bfs_tools/lib/
H A DStack.h22 fMax(0) in Stack()
34 if (fUsed >= fMax) in Push()
36 fMax += 16; in Push()
37 fArray = (T *)realloc(fArray,fMax * sizeof(T)); in Push()
57 int32 fMax; variable
/haiku/headers/private/media/
H A DTStack.h17 fMax(0) in Stack()
29 if (fUsed >= fMax) { in Push()
30 fMax += 16; in Push()
31 T *newArray = (T *)realloc(fArray, fMax * sizeof(T)); in Push()
58 int32 fMax; variable
/haiku/src/add-ons/translators/rtf/
H A DStack.h21 fMax(0) in Stack()
43 if (fUsed >= fMax) { in Push()
44 fMax += 16; in Push()
45 T *newArray = (T *)realloc(fArray, fMax * sizeof(T)); in Push()
67 int32 fMax; variable
/haiku/src/kits/interface/
H A DCardLayout.cpp22 fMax(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED), in BCardLayout()
34 fMax(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED), in BCardLayout()
110 return fMax; in BaseMaxSize()
150 float maxHeight = fMax.height; in GetHeightForWidth()
301 fMax.width = B_SIZE_UNLIMITED; in _ValidateMinMax()
302 fMax.height = B_SIZE_UNLIMITED; in _ValidateMinMax()
317 fMax.width = min_c(fMax.width, max.width); in _ValidateMinMax()
318 fMax.height = min_c(fMax.height, max.height); in _ValidateMinMax()
324 fMax.width = max_c(fMax.width, fMin.width); in _ValidateMinMax()
325 fMax.height = max_c(fMax.height, fMin.height); in _ValidateMinMax()
[all …]
H A DViewPort.cpp32 fMax(), in ViewPortLayout()
76 return fMax; in BaseMaxSize()
167 fMax = child->MaxSize(); in _ValidateMinMax()
172 fMax.Set(B_SIZE_UNLIMITED, B_SIZE_UNLIMITED); in _ValidateMinMax()
212 BSize fMax; member in BPrivate::BViewPort::ViewPortLayout
H A DScrollBar.cpp212 fMax(max), in BScrollBar()
241 fMax(max), in BScrollBar()
273 if (data->FindFloat("_range", 1, &fMax) < B_OK) in BScrollBar()
274 fMax = 0.0f; in BScrollBar()
333 err = data->AddFloat("_range", fMax); in Archive()
393 bool scrollingEnabled = fMin < fMax in Draw()
577 if (!fPrivateData->fEnabled || fMin == fMax) in MouseDown()
681 if (!fPrivateData->fEnabled || fMin >= fMax || fProportion >= 1.0f in MouseMoved()
739 if (value > fMax) in SetValue()
740 value = fMax; in SetValue()
[all …]
H A DStatusBar.cpp82 fMax = floatValue; in BStatusBar()
116 if (err == B_OK && fMax != 100 ) in Archive()
117 err = archive->AddFloat("_max", fMax); in Archive()
478 fMax = max; in SetMaxValue()
508 fMax = 100; in Reset()
520 if (value > fMax) in SetTo()
521 value = fMax; in SetTo()
563 return fMax; in MaxValue()
720 fMax = 100.0; in _InitObject()
796 + (fCurrent * (barFrame.Width() + 3) / fMax)); in _BarPosition()
/haiku/src/apps/sudoku/
H A DStack.h20 fMax(0) in Stack()
42 if (fUsed >= fMax) { in Push()
43 fMax += 16; in Push()
44 T *newArray = (T *)realloc(fArray, fMax * sizeof(T)); in Push()
76 int32 fMax; variable
/haiku/headers/private/fs_shell/
H A DStack.h23 fMax(0) in Stack()
45 if (fUsed >= fMax) { in Push()
46 fMax += 16; in Push()
47 T *newArray = (T *)realloc(fArray, fMax * sizeof(T)); in Push()
79 int32_t fMax; variable
/haiku/headers/private/kernel/util/
H A DStack.h22 fMax(0) in Stack()
44 if (fUsed >= fMax) { in Push()
45 fMax += 16; in Push()
46 T *newArray = (T *)realloc(fArray, fMax * sizeof(T)); in Push()
78 int32 fMax; variable
/haiku/src/apps/icon-o-matic/generic/property/
H A DProperty.cpp99 fMax(max) in IntProperty()
108 fMax(other.fMax) in IntProperty()
117 fMax(0) in IntProperty()
126 if (archive->FindInt32("max", &fMax) < B_OK) in IntProperty()
127 fMax = 0; in IntProperty()
146 ret = into->AddInt32("max", fMax); in Archive()
216 if (value > fMax) in SetValue()
217 value = fMax; in SetValue()
234 fMax(max) in FloatProperty()
243 fMax(other.fMax) in FloatProperty()
[all …]
H A DProperty.h92 { return fMax; } in Max()
97 int32 fMax; variable
135 { return fMax; } in Max()
140 float fMax; variable
/haiku/src/libs/linprog/
H A DVariable.cpp101 SetRange(min, fMax); in SetMin()
113 return fMax; in Max()
139 fMax = max; in SetRange()
297 fMax(20000), in Variable()
/haiku/src/apps/networkstatus/
H A DRadioView.cpp28 fMax(DefaultMax()) in RadioView()
61 if (max == fMax) in SetMax()
64 fMax = max; in SetMax()
156 _Compute(Bounds(), center, count, fMax, step); in Draw()
185 _Compute(Bounds(), center, count, fMax, step); in _RestartPulsing()
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DSliderView.cpp28 fMax(max), in SliderView()
229 if (value > fMax) in SetValue()
230 value = fMax; in SetValue()
249 if (min != fMax) { in SetMin()
268 if (max != fMax) { in SetMax()
269 fMax = max; in SetMax()
270 if (fValue > fMax) in SetMax()
271 SetValue(fMax); in SetMax()
280 return fMax; in Max()
311 float ratio = fTarget->DeScale((float)(fValue - fMin) / (float)(fMax - fMin)); in ButtonOffset()
[all …]
/haiku/src/bin/desklink/
H A DMixerControl.h44 float Maximum() const { return fMax; } in Maximum()
59 float fMax; variable
H A DMixerControl.cpp31 fMax(0.0f), in MixerControl()
135 fMax = fMixerParameter->MaxValue(); in Connect()
236 else if (volume > fMax) in SetVolume()
237 volume = fMax; in SetVolume()
/haiku/src/apps/codycam/
H A DSettings.cpp156 fMax(max), in ScalarValueSetting()
173 ASSERT(newValue < fMax); in ValueChanged()
199 if (newValue < fMin || newValue > fMax) in Handle()
/haiku/src/apps/cortex/ValControl/
H A DValControlDigitSegment.cpp411 float fMax = 0.0; in MaxDigitWidth() local
414 if(fWidth > fMax) in MaxDigitWidth()
415 fMax = fWidth; in MaxDigitWidth()
418 s_cachedDigitWidth = ceil(fMax + s_widthTrim); in MaxDigitWidth()
/haiku/src/kits/tracker/
H A DSettings.cpp183 fMax(max), in ScalarValueSetting()
195 ASSERT(newValue < fMax); in ValueChanged()
226 if (newValue < fMin || newValue > fMax) in Handle()

12