172 lines
3.5 KiB
Smali
172 lines
3.5 KiB
Smali
|
.class public final Le/j/i/b;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "DefaultImageFormats.java"
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field public static final a:Le/j/i/c;
|
||
|
|
||
|
.field public static final b:Le/j/i/c;
|
||
|
|
||
|
.field public static final c:Le/j/i/c;
|
||
|
|
||
|
.field public static final d:Le/j/i/c;
|
||
|
|
||
|
.field public static final e:Le/j/i/c;
|
||
|
|
||
|
.field public static final f:Le/j/i/c;
|
||
|
|
||
|
.field public static final g:Le/j/i/c;
|
||
|
|
||
|
.field public static final h:Le/j/i/c;
|
||
|
|
||
|
.field public static final i:Le/j/i/c;
|
||
|
|
||
|
.field public static final j:Le/j/i/c;
|
||
|
|
||
|
.field public static final k:Le/j/i/c;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public static constructor <clinit>()V
|
||
|
.locals 3
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "JPEG"
|
||
|
|
||
|
const-string v2, "jpeg"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->a:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "PNG"
|
||
|
|
||
|
const-string v2, "png"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->b:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "GIF"
|
||
|
|
||
|
const-string v2, "gif"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->c:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "BMP"
|
||
|
|
||
|
const-string v2, "bmp"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->d:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "ICO"
|
||
|
|
||
|
const-string v2, "ico"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->e:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "webp"
|
||
|
|
||
|
const-string v2, "WEBP_SIMPLE"
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->f:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v2, "WEBP_LOSSLESS"
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->g:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v2, "WEBP_EXTENDED"
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->h:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v2, "WEBP_EXTENDED_WITH_ALPHA"
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->i:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v2, "WEBP_ANIMATED"
|
||
|
|
||
|
invoke-direct {v0, v2, v1}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->j:Le/j/i/c;
|
||
|
|
||
|
new-instance v0, Le/j/i/c;
|
||
|
|
||
|
const-string v1, "HEIF"
|
||
|
|
||
|
const-string v2, "heif"
|
||
|
|
||
|
invoke-direct {v0, v1, v2}, Le/j/i/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
sput-object v0, Le/j/i/b;->k:Le/j/i/c;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static a(Le/j/i/c;)Z
|
||
|
.locals 1
|
||
|
|
||
|
sget-object v0, Le/j/i/b;->f:Le/j/i/c;
|
||
|
|
||
|
if-eq p0, v0, :cond_1
|
||
|
|
||
|
sget-object v0, Le/j/i/b;->g:Le/j/i/c;
|
||
|
|
||
|
if-eq p0, v0, :cond_1
|
||
|
|
||
|
sget-object v0, Le/j/i/b;->h:Le/j/i/c;
|
||
|
|
||
|
if-eq p0, v0, :cond_1
|
||
|
|
||
|
sget-object v0, Le/j/i/b;->i:Le/j/i/c;
|
||
|
|
||
|
if-ne p0, v0, :cond_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
:goto_0
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
:goto_1
|
||
|
return p0
|
||
|
.end method
|