Lines Matching refs:minSideLength
103 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument
104 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize()
121 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument
127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : in computeInitialSampleSize()
128 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize()
129 Math.floor(h / minSideLength)); in computeInitialSampleSize()
137 (minSideLength == IImage.UNCONSTRAINED)) { in computeInitialSampleSize()
139 } else if (minSideLength == IImage.UNCONSTRAINED) { in computeInitialSampleSize()
275 public static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels, in makeBitmap() argument
284 return makeBitmap(minSideLength, maxNumOfPixels, uri, cr, input, in makeBitmap()
293 public static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels, in makeBitmap() argument
299 return makeBitmap(minSideLength, maxNumOfPixels, null, null, pfd, in makeBitmap()
303 public static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels, in makeBitmap() argument
319 options, minSideLength, maxNumOfPixels); in makeBitmap()