Searched defs:targetSize (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ImageCacheRequest.java | 38 Path path, long timeModified, int type, int targetSize) { 42 mTargetSize = targetSize; 101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize); argument 37 ImageCacheRequest(GalleryApp application, Path path, long timeModified, int type, int targetSize) argument
|
H A D | DecodeUtils.java | 101 JobContext jc, String filePath, Options options, int targetSize, int type) { 106 return decodeThumbnail(jc, fd, options, targetSize, type); 116 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) { 129 // we want to make sure the shorter side >= "targetSize". 130 float scale = (float) targetSize / Math.min(w, h); 141 // For screen nail, we only want to keep the longer side >= targetSize. 142 float scale = (float) targetSize / Math.max(w, h); 154 float scale = (float) targetSize / (type == MediaItem.TYPE_MICROTHUMBNAIL 167 * larger than the <code>targetSize</code>. 170 Options options, int targetSize) { 100 decodeThumbnail( JobContext jc, String filePath, Options options, int targetSize, int type) argument 115 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument 169 decodeIfBigEnough(JobContext jc, byte[] data, Options options, int targetSize) argument [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 188 * than the targetSize, but it will always be less than 2x the targetSize 190 private Bitmap decodePreview(String file, int targetSize) { argument 191 float scale = (float) targetSize / Math.max(mWidth, mHeight); 202 scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ThumbnailManager.java | 451 private Bitmap requestDecode(final Uri uri, Options options, int targetSize) { argument 475 options.outWidth, options.outHeight, targetSize); 487 result = resizeDownIfTooBig(result, targetSize, true); 518 // Resize the bitmap if each side is >= targetSize * 2 520 Bitmap bitmap, int targetSize, boolean recycle) { 524 (float) targetSize / srcWidth, (float) targetSize / srcHeight); 519 resizeDownIfTooBig( Bitmap bitmap, int targetSize, boolean recycle) argument
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 499 * than the targetSize, but it will always be less than 2x the targetSize 501 private Bitmap decodePreview(BitmapSource source, int targetSize) { argument 509 float scale = (float) targetSize / (float) (Math.max(result.getWidth(), result.getHeight()));
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PositionController.java | 1753 public boolean doAnimation(int targetSize, int kind) { argument 1754 if (mCurrentGap == targetSize && kind != ANIM_KIND_CAPTURE) { 1759 mToGap = targetSize;
|
Completed in 144 milliseconds