/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
D | ScaledBitmapInfoTest.java | 7 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo; 18 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() 23 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() 35 ScaledBitmapInfo actual = BitmapUtils in testBug20488453()
|
D | ImageCacheTest.java | 19 import static com.android.tv.util.BitmapUtils.createScaledBitmapInfo; 24 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | ImageCacheRequest.java | 23 import com.android.gallery3d.common.BitmapUtils; 88 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, mTargetSize, true); in run() 90 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, mTargetSize, true); in run() 94 byte[] array = BitmapUtils.compressToBytes(bitmap); in run()
|
D | ActionImage.java | 25 import com.android.gallery3d.common.BitmapUtils; 66 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true); in run() 68 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true); in run()
|
D | DecodeUtils.java | 28 import com.android.gallery3d.common.BitmapUtils; 130 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodeThumbnail() 136 options.inSampleSize = BitmapUtils.computeSampleSize( in decodeThumbnail() 142 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodeThumbnail() 157 if (scale <= 0.5) result = BitmapUtils.resizeBitmapByScale(result, scale, true); in decodeThumbnail() 179 options.inSampleSize = BitmapUtils.computeSampleSizeLarger( in decodeIfBigEnough()
|
D | UriImage.java | 29 import com.android.gallery3d.common.BitmapUtils; 204 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true); in run() 206 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true); in run() 216 if (BitmapUtils.isSupportedByRegionDecoder(mContentType)) { in getSupportedOperations()
|
D | LocalImage.java | 36 import com.android.gallery3d.common.BitmapUtils; 241 if (BitmapUtils.isSupportedByRegionDecoder(mimeType)) { in getSupportedOperations() 245 if (BitmapUtils.isRotationSupported(mimeType)) { in getSupportedOperations()
|
D | LocalVideo.java | 28 import com.android.gallery3d.common.BitmapUtils; 171 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath); in onDecodeOriginal()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 30 public class BitmapUtils { class 45 return BitmapUtils.getRotationFromExifHelper(null, 0, context, uri); in getRotationFromExif() 49 return BitmapUtils.getRotationFromExifHelper(res, resId, null, null); in getRotationFromExif()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | BitmapTileProvider.java | 23 import com.android.gallery3d.common.BitmapUtils; 44 bitmap = BitmapUtils.resizeBitmapByScale(bitmap, 0.5f, false); in BitmapTileProvider() 97 BitmapUtils.recycleSilently(bitmap); in recycle()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 31 import com.android.gallery3d.common.BitmapUtils; 192 mOptions.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodePreview() 205 result = BitmapUtils.resizeBitmapByScale(result, scale, true); in decodePreview()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | NotificationService.java | 52 import com.android.tv.util.BitmapUtils; 53 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo; 393 ScaledBitmapInfo posterArtBitmapInfo = BitmapUtils.decodeSampledBitmapFromUriString(this, in sendNotification() 465 Bitmap result = BitmapUtils.scaleBitmap( 467 Bitmap scaledLogo = BitmapUtils.scaleBitmap(
|
/packages/apps/TV/src/com/android/tv/util/ |
D | ImageLoader.java | 35 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo; 369 return BitmapUtils in doGetBitmapInBackground() 403 return BitmapUtils.createScaledBitmapInfo(getKey(), original, mMaxWidth, mMaxHeight); in doGetBitmapInBackground()
|
D | BitmapUtils.java | 39 public final class BitmapUtils { class 51 private BitmapUtils() { /* cannot be instantiated */ } in BitmapUtils() method in BitmapUtils
|
D | ImageCache.java | 24 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo;
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelLogoFetcher.java | 31 import com.android.tv.util.BitmapUtils; 32 import com.android.tv.util.BitmapUtils.ScaledBitmapInfo; 254 ScaledBitmapInfo bitmapInfo = BitmapUtils.decodeSampledBitmapFromUriString( in doInBackground()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 40 import com.android.tv.util.BitmapUtils; 135 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, appIcon); in onBind() 209 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, drawable);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SinglePhotoDataAdapter.java | 26 import com.android.gallery3d.common.BitmapUtils; 96 options.inSampleSize = BitmapUtils.computeSampleSize(
|
D | PhotoDataAdapter.java | 24 import com.android.gallery3d.common.BitmapUtils; 714 bitmap = BitmapUtils.rotateBitmap(bitmap, in run()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 32 public class BitmapUtils { class 37 private BitmapUtils(){} in BitmapUtils() method in BitmapUtils
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperCropActivity.java | 46 import com.android.gallery3d.common.BitmapUtils; 323 int rotation = BitmapUtils.getRotationFromExif(getContext(), uri); in setWallpaper() 348 int rotation = BitmapUtils.getRotationFromExif(res, resId); in cropImageAndSetWallpaper()
|
D | WallpaperPickerActivity.java | 78 import com.android.gallery3d.common.BitmapUtils; 988 int rotation = BitmapUtils.getRotationFromExif(context, uri); 1164 int rotation = BitmapUtils.getRotationFromExif(res, resId);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 33 import com.android.gallery3d.common.BitmapUtils; 184 opts.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in loadInBackground()
|