Home
last modified time | relevance | path

Searched refs:maxLocation (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DTwoDimensionalSliderView.cpp25 BPoint maxLocation) in SetLocationRange() argument
27 if (maxLocation.x < minLocation.x) in SetLocationRange()
28 maxLocation.x = minLocation.x; in SetLocationRange()
29 if (maxLocation.y < minLocation.y) in SetLocationRange()
30 maxLocation.y = minLocation.y; in SetLocationRange()
33 fMaxLocation = maxLocation; in SetLocationRange()
H A DTwoDimensionalSliderView.h21 BPoint maxLocation);
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp789 float maxLocation in _SetTabLocation() local
792 maxLocation = fTitleBarRect.right - fLeftBorder.left - tabRect.Width(); in _SetTabLocation()
794 if (location > maxLocation) in _SetTabLocation()
795 location = maxLocation; in _SetTabLocation()
810 tab->tabLocation = maxLocation > 0.0 ? tab->tabOffset / maxLocation : 0.0; in _SetTabLocation()
1079 float maxLocation; in _SingleTabOffsetAndSize() local
1086 maxLocation = tabSize - tab->maxTabSize; in _SingleTabOffsetAndSize()
1087 if (maxLocation < 0) in _SingleTabOffsetAndSize()
1088 maxLocation = 0; in _SingleTabOffsetAndSize()
1090 return floorf(tab->tabLocation * maxLocation); in _SingleTabOffsetAndSize()