Lines Matching refs:proportion
888 // special case, proportion is based on fLargeStep if it was never
1210 float proportion = fProportion;
1211 if (fMin >= fMax || proportion > 1.0 || proportion < 0.0)
1212 proportion = 1.0;
1214 if (proportion == 0.0) {
1215 // Special case a proportion of 0.0, use the large step value
1219 proportion = fLargeStep / (2 * (fMax - fMin));
1220 if (proportion > 1.0)
1221 proportion = 1.0;
1223 thumbSize = maxSize * proportion;