/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 103 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 104 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 121 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : in computeInitialSampleSize() 128 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 129 Math.floor(h / minSideLength)); in computeInitialSampleSize() 137 (minSideLength == IImage.UNCONSTRAINED)) { in computeInitialSampleSize() 139 } else if (minSideLength == 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() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 59 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 61 width, height, minSideLength, maxNumOfPixels); in computeSampleSize() 69 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 71 && minSideLength == UNCONSTRAINED) return 1; in computeInitialSampleSize() 76 if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize() 79 int sampleSize = Math.min(w / minSideLength, h / minSideLength); in computeInitialSampleSize() 87 int minSideLength) { in computeSampleSizeLarger() argument 88 int initialSize = Math.max(w / minSideLength, h / minSideLength); in computeSampleSizeLarger()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | UriImage.java | 79 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { in fullSizeBitmap() argument 80 return fullSizeBitmap(minSideLength, maxNumberOfPixels, in fullSizeBitmap() 84 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument 86 return fullSizeBitmap(minSideLength, maxNumberOfPixels, in fullSizeBitmap() 90 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument 94 Bitmap b = Util.makeBitmap(minSideLength, maxNumberOfPixels, in fullSizeBitmap()
|
D | BaseImage.java | 87 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { in fullSizeBitmap() argument 88 return fullSizeBitmap(minSideLength, maxNumberOfPixels, in fullSizeBitmap() 92 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument 97 Bitmap b = Util.makeBitmap(minSideLength, maxNumberOfPixels, in fullSizeBitmap()
|
D | IImage.java | 38 public abstract Bitmap fullSizeBitmap(int minSideLength, in fullSizeBitmap() argument 40 public abstract Bitmap fullSizeBitmap(int minSideLength, in fullSizeBitmap() argument
|
D | VideoObject.java | 65 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Util.java | 176 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 177 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 194 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 200 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() 201 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 202 Math.floor(h / minSideLength)); in computeInitialSampleSize() 209 if (maxNumOfPixels < 0 && minSideLength < 0) { in computeInitialSampleSize() 211 } else if (minSideLength < 0) { in computeInitialSampleSize()
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
D | MockImage.java | 27 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { in fullSizeBitmap() argument 31 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument 36 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, in fullSizeBitmap() argument
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 202 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 203 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 220 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 226 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() 227 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 228 Math.floor(h / minSideLength)); in computeInitialSampleSize() 235 if (maxNumOfPixels < 0 && minSideLength < 0) { in computeInitialSampleSize() 237 } else if (minSideLength < 0) { in computeInitialSampleSize()
|