67 lines
1.4 KiB
Smali
67 lines
1.4 KiB
Smali
.class public Lf/g/j/o/c;
|
|
.super Lf/g/j/o/b;
|
|
.source "OreoDecoder.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/annotation/TargetApi;
|
|
value = 0x1a
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/g/j/m/d;ILandroidx/core/util/Pools$SynchronizedPool;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1, p2, p3}, Lf/g/j/o/b;-><init>(Lf/g/j/m/d;ILandroidx/core/util/Pools$SynchronizedPool;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public d(IILandroid/graphics/BitmapFactory$Options;)I
|
|
.locals 2
|
|
|
|
iget-object v0, p3, Landroid/graphics/BitmapFactory$Options;->outColorSpace:Landroid/graphics/ColorSpace;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Landroid/graphics/ColorSpace;->isWideGamut()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p3, Landroid/graphics/BitmapFactory$Options;->inPreferredConfig:Landroid/graphics/Bitmap$Config;
|
|
|
|
sget-object v1, Landroid/graphics/Bitmap$Config;->RGBA_F16:Landroid/graphics/Bitmap$Config;
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
mul-int p1, p1, p2
|
|
|
|
mul-int/lit8 p1, p1, 0x8
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-object p3, p3, Landroid/graphics/BitmapFactory$Options;->inPreferredConfig:Landroid/graphics/Bitmap$Config;
|
|
|
|
invoke-static {p1, p2, p3}, Lf/g/k/a;->d(IILandroid/graphics/Bitmap$Config;)I
|
|
|
|
move-result p1
|
|
|
|
:goto_1
|
|
return p1
|
|
.end method
|