2019-02-17 02:24:41 +00:00
|
|
|
.class public final Lcom/facebook/d/b;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "DefaultImageFormats.java"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-05-03 18:53:54 +00:00
|
|
|
.field public static final LC:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.field public static final LD:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.field public static final LE:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LF:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LG:Lcom/facebook/d/c;
|
2019-03-02 23:27:57 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LH:Lcom/facebook/d/c;
|
2019-04-03 00:06:05 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LI:Lcom/facebook/d/c;
|
2019-04-03 00:06:05 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LJ:Lcom/facebook/d/c;
|
2019-05-01 06:16:59 +00:00
|
|
|
|
2019-05-14 21:53:09 +00:00
|
|
|
.field public static final LK:Lcom/facebook/d/c;
|
2019-05-01 06:16:59 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
.field public static final LL:Lcom/facebook/d/c;
|
|
|
|
|
|
|
|
.field public static final LM:Lcom/facebook/d/c;
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LC:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LD:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LE:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LF:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LG:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/d/c;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v1, "webp"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "WEBP_SIMPLE"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LH:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/d/c;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "WEBP_LOSSLESS"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LI:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/d/c;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "WEBP_EXTENDED"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LJ:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/d/c;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "WEBP_EXTENDED_WITH_ALPHA"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LK:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/d/c;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v2, "WEBP_ANIMATED"
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v0, v2, v1}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LL:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sput-object v0, Lcom/facebook/d/b;->LM:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sget-object v0, Lcom/facebook/d/b;->LL:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sget-object v0, Lcom/facebook/d/b;->LH:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sget-object v0, Lcom/facebook/d/b;->LI:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sget-object v0, Lcom/facebook/d/b;->LJ:Lcom/facebook/d/c;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
2019-02-22 00:19:04 +00:00
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-05-16 22:41:35 +00:00
|
|
|
sget-object v0, Lcom/facebook/d/b;->LK:Lcom/facebook/d/c;
|
2019-02-22 00:19:04 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
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
|