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());
202 if (maxSliderLocation.x + sliderSize.width > parentSize.width)
203 maxSliderLocation.x = parentSize.width - sliderSize.width;
204 if (maxSliderLocation.y + sliderSize.height > parentSize.height)
205 maxSliderLocation.y = parentSize.height - sliderSize.height;
/haiku/src/apps/diskusage/
H A DPieView.cpp518 float parentSize; local
520 parentSize = (float)snapshot->capacity;
522 parentSize = (float)info->parent->size;
524 mySpan = parentSpan * (float)info->size / parentSize;
/haiku/src/apps/drivesetup/
H A DDiskView.cpp353 off_t parentSize = partition->Parent()->Size(); local
354 double scale = (double)size / parentSize;
406 off_t parentSize = partition->Size(); local
416 double scale = (double)size / parentSize;

Completed in 76 milliseconds