Home
last modified time | relevance | path

Searched refs:decodeBitmap (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/aosp_15_r20/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapCachingAsset.java98 public void decodeBitmap(int targetWidth, int targetHeight, boolean useHardwareBitmapIfPossible, in decodeBitmap() method in BitmapCachingAsset
102 mOriginalAsset.decodeBitmap(targetWidth, targetHeight, useHardwareBitmapIfPossible, in decodeBitmap()
118 mOriginalAsset.decodeBitmap(cachingReceiver); in decodeBitmap()
120 mOriginalAsset.decodeBitmap(targetWidth, targetHeight, useHardwareBitmapIfPossible, in decodeBitmap()
127 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap() method in BitmapCachingAsset
128 decodeBitmap(0, 0, receiver); in decodeBitmap()
DAsset.java90 public final void decodeBitmap(int targetWidth, int targetHeight, BitmapReceiver receiver) { in decodeBitmap() method in Asset
91 decodeBitmap(targetWidth, targetHeight, true, receiver); in decodeBitmap()
105 public abstract void decodeBitmap(int targetWidth, int targetHeight, in decodeBitmap() method in Asset
122 public abstract void decodeBitmap(BitmapReceiver receiver); in decodeBitmap() method in Asset
226 decodeBitmap(width, height, new BitmapReceiver() { in loadDrawable()
277 decodeBitmap(imageViewDimensions.x, imageViewDimensions.y, new BitmapReceiver() { in loadDrawableWithTransition()
DBuiltInWallpaperAsset.java103 public void decodeBitmap(int targetWidth, int targetHeight, boolean useHardwareBitmapIfPossible, in decodeBitmap() method in BuiltInWallpaperAsset
127 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap() method in BuiltInWallpaperAsset
128 decodeBitmap(0, 0, receiver); in decodeBitmap()
DStreamableAsset.java80 public void decodeBitmap(int targetWidth, int targetHeight, boolean useHardwareBitmapIfPossible, in decodeBitmap() method in StreamableAsset
131 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap() method in StreamableAsset
DLiveWallpaperThumbAsset.java93 public void decodeBitmap(int targetWidth, int targetHeight, boolean useHardwareBitmapIfPossible, in decodeBitmap() method in LiveWallpaperThumbAsset
138 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap() method in LiveWallpaperThumbAsset
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/
H A DImageDecoderTest.java308 return ImageDecoder.decodeBitmap(src, listener); in decodeUnscaledBitmap()
437 Bitmap bm = ImageDecoder.decodeBitmap(src); in testDecodeBitmap()
459 ImageDecoder.decodeBitmap(src, (decoder, info, s) -> decoder.setAllocator(15)); in testSetBogusAllocator()
573 ImageDecoder.decodeBitmap(src, (decoder, info, s) -> { in testGetUnpremul()
598 Bitmap normal = ImageDecoder.decodeBitmap(src); in testUnpremul()
607 Bitmap unpremul = ImageDecoder.decodeBitmap(src, in testUnpremul()
668 bitmap = ImageDecoder.decodeBitmap(src, l); in testPostProcessor()
728 Bitmap bm = ImageDecoder.decodeBitmap(src, l); in testPostProcessorOverridesNinepatch()
760 Bitmap bm = ImageDecoder.decodeBitmap(src, l); in testPostProcessorAndMadeOpaque()
792 Bitmap bm = ImageDecoder.decodeBitmap(src, l); in testPostProcessorAndAddedTransparency()
[all …]
H A DGainmapTest.java283 (id) -> ImageDecoder.decodeBitmap( in getGainmapDecodeVariations()
288 (id) -> ImageDecoder.decodeBitmap( in getGainmapDecodeVariations()
291 (id) -> ImageDecoder.decodeBitmap( in getGainmapDecodeVariations()
577 Bitmap bitmap = ImageDecoder.decodeBitmap( in testWriteToParcel()
623 Bitmap result = ImageDecoder.decodeBitmap( in testCompress8888()
645 Bitmap result = ImageDecoder.decodeBitmap( in testISOCompress8888()
669 Bitmap result = ImageDecoder.decodeBitmap( in testCompressA8ByImageDecoder()
725 Bitmap bitmap = ImageDecoder.decodeBitmap( in testHardwareGainmapCopy()
741 Bitmap bitmap = ImageDecoder.decodeBitmap( in testCopyPreservesGainmap()
H A DAImageDecoderTest.java313 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> { in decode()
441 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> { in decode()
647 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> {
732 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> {
781 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> {
880 return ImageDecoder.decodeBitmap(src, cropper);
1127 return ImageDecoder.decodeBitmap(src, (decoder, info, source) -> {
H A DBitmapColorSpaceTest.java1056 b = ImageDecoder.decodeBitmap(src, (decoder, info, s) -> { in testEncodeColorSpace()
1085 Bitmap b2 = ImageDecoder.decodeBitmap(src, (decoder, info, s) -> { in testEncodeColorSpace()
1118 b = ImageDecoder.decodeBitmap(src, (decoder, info, s) -> { in testEncodeP3hardware()
1136 Bitmap b2 = ImageDecoder.decodeBitmap(src); in testEncodeP3hardware()
1187 Bitmap bm = ImageDecoder.decodeBitmap(source, (decoder, info, s) -> { in testGrayscaleProfile()
/aosp_15_r20/frameworks/base/libs/hwui/jni/
H A DBitmapFactory.cpp221 SkBitmap decodeBitmap; in decodeGainmap() local
224 if (!decodeBitmap.setInfo(bitmapInfo)) { in decodeGainmap()
230 if (!decodeBitmap.tryAllocPixels(nullptr)) { in decodeGainmap()
235 nativeBitmap = android::Bitmap::allocateHeapBitmap(&decodeBitmap); in decodeGainmap()
246 SkCodec::Result result = codec->getAndroidPixels(decodeInfo, decodeBitmap.getPixels(), in decodeGainmap()
247 decodeBitmap.rowBytes(), &codecOptions); in decodeGainmap()
259 const float scaleX = scaledWidth / float(decodeBitmap.width()); in decodeGainmap()
260 const float scaleY = scaledHeight / float(decodeBitmap.height()); in decodeGainmap()
262 SkColorType scaledColorType = decodeBitmap.colorType(); in decodeGainmap()
280 decodeBitmap.setImmutable(); // so .asImage() doesn't make a copy in decodeGainmap()
[all …]
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowImageDecoderTest.java29 ImageDecoder.decodeBitmap( in mimeType_png_returnsPng()
42 ImageDecoder.decodeBitmap( in mimeType_jpg_returnsJpg()
55 ImageDecoder.decodeBitmap( in mimeType_gif_returnsGif()
68 ImageDecoder.decodeBitmap( in mimeType_webp_returnsWebp()
/aosp_15_r20/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java157 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createAudioThumbnail()
207 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(bestFile), resizer); in createAudioThumbnail()
291 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createImageThumbnail()
302 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(file), resizer); in createImageThumbnail()
367 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createVideoThumbnail()
/aosp_15_r20/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DCanvasPerfTest.java112 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledSrgbBitmap()
133 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledP3Bitmap()
154 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledBitmapWithGainmap()
/aosp_15_r20/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/common/preview/ui/viewmodel/
DStaticPreviewViewModel.kt129 asset?.decodeRawDimensions()?.let { Triple(it, asset.decodeBitmap(it), asset) } in <lambda>()
209 private suspend fun Asset.decodeBitmap(dimensions: Point): Bitmap? = in <lambda>() method
212 decodeBitmap(dimensions.x, dimensions.y, /* hardwareBitmapAllowed= */ false, callback) in <lambda>()
/aosp_15_r20/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModel.kt107 asset?.decodeRawDimensions()?.let { Triple(it, asset.decodeBitmap(it), asset) } in <lambda>()
208 private suspend fun Asset.decodeBitmap(dimensions: Point): Bitmap? = in <lambda>() method
211 decodeBitmap(dimensions.x, dimensions.y, /* hardwareBitmapAllowed= */ false, callback) in <lambda>()
/aosp_15_r20/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestAsset.java60 public void decodeBitmap(BitmapReceiver receiver) { in decodeBitmap() method in TestAsset
66 public void decodeBitmap(int targetWidth, int targetHeight, boolean useHardwareBitmapIfPossible, in decodeBitmap() method in TestAsset
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
H A DNinePatchTests.kt52 val bitmap = ImageDecoder.decodeBitmap(this) in <lambda>()
70 val bitmap = ImageDecoder.decodeBitmap(this) { in <lambda>()
H A DAImageDecoderTest.kt95 val tmpBm = ImageDecoder.decodeBitmap(source) { in <lambda>()
336 ImageDecoder.decodeBitmap(this) { in <lambda>()
508 ImageDecoder.decodeBitmap(this) { in <lambda>()
588 ImageDecoder.decodeBitmap(this) { in <lambda>()
/aosp_15_r20/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapTransitionView.kt38 private val mImageA = ImageDecoder.decodeBitmap( in <lambda>()
40 private val mImageB = ImageDecoder.decodeBitmap( in <lambda>()
/aosp_15_r20/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DAppInfoHelper.java199 DEFAULT_LONG, packageName, name, decodeBitmap(icon), recordTypesUsed); in addOrUpdateAppInfoIfNotInstalled()
220 DEFAULT_LONG, packageName, name, decodeBitmap(icon), recordTypesUsed); in addOrUpdateAppInfoIfNoAppInfoEntryExists()
362 Bitmap bitmap = decodeBitmap(icon); in populateAppInfoMap()
800 private static Bitmap decodeBitmap(@Nullable byte[] bytes) { in decodeBitmap() method in AppInfoHelper
/aosp_15_r20/out/soong/.intermediates/packages/apps/WallpaperPicker2/WallpaperPicker2Lib/android_common/kapt/gen/stubs/com/android/wallpaper/picker/common/preview/ui/viewmodel/
DStaticPreviewViewModel.java169 …private final java.lang.Object decodeBitmap(com.android.wallpaper.asset.Asset $this$decodeBitmap, … in decodeBitmap() method in StaticPreviewViewModel
/aosp_15_r20/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java176 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, stream), in BitmapDrawable()
209 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(res, is), in BitmapDrawable()
853 bitmap = ImageDecoder.decodeBitmap(source, (decoder, info, src) -> { in updateStateFromTypedArray()
/aosp_15_r20/out/soong/.intermediates/packages/apps/WallpaperPicker2/WallpaperPicker2Lib/android_common/kapt/gen/stubs/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModel.java178 …private final java.lang.Object decodeBitmap(com.android.wallpaper.asset.Asset $this$decodeBitmap, … in decodeBitmap() argument
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
H A DAnimatedImageDrawableTest.java152 private Bitmap decodeBitmap(int resId) { in decodeBitmap() method in AnimatedImageDrawableTest
156 return ImageDecoder.decodeBitmap(source, (decoder, info, src) -> { in decodeBitmap()
515 Bitmap expected = decodeBitmap(RES_ID); in testExif()
/aosp_15_r20/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
H A DImageViewActivity.java57 mBitmap = ImageDecoder.decodeBitmap(src); in decodeImage()

12345678910>>...20