2019-02-04 20:08:30 +00:00
|
|
|
.class public final Lcom/facebook/c/b;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "DefaultImageFormats.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-02-04 20:42:43 +00:00
|
|
|
.field public static final KW:Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
.field public static final KX:Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
.field public static final KY:Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
.field public static final KZ:Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
.field public static final La:Lcom/facebook/c/c;
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Lb:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Lc:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Ld:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Le:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Lf:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field public static final Lg:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "JPEG"
|
|
|
|
|
|
|
|
const-string v2, "jpeg"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->KW:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "PNG"
|
|
|
|
|
|
|
|
const-string v2, "png"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->KX:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "GIF"
|
|
|
|
|
|
|
|
const-string v2, "gif"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->KY:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "BMP"
|
|
|
|
|
|
|
|
const-string v2, "bmp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->KZ:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "ICO"
|
|
|
|
|
|
|
|
const-string v2, "ico"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->La:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "WEBP_SIMPLE"
|
|
|
|
|
|
|
|
const-string v2, "webp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Lb:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "WEBP_LOSSLESS"
|
|
|
|
|
|
|
|
const-string v2, "webp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Lc:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "WEBP_EXTENDED"
|
|
|
|
|
|
|
|
const-string v2, "webp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Ld:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "WEBP_EXTENDED_WITH_ALPHA"
|
|
|
|
|
|
|
|
const-string v2, "webp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Le:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "WEBP_ANIMATED"
|
|
|
|
|
|
|
|
const-string v2, "webp"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Lf:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance v0, Lcom/facebook/c/c;
|
|
|
|
|
|
|
|
const-string v1, "HEIF"
|
|
|
|
|
|
|
|
const-string v2, "heif"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1, v2}, Lcom/facebook/c/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sput-object v0, Lcom/facebook/c/b;->Lg:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static a(Lcom/facebook/c/c;)Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-static {p0}, Lcom/facebook/c/b;->b(Lcom/facebook/c/c;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sget-object v0, Lcom/facebook/c/b;->Lf:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +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/c/c;)Z
|
|
|
|
.locals 1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sget-object v0, Lcom/facebook/c/b;->Lb:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sget-object v0, Lcom/facebook/c/b;->Lc:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sget-object v0, Lcom/facebook/c/b;->Ld:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
|
2019-02-04 20:42:43 +00:00
|
|
|
sget-object v0, Lcom/facebook/c/b;->Le:Lcom/facebook/c/c;
|
2019-02-04 20:08:30 +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
|