Searched refs:BitmapUtils (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
H A DUtilsTest.java28 1, 1, BitmapUtils.UNCONSTRAINED, BitmapUtils.UNCONSTRAINED, 1,
58 640, 480, 480, BitmapUtils.UNCONSTRAINED, 1, // 1
59 640, 480, 240, BitmapUtils.UNCONSTRAINED, 2, // 2
60 640, 480, 160, BitmapUtils.UNCONSTRAINED, 4, // 3->4
61 640, 480, 120, BitmapUtils.UNCONSTRAINED, 4, // 4
62 640, 480, 96, BitmapUtils.UNCONSTRAINED, 8, // 5->8
63 640, 480, 80, BitmapUtils.UNCONSTRAINED, 8, // 6->8
64 640, 480, 60, BitmapUtils.UNCONSTRAINED, 8, // 8
65 640, 480, 48, BitmapUtils
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DActionImage.java25 import com.android.gallery3d.common.BitmapUtils;
66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true);
68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
H A DImageCacheRequest.java23 import com.android.gallery3d.common.BitmapUtils;
88 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, mTargetSize, true);
90 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, mTargetSize, true);
94 byte[] array = BitmapUtils.compressToBytes(bitmap);
H A DUriImage.java29 import com.android.gallery3d.common.BitmapUtils;
204 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true);
206 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
216 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) {
H A DDecodeUtils.java29 import com.android.gallery3d.common.BitmapUtils;
130 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale);
136 options.inSampleSize = BitmapUtils.computeSampleSize(
142 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale);
157 if (scale <= 0.5) result = BitmapUtils.resizeBitmapByScale(result, scale, true);
179 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(
H A DLocalVideo.java28 import com.android.gallery3d.common.BitmapUtils;
169 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath);
H A DLocalImage.java38 import com.android.gallery3d.common.BitmapUtils;
241 if (BitmapUtils.isSupportedByRegionDecoder(mimeType)) {
245 if (BitmapUtils.isRotationSupported(mimeType)) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapTileProvider.java23 import com.android.gallery3d.common.BitmapUtils;
44 bitmap = BitmapUtils.resizeBitmapByScale(bitmap, 0.5f, false);
99 BitmapUtils.recycleSilently(bitmap);
/packages/apps/Phone/src/com/android/phone/
H A DBitmapUtils.java28 public class BitmapUtils { class
29 private static final String TAG = "BitmapUtils";
34 private BitmapUtils() { method in class:BitmapUtils
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java33 public class BitmapUtils { class
34 private static final String TAG = "BitmapUtils";
38 private BitmapUtils(){} method in class:BitmapUtils
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSinglePhotoDataAdapter.java26 import com.android.gallery3d.common.BitmapUtils;
96 options.inSampleSize = BitmapUtils.computeSampleSize(
H A DCropImage.java52 import com.android.gallery3d.common.BitmapUtils;
689 int sample = BitmapUtils.computeSampleSizeLarger(
814 options.inSampleSize = BitmapUtils.computeSampleSize(width, height,
815 BitmapUtils.UNCONSTRAINED, BACKUP_PIXEL_COUNT);
H A DPhotoDataAdapter.java24 import com.android.gallery3d.common.BitmapUtils;
716 bitmap = BitmapUtils.rotateBitmap(bitmap,

Completed in 172 milliseconds