Searched defs:targetSize (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DImageCacheRequest.java37 Path path, int type, int targetSize) {
41 mTargetSize = targetSize;
101 public abstract Bitmap onDecodeOriginal(JobContext jc, int targetSize); argument
36 ImageCacheRequest(GalleryApp application, Path path, int type, int targetSize) argument
H A DDecodeUtils.java100 JobContext jc, String filePath, Options options, int targetSize, int type) {
105 return decodeThumbnail(jc, fd, options, targetSize, type);
115 JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) {
128 // we want to make sure the shorter side >= "targetSize".
129 float scale = (float) targetSize / Math.min(w, h);
140 // For screen nail, we only want to keep the longer side >= targetSize.
141 float scale = (float) targetSize / Math.max(w, h);
153 float scale = (float) targetSize / (type == MediaItem.TYPE_MICROTHUMBNAIL
166 * larger than the <code>targetSize</code>.
169 Options options, int targetSize) {
99 decodeThumbnail( JobContext jc, String filePath, Options options, int targetSize, int type) argument
114 decodeThumbnail( JobContext jc, FileDescriptor fd, Options options, int targetSize, int type) argument
168 decodeIfBigEnough(JobContext jc, byte[] data, Options options, int targetSize) argument
[all...]
/packages/apps/Mms/src/com/android/mms/util/
H A DThumbnailManager.java449 private Bitmap requestDecode(final Uri uri, Options options, int targetSize) { argument
473 options.outWidth, options.outHeight, targetSize);
485 result = resizeDownIfTooBig(result, targetSize, true);
509 // Resize the bitmap if each side is >= targetSize * 2
511 Bitmap bitmap, int targetSize, boolean recycle) {
515 (float) targetSize / srcWidth, (float) targetSize / srcHeight);
510 resizeDownIfTooBig( Bitmap bitmap, int targetSize, boolean recycle) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPositionController.java1753 public boolean doAnimation(int targetSize, int kind) { argument
1754 if (mCurrentGap == targetSize && kind != ANIM_KIND_CAPTURE) {
1759 mToGap = targetSize;

Completed in 583 milliseconds