Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
DUtil.java103 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument
105 maxNumOfPixels); in computeSampleSize()
121 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument
125 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 : in computeInitialSampleSize()
126 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); in computeInitialSampleSize()
136 if ((maxNumOfPixels == 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()
[all …]
/packages/apps/Camera/src/com/android/camera/
DUtil.java111 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument
113 maxNumOfPixels); in computeSampleSize()
129 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument
133 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 : in computeInitialSampleSize()
134 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); in computeInitialSampleSize()
144 if ((maxNumOfPixels == IImage.UNCONSTRAINED) && in computeInitialSampleSize()
172 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { in makeBitmap() argument
183 options, IImage.UNCONSTRAINED, maxNumOfPixels); in makeBitmap()
/packages/apps/Gallery3D/src/com/cooliris/media/
DUtils.java276 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument
278 maxNumOfPixels); in computeSampleSize()
294 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument
298 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize()
299 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); in computeInitialSampleSize()
309 if ((maxNumOfPixels == UNCONSTRAINED) && in computeInitialSampleSize()
DUriTexture.java104 int maxNumOfPixels = maxResolutionX * maxResolutionY; in computeSampleSize() local
106 return Utils.computeSampleSize(options, minSideLength, maxNumOfPixels); in computeSampleSize()