Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp226 SkBitmap decodeBitmap; in decodeGainmap() local
229 if (!decodeBitmap.setInfo(bitmapInfo)) { in decodeGainmap()
235 if (!decodeBitmap.tryAllocPixels(nullptr)) { in decodeGainmap()
240 nativeBitmap = android::Bitmap::allocateHeapBitmap(&decodeBitmap); in decodeGainmap()
251 SkCodec::Result result = codec->getAndroidPixels(decodeInfo, decodeBitmap.getPixels(), in decodeGainmap()
252 decodeBitmap.rowBytes(), &codecOptions); in decodeGainmap()
264 const float scaleX = scaledWidth / float(decodeBitmap.width()); in decodeGainmap()
265 const float scaleY = scaledHeight / float(decodeBitmap.height()); in decodeGainmap()
267 SkColorType scaledColorType = decodeBitmap.colorType(); in decodeGainmap()
285 decodeBitmap.setImmutable(); // so .asImage() doesn't make a copy in decodeGainmap()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java112 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledSrgbBitmap()
133 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledP3Bitmap()
154 Bitmap source = ImageDecoder.decodeBitmap( in testCreateScaledBitmapWithGainmap()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DBitmapTransitionView.kt38 private val mImageA = ImageDecoder.decodeBitmap( in <lambda>()
40 private val mImageB = ImageDecoder.decodeBitmap( in <lambda>()
DRenderEffectViewActivity.kt55 mScratchesImage = ImageDecoder.decodeBitmap(imgSource) in <lambda>()
/frameworks/base/media/java/android/media/
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()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBitmapTest.java105 Bitmap bitmap = ImageDecoder.decodeBitmap(source); in testImageDecoder()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapTransformsTest.kt38 return ImageDecoder.decodeBitmap(source) { decoder, info, source -> in <lambda>()
DGainmapDecodeTest.kt69 val gainmapImage = ImageDecoder.decodeBitmap(source) { decoder, info, source -> in decode()
DGainmapImage.kt117 bitmap = ImageDecoder.decodeBitmap(source) { decoder, info, source -> in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java221 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> { in loadThumbnail()
/frameworks/base/graphics/java/android/graphics/drawable/
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()
DNinePatchDrawable.java440 bitmap = ImageDecoder.decodeBitmap(source, (decoder, info, src) -> { in updateStateFromTypedArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
DImageLoader.kt167 ImageDecoder.decodeBitmap(source) { decoder, info, _ -> in <lambda>()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java1842 public static Bitmap decodeBitmap(@NonNull Source src, in decodeBitmap() method in ImageDecoder
1978 public static Bitmap decodeBitmap(@NonNull Source src) throws IOException {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyStateInflater.kt313 bitmap = ImageDecoder.decodeBitmap(source) { decoder, _, _ -> in inflateActionButton()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java743 Bitmap cropped = ImageDecoder.decodeBitmap(srcData, (decoder, info, src) -> { in generateCropInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt2375 whenever(ImageDecoder.decodeBitmap(any(), any())).thenReturn(artwork) in testResumeMediaLoaded_hasArtPermission_artLoaded()
2405 whenever(ImageDecoder.decodeBitmap(any(), any())).thenReturn(artwork) in testResumeMediaLoaded_noArtPermission_noArtLoaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1277 ImageDecoder.decodeBitmap(source) { decoder, info, _ -> in <lambda>()
DLegacyMediaDataManagerImpl.kt1332 ImageDecoder.decodeBitmap(source) { decoder, info, _ -> in loadBitmapFromUri()
/frameworks/base/core/java/android/app/
DWallpaperManager.java839 return ImageDecoder.decodeBitmap(src, ((decoder, info, source) -> { in getCurrentWallpaperLocked()
/frameworks/base/core/java/android/content/
DContentResolver.java4171 Bitmap bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(() -> {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt16149 …method @NonNull @WorkerThread public static android.graphics.Bitmap decodeBitmap(@NonNull android.…
16150 …method @NonNull @WorkerThread public static android.graphics.Bitmap decodeBitmap(@NonNull android.…
/frameworks/base/boot/
Dboot-image-profile.txt6328 HSPLandroid/graphics/ImageDecoder;->decodeBitmap(Landroid/graphics/ImageDecoder$Source;Landroid/gra…
/frameworks/base/config/
Dboot-image-profile.txt6331 HSPLandroid/graphics/ImageDecoder;->decodeBitmap(Landroid/graphics/ImageDecoder$Source;Landroid/gra…