/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/ |
H A D | UtilsTest.java | 28 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 D | ActionImage.java | 25 import com.android.gallery3d.common.BitmapUtils; 66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true); 68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true);
|
H A D | ImageCacheRequest.java | 23 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 D | UriImage.java | 29 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 D | DecodeUtils.java | 29 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 D | LocalVideo.java | 28 import com.android.gallery3d.common.BitmapUtils; 169 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath);
|
H A D | LocalImage.java | 38 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 D | BitmapTileProvider.java | 23 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 D | BitmapUtils.java | 28 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 D | BitmapUtils.java | 33 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 D | SinglePhotoDataAdapter.java | 26 import com.android.gallery3d.common.BitmapUtils; 96 options.inSampleSize = BitmapUtils.computeSampleSize(
|
H A D | CropImage.java | 52 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 D | PhotoDataAdapter.java | 24 import com.android.gallery3d.common.BitmapUtils; 716 bitmap = BitmapUtils.rotateBitmap(bitmap,
|