Lines Matching refs:clamp
776 return clamp(value, mScreenBrightnessRangeMinimum, mScreenBrightnessRangeMaximum);780 return clamp(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON);783 private static int clamp(int value, int min, int max) {