Home
last modified time | relevance | path

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

/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DWidgetLayoutTest.cpp201 BSize parentSize(fSliderView->Parent()->Size()); in _UpdateSliderConstraints() local
202 if (maxSliderLocation.x + sliderSize.width > parentSize.width) in _UpdateSliderConstraints()
203 maxSliderLocation.x = parentSize.width - sliderSize.width; in _UpdateSliderConstraints()
204 if (maxSliderLocation.y + sliderSize.height > parentSize.height) in _UpdateSliderConstraints()
205 maxSliderLocation.y = parentSize.height - sliderSize.height; in _UpdateSliderConstraints()
/haiku/src/apps/drivesetup/
H A DDiskView.cpp353 off_t parentSize = partition->Parent()->Size(); in Visit() local
354 double scale = (double)size / parentSize; in Visit()
406 off_t parentSize = partition->Size(); in _AddSpaces() local
416 double scale = (double)size / parentSize; in _AddSpaces()
/haiku/src/apps/diskusage/
H A DPieView.cpp518 float parentSize; in _DrawDirectory() local
520 parentSize = (float)snapshot->capacity; in _DrawDirectory()
522 parentSize = (float)info->parent->size; in _DrawDirectory()
524 mySpan = parentSpan * (float)info->size / parentSize; in _DrawDirectory()