/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | IImage.java | 38 public abstract Bitmap fullSizeBitmap(int minSideLength, argument 40 public abstract Bitmap fullSizeBitmap(int minSideLength, argument
|
H A D | UriImage.java | 79 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { argument 80 return fullSizeBitmap(minSideLength, maxNumberOfPixels, 84 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument 86 return fullSizeBitmap(minSideLength, maxNumberOfPixels, 90 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument 94 Bitmap b = Util.makeBitmap(minSideLength, maxNumberOfPixels,
|
H A D | BaseImage.java | 87 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { argument 88 return fullSizeBitmap(minSideLength, maxNumberOfPixels, 92 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument 97 Bitmap b = Util.makeBitmap(minSideLength, maxNumberOfPixels,
|
H A D | VideoObject.java | 65 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument
|
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
H A D | MockImage.java | 27 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels) { argument 31 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument 36 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 41 * Compute the sample size as a function of minSideLength 43 * minSideLength is used to specify that minimal width or height of a 49 * Both size and minSideLength can be passed in as UNCONSTRAINED, 52 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 60 int minSideLength, int maxNumOfPixels) { 62 width, height, minSideLength, maxNumOfPixels); 70 int minSideLength, int maxNumOfPixels) { 72 && minSideLength == UNCONSTRAINED) return 1; 77 if (minSideLength == UNCONSTRAINED) { 80 int sampleSize = Math.min(w / minSideLength, 59 computeSampleSize(int width, int height, int minSideLength, int maxNumOfPixels) argument 69 computeInitialSampleSize(int w, int h, int minSideLength, int maxNumOfPixels) argument 87 computeSampleSizeLarger(int w, int h, int minSideLength) argument [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 41 * Compute the sample size as a function of minSideLength 43 * minSideLength is used to specify that minimal width or height of a 49 * Both size and minSideLength can be passed in as UNCONSTRAINED, 52 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 60 int minSideLength, int maxNumOfPixels) { 62 width, height, minSideLength, maxNumOfPixels); 70 int minSideLength, int maxNumOfPixels) { 72 && minSideLength == UNCONSTRAINED) return 1; 77 if (minSideLength == UNCONSTRAINED) { 80 int sampleSize = Math.min(w / minSideLength, 59 computeSampleSize(int width, int height, int minSideLength, int maxNumOfPixels) argument 69 computeInitialSampleSize(int w, int h, int minSideLength, int maxNumOfPixels) argument 87 computeSampleSizeLarger(int w, int h, int minSideLength) argument [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
H A D | Util.java | 84 * Compute the sample size as a function of minSideLength 86 * minSideLength is used to specify that minimal width or height of a 92 * Both size and minSideLength can be passed in as IImage.UNCONSTRAINED, 95 * generates a smaller bitmap, unless minSideLength = IImage.UNCONSTRAINED. 103 int minSideLength, int maxNumOfPixels) { 104 int initialSize = computeInitialSampleSize(options, minSideLength, 121 int minSideLength, int maxNumOfPixels) { 127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 : 128 (int) Math.min(Math.floor(w / minSideLength), 129 Math.floor(h / minSideLength)); 102 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 120 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 275 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, boolean useNative) 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/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 157 * Compute the sample size as a function of minSideLength 159 * minSideLength is used to specify that minimal width or height of a 165 * Both size and minSideLength can be passed in as -1 168 * generates a smaller bitmap, unless minSideLength = -1. 176 int minSideLength, int maxNumOfPixels) { 177 int initialSize = computeInitialSampleSize(options, minSideLength, 194 int minSideLength, int maxNumOfPixels) { 200 int upperBound = (minSideLength < 0) ? 128 : 201 (int) Math.min(Math.floor(w / minSideLength), 202 Math.floor(h / minSideLength)); 175 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 193 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 198 * Compute the sample size as a function of minSideLength 200 * minSideLength is used to specify that minimal width or height of a 206 * Both size and minSideLength can be passed in as -1 209 * generates a smaller bitmap, unless minSideLength = -1. 217 int minSideLength, int maxNumOfPixels) { 218 int initialSize = computeInitialSampleSize(options, minSideLength, 235 int minSideLength, int maxNumOfPixels) { 241 int upperBound = (minSideLength < 0) ? 128 : 242 (int) Math.min(Math.floor(w / minSideLength), 243 Math.floor(h / minSideLength)); 216 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 234 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | CameraUtil.java | 191 * Compute the sample size as a function of minSideLength and 192 * maxNumOfPixels. minSideLength is used to specify that minimal width or 197 * Both size and minSideLength can be passed in as -1 which indicates no 199 * sample size that generates a smaller bitmap, unless minSideLength = -1. 207 int minSideLength, int maxNumOfPixels) { 208 int initialSize = computeInitialSampleSize(options, minSideLength, 225 int minSideLength, int maxNumOfPixels) { 231 int upperBound = (minSideLength < 0) ? 128 : 232 (int) Math.min(Math.floor(w / minSideLength), 233 Math.floor(h / minSideLength)); 206 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument 224 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ThumbnailManager.java | 499 // minSideLength long. If that's not possible, return 1. 501 int minSideLength) { 502 int initialSize = Math.max(w / minSideLength, h / minSideLength); 500 computeSampleSizeLarger(int w, int h, int minSideLength) argument
|