Lines Matching refs:min
463 // Get the max width of the min or max value of the slider.
571 int min = slider.getMinimum();
577 double valueRange = (double)max - (double)min;
583 xPosition += Math.round( pixelsPerValue * ((double)value - min));
586 xPosition -= Math.round( pixelsPerValue * ((double)value - min));
590 xPosition = Math.min(trackRight, xPosition);
600 int min = slider.getMinimum();
606 double valueRange = (double)max - (double)min;
615 yPosition += Math.round(pixelsPerValue * ((double)value - min));
619 yPosition = Math.min(trackBottom, yPosition);
966 thumbTop = Math.min(thumbTop, trackBottom - halfThumbHeight);
988 thumbLeft = Math.min(thumbLeft, trackRight - halfThumbWidth);