Files
rr3-apk/decompiled/sources/androidx/core/graphics/ImageDecoderKt.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

36 lines
1.7 KiB
Java

package androidx.core.graphics;
import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.ImageDecoder;
import android.graphics.ImageDecoder$OnHeaderDecodedListener;
import android.graphics.drawable.Drawable;
import androidx.annotation.RequiresApi;
import kotlin.jvm.functions.Function3;
@SuppressLint({"ClassVerificationFailure"})
/* loaded from: classes.dex */
public final class ImageDecoderKt {
@RequiresApi(28)
public static final Bitmap decodeBitmap(ImageDecoder.Source source, final Function3 function3) {
Bitmap decodeBitmap;
decodeBitmap = ImageDecoder.decodeBitmap(source, ImageDecoderKt$$ExternalSyntheticApiModelOutline0.m(new ImageDecoder$OnHeaderDecodedListener() { // from class: androidx.core.graphics.ImageDecoderKt$decodeBitmap$1
public final void onHeaderDecoded(ImageDecoder imageDecoder, ImageDecoder.ImageInfo imageInfo, ImageDecoder.Source source2) {
Function3.this.invoke(imageDecoder, imageInfo, source2);
}
}));
return decodeBitmap;
}
@RequiresApi(28)
public static final Drawable decodeDrawable(ImageDecoder.Source source, final Function3 function3) {
Drawable decodeDrawable;
decodeDrawable = ImageDecoder.decodeDrawable(source, ImageDecoderKt$$ExternalSyntheticApiModelOutline0.m(new ImageDecoder$OnHeaderDecodedListener() { // from class: androidx.core.graphics.ImageDecoderKt$decodeDrawable$1
public final void onHeaderDecoded(ImageDecoder imageDecoder, ImageDecoder.ImageInfo imageInfo, ImageDecoder.Source source2) {
Function3.this.invoke(imageDecoder, imageInfo, source2);
}
}));
return decodeDrawable;
}
}