/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 | VideoObject.java | 65 public Bitmap fullSizeBitmap(int minSideLength, int maxNumberOfPixels, argument
|
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,
|
/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/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 40 * Compute the sample size as a function of minSideLength 42 * minSideLength is used to specify that minimal width or height of a 48 * Both size and minSideLength can be passed in as UNCONSTRAINED, 51 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED. 59 int minSideLength, int maxNumOfPixels) { 61 width, height, minSideLength, maxNumOfPixels); 69 int minSideLength, int maxNumOfPixels) { 71 && minSideLength == UNCONSTRAINED) return 1; 76 if (minSideLength == UNCONSTRAINED) { 79 int sampleSize = Math.min(w / minSideLength, 58 computeSampleSize(int width, int height, int minSideLength, int maxNumOfPixels) argument 68 computeInitialSampleSize(int w, int h, int minSideLength, int maxNumOfPixels) argument 86 computeSampleSizeLarger(int w, int h, int minSideLength) argument [all...] |
/packages/apps/Camera/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...] |