Searched defs:minSideLength (Results 1 - 2 of 2) sorted by path
/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 233 * Compute the sample size as a function of minSideLength 235 * minSideLength is used to specify that minimal width or height of a 241 * Both size and minSideLength can be passed in as IImage.UNCONSTRAINED, 244 * generates a smaller bitmap, unless minSideLength = IImage.UNCONSTRAINED. 252 int minSideLength, int maxNumOfPixels) { 253 int initialSize = computeInitialSampleSize(options, minSideLength, 270 int minSideLength, int maxNumOfPixels) { 276 int upperBound = (minSideLength == UNCONSTRAINED) ? 128 : 277 (int) Math.min(Math.floor(w / minSideLength), 278 Math.floor(h / minSideLength)); 251 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 269 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 303 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 40 * Compute the sample size as a function of minSideLength 42 * minSideLength is used to specify that minimal width or height of a 48 * Both size and minSideLength can be passed in as UNCONSTRAINED, 51 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 59 int minSideLength, int maxNumOfPixels) { 61 width, height, minSideLength, maxNumOfPixels); 69 int minSideLength, int maxNumOfPixels) { 71 && minSideLength == UNCONSTRAINED) return 1; 76 if (minSideLength == UNCONSTRAINED) { 79 int sampleSize = Math.min(w / minSideLength, 58 computeSampleSize(int width, int height, int minSideLength, int maxNumOfPixels) argument 68 computeInitialSampleSize(int w, int h, int minSideLength, int maxNumOfPixels) argument 86 computeSampleSizeLarger(int w, int h, int minSideLength) argument [all...] |
Completed in 566 milliseconds