Searched refs:maxNumOfPixels (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Gallery/src/com/android/camera/ |
H A D | Util.java | 85 * and maxNumOfPixels. 88 * maxNumOfPixels is used to specify the maximal size in pixels that is 103 int minSideLength, int maxNumOfPixels) { 105 maxNumOfPixels); 121 int minSideLength, int maxNumOfPixels) { 125 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 : 126 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); 136 if ((maxNumOfPixels == IImage.UNCONSTRAINED) && 275 public static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels, argument 284 return makeBitmap(minSideLength, maxNumOfPixels, ur 102 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 120 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 293 makeBitmap(int minSideLength, int maxNumOfPixels, ParcelFileDescriptor pfd, boolean useNative) argument 303 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 41 * and maxNumOfPixels. 44 * maxNumOfPixels is used to specify the maximal size in pixels that is 59 int minSideLength, int maxNumOfPixels) { 61 width, height, minSideLength, maxNumOfPixels); 69 int minSideLength, int maxNumOfPixels) { 70 if (maxNumOfPixels == UNCONSTRAINED 73 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : 74 (int) Math.ceil(Math.sqrt((double) (w * h) / maxNumOfPixels)); 58 computeSampleSize(int width, int height, int minSideLength, int maxNumOfPixels) argument 68 computeInitialSampleSize(int w, int h, int minSideLength, int maxNumOfPixels) argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 158 * and maxNumOfPixels. 161 * maxNumOfPixels is used to specify the maximal size in pixels that is 176 int minSideLength, int maxNumOfPixels) { 178 maxNumOfPixels); 194 int minSideLength, int maxNumOfPixels) { 198 int lowerBound = (maxNumOfPixels < 0) ? 1 : 199 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); 209 if (maxNumOfPixels < 0 && minSideLength < 0) { 218 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { argument 229 options, -1, maxNumOfPixels); 175 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 193 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 187 * maxNumOfPixels. minSideLength is used to specify that minimal width or 188 * height of a bitmap. maxNumOfPixels is used to specify the maximal size in 202 int minSideLength, int maxNumOfPixels) { 204 maxNumOfPixels); 220 int minSideLength, int maxNumOfPixels) { 224 int lowerBound = (maxNumOfPixels < 0) ? 1 : 225 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels)); 235 if (maxNumOfPixels < 0 && minSideLength < 0) { 244 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) { argument 255 options, -1, maxNumOfPixels); 201 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 219 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument [all...] |
Completed in 101 milliseconds