Lines Matching refs:maxNumOfPixels
199 * and maxNumOfPixels.
202 * maxNumOfPixels is used to specify the maximal size in pixels that is
217 int minSideLength, int maxNumOfPixels) {
219 maxNumOfPixels);
235 int minSideLength, int maxNumOfPixels) {
239 int lowerBound = (maxNumOfPixels < 0) ? 1 :
240 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
250 if (maxNumOfPixels < 0 && minSideLength < 0) {
259 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) {
270 options, -1, maxNumOfPixels);