granularity level: instruction
.class public final Landroidx/core/graphics/BitmapCompat;
.super Ljava/lang/Object;
.source "BitmapCompat.java"
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getAllocationByteCount(Landroid/graphics/Bitmap;)I
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x13
if-lt v0, v1, :cond_0
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getAllocationByteCount()I
move-result p0
return p0
:cond_0
invoke-virtual {p0}, Landroid/graphics/Bitmap;->getByteCount()I
move-result p0
return p0
.end method
.method public static hasMipMap(Landroid/graphics/Bitmap;)Z
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x12
if-lt v0, v1, :cond_0
invoke-virtual {p0}, Landroid/graphics/Bitmap;->hasMipMap()Z
move-result p0
return p0
:cond_0
const/4 p0, 0x0
return p0
.end method
.method public static setHasMipMap(Landroid/graphics/Bitmap;Z)V
.locals 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x12
if-lt v0, v1, :cond_0
invoke-virtual {p0, p1}, Landroid/graphics/Bitmap;->setHasMipMap(Z)V
:cond_0
return-void
.end method