- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
36 lines
1.7 KiB
Java
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;
|
|
}
|
|
}
|