apkfuckery/com.discord/smali/com/facebook/d/b.smali
2019-05-09 00:54:48 +02:00

197 lines
4.4 KiB
Smali

.class public final Lcom/facebook/d/b;
.super Ljava/lang/Object;
.source "DefaultImageFormats.java"
# static fields
.field public static final LA:Lcom/facebook/d/c;
.field public static final LB:Lcom/facebook/d/c;
.field public static final LC:Lcom/facebook/d/c;
.field public static final LD:Lcom/facebook/d/c;
.field public static final LE:Lcom/facebook/d/c;
.field public static final Lu:Lcom/facebook/d/c;
.field public static final Lv:Lcom/facebook/d/c;
.field public static final Lw:Lcom/facebook/d/c;
.field public static final Lx:Lcom/facebook/d/c;
.field public static final Ly:Lcom/facebook/d/c;
.field public static final Lz:Lcom/facebook/d/c;
# direct methods
.method static constructor <clinit>()V
.locals 3
new-instance v0, Lcom/facebook/d/c;
const-string v1, "JPEG"
const-string v2, "jpeg"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Lu:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "PNG"
const-string v2, "png"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Lv:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "GIF"
const-string v2, "gif"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Lw:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "BMP"
const-string v2, "bmp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Lx:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "ICO"
const-string v2, "ico"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Ly:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "webp"
const-string v2, "WEBP_SIMPLE"
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->Lz:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v2, "WEBP_LOSSLESS"
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->LA:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v2, "WEBP_EXTENDED"
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->LB:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v2, "WEBP_EXTENDED_WITH_ALPHA"
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->LC:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v2, "WEBP_ANIMATED"
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->LD:Lcom/facebook/d/c;
new-instance v0, Lcom/facebook/d/c;
const-string v1, "HEIF"
const-string v2, "heif"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
sput-object v0, Lcom/facebook/d/b;->LE:Lcom/facebook/d/c;
return-void
.end method
.method public static a(Lcom/facebook/d/c;)Z
.locals 1
invoke-static {p0}, Lcom/facebook/d/b;->b(Lcom/facebook/d/c;)Z
move-result v0
if-nez v0, :cond_1
sget-object v0, Lcom/facebook/d/b;->LD:Lcom/facebook/d/c;
if-ne p0, v0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
return p0
:cond_1
:goto_0
const/4 p0, 0x1
return p0
.end method
.method public static b(Lcom/facebook/d/c;)Z
.locals 1
sget-object v0, Lcom/facebook/d/b;->Lz:Lcom/facebook/d/c;
if-eq p0, v0, :cond_1
sget-object v0, Lcom/facebook/d/b;->LA:Lcom/facebook/d/c;
if-eq p0, v0, :cond_1
sget-object v0, Lcom/facebook/d/b;->LB:Lcom/facebook/d/c;
if-eq p0, v0, :cond_1
sget-object v0, Lcom/facebook/d/b;->LC:Lcom/facebook/d/c;
if-ne p0, v0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
return p0
:cond_1
:goto_0
const/4 p0, 0x1
return p0
.end method