Files
rr3-apk/smali/androidx/core/graphics/BitmapCompat$Api31Impl.smali
supermegamestre 4bbd74a497 First Upload
Just the APK
Force update disabled, will only work offline.
2026-01-26 00:26:29 -03:00

58 lines
1.3 KiB
Smali

.class Landroidx/core/graphics/BitmapCompat$Api31Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1f
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/graphics/BitmapCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api31Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 389
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getHardwareBitmapConfig(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap$Config;
.locals 1
.line 393
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getHardwareBuffer()Landroid/hardware/HardwareBuffer;
move-result-object p0
invoke-virtual {p0}, Landroid/hardware/HardwareBuffer;->getFormat()I
move-result p0
const/16 v0, 0x16
if-ne p0, v0, :cond_0
.line 394
sget-object p0, Landroid/graphics/Bitmap$Config;->RGBA_F16:Landroid/graphics/Bitmap$Config;
return-object p0
.line 396
:cond_0
sget-object p0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
return-object p0
.end method