Searched refs:upperBound (Results 1 – 4 of 4) sorted by relevance
27 public static int clamp(int input, int lowerBound, int upperBound) { in clamp() argument29 if (input > upperBound) return upperBound; in clamp()37 public static float clamp(float input, float lowerBound, float upperBound) { in clamp() argument39 if (input > upperBound) return upperBound; in clamp()47 public static double clamp(double input, double lowerBound, double upperBound) { in clamp() argument49 if (input > upperBound) return upperBound; in clamp()
127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : in computeInitialSampleSize() local131 if (upperBound < lowerBound) { in computeInitialSampleSize()142 return upperBound; in computeInitialSampleSize()
200 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local204 if (upperBound < lowerBound) { in computeInitialSampleSize()214 return upperBound; in computeInitialSampleSize()
185 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() local189 if (upperBound < lowerBound) { in computeInitialSampleSize()199 return upperBound; in computeInitialSampleSize()