/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/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 60 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 62 width, height, minSideLength, maxNumOfPixels); in computeSampleSize() 70 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 72 && minSideLength == UNCONSTRAINED) return 1; in computeInitialSampleSize() 77 if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize() 80 int sampleSize = Math.min(w / minSideLength, h / minSideLength); in computeInitialSampleSize() 88 int minSideLength) { in computeSampleSizeLarger() argument 89 int initialSize = Math.max(w / minSideLength, h / minSideLength); in computeSampleSizeLarger()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 60 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 62 width, height, minSideLength, maxNumOfPixels); in computeSampleSize() 70 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 72 && minSideLength == UNCONSTRAINED) return 1; in computeInitialSampleSize() 77 if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize() 80 int sampleSize = Math.min(w / minSideLength, h / minSideLength); in computeInitialSampleSize() 88 int minSideLength) { in computeSampleSizeLarger() argument 89 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/Camera/src/com/android/camera/ |
D | Util.java | 217 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 218 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 235 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 241 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() 242 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 243 Math.floor(h / minSideLength)); in computeInitialSampleSize() 250 if (maxNumOfPixels < 0 && minSideLength < 0) { in computeInitialSampleSize() 252 } else if (minSideLength < 0) { in computeInitialSampleSize()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 206 int minSideLength, int maxNumOfPixels) { in computeSampleSize() argument 207 int initialSize = computeInitialSampleSize(options, minSideLength, in computeSampleSize() 224 int minSideLength, int maxNumOfPixels) { in computeInitialSampleSize() argument 230 int upperBound = (minSideLength < 0) ? 128 : in computeInitialSampleSize() 231 (int) Math.min(Math.floor(w / minSideLength), in computeInitialSampleSize() 232 Math.floor(h / minSideLength)); in computeInitialSampleSize() 239 if (maxNumOfPixels < 0 && minSideLength < 0) { in computeInitialSampleSize() 241 } 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/Mms/src/com/android/mms/util/ |
D | ThumbnailManager.java | 501 int minSideLength) { in computeSampleSizeLarger() argument 502 int initialSize = Math.max(w / minSideLength, h / minSideLength); in computeSampleSizeLarger()
|