/packages/apps/TV/tests/unit/src/com/android/tv/util/images/ |
D | ScaledBitmapInfoTest.java | 23 import com.android.tv.util.images.BitmapUtils.ScaledBitmapInfo; 36 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testSize_B100x100to50x50() 42 ScaledBitmapInfo actual = BitmapUtils.createScaledBitmapInfo("B80x100", B80x100, 50, 50); in testNeedsToReload_B100x100to50x50() 54 BitmapUtils.createScaledBitmapInfo("B960x1440", B960x1440, 284, 160); in testBug20488453()
|
D | ImageCacheTest.java | 19 import static com.android.tv.util.images.BitmapUtils.createScaledBitmapInfo; 25 import com.android.tv.util.images.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; 205 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true); in run() 207 bitmap = BitmapUtils.resizeDownBySideLength(bitmap, targetSize, true); in run() 217 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; 175 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath); in onDecodeOriginal()
|
/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/WallpaperPicker2/src/com/android/wallpaper/backup/ |
D | MissingHashCodeGeneratorJobService.java | 36 import com.android.wallpaper.asset.BitmapUtils; 102 long homeBitmapHash = BitmapUtils.generateHashCode(bitmap); in onStartJob() 147 BitmapUtils.generateHashCode(lockBitmap)); in onStartJob()
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 37 import com.android.tv.util.images.BitmapUtils.ScaledBitmapInfo; 397 return BitmapUtils.decodeSampledBitmapFromUriString( in doGetBitmapInBackground() 425 : BitmapUtils.drawableToBitmap(drawable); in doGetBitmapInBackground() 428 : BitmapUtils.createScaledBitmapInfo(getKey(), bm, mMaxWidth, mMaxHeight); in doGetBitmapInBackground() 454 BitmapUtils.decodeSampledBitmapFromUriString( in getAspectRatioFromPosterArtUri()
|
D | BitmapUtils.java | 44 public final class BitmapUtils { class 56 private BitmapUtils() { in BitmapUtils() method in BitmapUtils
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelLogoFetcher.java | 34 import com.android.tv.util.images.BitmapUtils; 35 import com.android.tv.util.images.BitmapUtils.ScaledBitmapInfo; 137 BitmapUtils.decodeSampledBitmapFromUriString( in doInBackground()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapUtils.java | 31 public class BitmapUtils { class 35 private BitmapUtils() { in BitmapUtils() method in BitmapUtils
|
D | BuiltInWallpaperAsset.java | 79 float horizontalCenter = BitmapUtils.calculateHorizontalAlignment(dimensions, rect); in decodeBitmapRegion() 80 float verticalCenter = BitmapUtils.calculateVerticalAlignment(dimensions, rect); in decodeBitmapRegion()
|
D | StreamableAsset.java | 102 options.inSampleSize = BitmapUtils.calculateInSampleSize( in decodeBitmap() 243 options.inSampleSize = BitmapUtils.calculateInSampleSize( in runDecodeBitmapRegionTask()
|
/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 | 54 import com.android.tv.util.images.BitmapUtils; 55 import com.android.tv.util.images.BitmapUtils.ScaledBitmapInfo; 398 BitmapUtils.decodeSampledBitmapFromUriString( in sendNotification() 493 BitmapUtils.getScaledMutableBitmap(background, Integer.MAX_VALUE, mCardImageHeight); 495 BitmapUtils.scaleBitmap(logo, mChannelLogoMaxWidth, mChannelLogoMaxHeight);
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 40 import com.android.tv.util.images.BitmapUtils; 165 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, appIcon); in onBind() 185 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, appIcon); in onBind() 293 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, drawable);
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/dialer/ |
D | DialerCardFragment.java | 27 import com.android.car.apps.common.BitmapUtils; 125 Bitmap imageBitmap = BitmapUtils.fromDrawable(mCardBackgroundImage.getForeground(), in resizeCardBackgroundImage()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperRefresher.java | 40 import com.android.wallpaper.asset.BitmapUtils; 262 wallpaperBitmap != null ? BitmapUtils.generateHashCode(wallpaperBitmap) : 0; in getCurrentHomeWallpaperHashCode() 280 wallpaperBitmap != null ? BitmapUtils.generateHashCode(wallpaperBitmap) : 0; in getCurrentLockWallpaperHashCode()
|
D | DefaultWallpaperPersister.java | 45 import com.android.wallpaper.asset.BitmapUtils; 601 BitmapUtils.generateHashCode(mBitmap), in doInBackground() 696 long bitmapHash = BitmapUtils.generateHashCode(mBitmap); in setImageWallpaperHomeMetadata() 809 long bitmapHash = BitmapUtils.generateHashCode(lockBitmap); in saveLockWallpaperHashCode()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SinglePhotoDataAdapter.java | 26 import com.android.gallery3d.common.BitmapUtils; 96 options.inSampleSize = BitmapUtils.computeSampleSize(
|
/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/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 41 import com.android.wallpaper.asset.BitmapUtils in <lambda>() 233 val bitmapHash = BitmapUtils.generateHashCode(bitmap) in <lambda>() 674 k.resumeWith(Result.success(BitmapUtils.bitmapToInputStream(bitmap))) in <lambda>()
|