.class public final Lcom/facebook/d/b; .super Ljava/lang/Object; .source "DefaultImageFormats.java" # static fields .field public static final LM:Lcom/facebook/d/c; .field public static final LN:Lcom/facebook/d/c; .field public static final LO:Lcom/facebook/d/c; .field public static final LP:Lcom/facebook/d/c; .field public static final LQ:Lcom/facebook/d/c; .field public static final LR:Lcom/facebook/d/c; .field public static final LS: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; # direct methods .method static constructor ()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;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LM: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;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LN: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;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LO: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;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LP: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;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LQ:Lcom/facebook/d/c; new-instance v0, Lcom/facebook/d/c; const-string v1, "WEBP_SIMPLE" const-string v2, "webp" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LR:Lcom/facebook/d/c; new-instance v0, Lcom/facebook/d/c; const-string v1, "WEBP_LOSSLESS" const-string v2, "webp" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LS:Lcom/facebook/d/c; new-instance v0, Lcom/facebook/d/c; const-string v1, "WEBP_EXTENDED" const-string v2, "webp" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(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, "WEBP_EXTENDED_WITH_ALPHA" const-string v2, "webp" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(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, "WEBP_ANIMATED" const-string v2, "webp" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(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, "HEIF" const-string v2, "heif" invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;->(Ljava/lang/String;Ljava/lang/String;)V sput-object v0, Lcom/facebook/d/b;->LX: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;->LW: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;->LR:Lcom/facebook/d/c; if-eq p0, v0, :cond_1 sget-object v0, Lcom/facebook/d/b;->LS:Lcom/facebook/d/c; if-eq p0, v0, :cond_1 sget-object v0, Lcom/facebook/d/b;->LU:Lcom/facebook/d/c; if-eq p0, v0, :cond_1 sget-object v0, Lcom/facebook/d/b;->LV: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