Home
last modified time | relevance | path

Searched refs:minSideLength (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/media/java/android/media/
DThumbnailUtils.java257 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument
258 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize()
275 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument
281 int upperBound = (minSideLength == UNCONSTRAINED) ? 128 : in computeInitialSampleSize()
282 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize()
283 Math.floor(h / minSideLength)); in computeInitialSampleSize()
291 (minSideLength == UNCONSTRAINED)) { in computeInitialSampleSize()
293 } else if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize()
308 private static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels, in makeBitmap() argument
326 options, minSideLength, maxNumOfPixels); in makeBitmap()