Searched refs:proportion (Results 1 - 3 of 3) sorted by relevance

/haiku-fatelf/src/apps/debuganalyzer/gui/chart/
H A DChart.cpp523 float proportion; local
529 proportion = displayRange.Size() / range.Size();
533 proportion = 1;
541 scrollBar->SetProportion(proportion);
/haiku-fatelf/src/kits/interface/
H A DScrollBar.cpp525 // special case, proportion is based on fLargeStep if it was never
1402 float proportion = fProportion;
1403 if (fMin >= fMax || proportion > 1.0 || proportion < 0.0)
1404 proportion = 1.0;
1405 if (proportion == 0.0) {
1406 // Special case a proportion of 0.0, use the large step value
1410 proportion = fLargeStep / (2 * (fMax - fMin));
1411 if (proportion > 1.0)
1412 proportion
[all...]
/haiku-fatelf/src/kits/tracker/
H A DPoseView.cpp8684 float proportion = bounds.Width() / totalExtent.Width(); local
8685 if (fHScrollBar->Proportion() != proportion)
8686 fHScrollBar->SetProportion(proportion);
8690 float proportion = bounds.Height() / totalExtent.Height(); local
8691 if (fVScrollBar->Proportion() != proportion)
8692 fVScrollBar->SetProportion(proportion);

Completed in 118 milliseconds