726 lines
17 KiB
Smali
726 lines
17 KiB
Smali
.class public Lf/d/a/e;
|
|
.super Ljava/lang/Object;
|
|
.source "LottieCompositionFactory.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Lf/d/a/o<",
|
|
"Lf/d/a/d;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
sput-object v0, Lf/d/a/e;->a:Ljava/util/Map;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/o;
|
|
.locals 2
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;>;)",
|
|
"Lf/d/a/o<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v1, Lf/d/a/v/g;->b:Lf/d/a/v/g;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
iget-object v0, v1, Lf/d/a/v/g;->a:Landroidx/collection/LruCache;
|
|
|
|
invoke-virtual {v0, p0}, Landroidx/collection/LruCache;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lf/d/a/d;
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
new-instance p0, Lf/d/a/o;
|
|
|
|
new-instance p1, Lf/d/a/e$f;
|
|
|
|
invoke-direct {p1, v0}, Lf/d/a/e$f;-><init>(Lf/d/a/d;)V
|
|
|
|
invoke-direct {p0, p1}, Lf/d/a/o;-><init>(Ljava/util/concurrent/Callable;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
if-eqz p0, :cond_2
|
|
|
|
sget-object v0, Lf/d/a/e;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {v0, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
sget-object p1, Lf/d/a/e;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {p1, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lf/d/a/o;
|
|
|
|
return-object p0
|
|
|
|
:cond_2
|
|
new-instance v0, Lf/d/a/o;
|
|
|
|
invoke-direct {v0, p1}, Lf/d/a/o;-><init>(Ljava/util/concurrent/Callable;)V
|
|
|
|
new-instance p1, Lf/d/a/e$a;
|
|
|
|
invoke-direct {p1, p0}, Lf/d/a/e$a;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/o;->b(Lf/d/a/i;)Lf/d/a/o;
|
|
|
|
new-instance p1, Lf/d/a/e$b;
|
|
|
|
invoke-direct {p1, p0}, Lf/d/a/e$b;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/o;->a(Lf/d/a/i;)Lf/d/a/o;
|
|
|
|
sget-object p1, Lf/d/a/e;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {p1, p0, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
|
|
:cond_3
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static b(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/o;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lf/d/a/o<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v0, Lf/d/a/e$d;
|
|
|
|
invoke-direct {v0, p0, p1}, Lf/d/a/e$d;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
invoke-static {p1, v0}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/o;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static c(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/m;
|
|
.locals 2
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/WorkerThread;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/io/InputStream;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Lf/n/a/k/a;->X(Ljava/io/InputStream;)Lo0/w;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/n/a/k/a;->p(Lo0/w;)Lo0/g;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lf/d/a/x/h0/c;->p(Lo0/g;)Lf/d/a/x/h0/c;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-static {v0, p1, v1}, Lf/d/a/e;->d(Lf/d/a/x/h0/c;Ljava/lang/String;Z)Lf/d/a/m;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static d(Lf/d/a/x/h0/c;Ljava/lang/String;Z)Lf/d/a/m;
|
|
.locals 2
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lf/d/a/x/h0/c;",
|
|
"Ljava/lang/String;",
|
|
"Z)",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-static {p0}, Lf/d/a/x/s;->a(Lf/d/a/x/h0/c;)Lf/d/a/d;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lf/d/a/v/g;->b:Lf/d/a/v/g;
|
|
|
|
invoke-virtual {v1, p1, v0}, Lf/d/a/v/g;->a(Ljava/lang/String;Lf/d/a/d;)V
|
|
|
|
new-instance p1, Lf/d/a/m;
|
|
|
|
invoke-direct {p1, v0}, Lf/d/a/m;-><init>(Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
:cond_0
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
:try_start_1
|
|
new-instance v0, Lf/d/a/m;
|
|
|
|
invoke-direct {v0, p1}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
:cond_1
|
|
return-object v0
|
|
|
|
:goto_0
|
|
if-eqz p2, :cond_2
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
:cond_2
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static e(Landroid/content/Context;I)Lf/d/a/o;
|
|
.locals 2
|
|
.param p1 # I
|
|
.annotation build Landroidx/annotation/RawRes;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"I)",
|
|
"Lf/d/a/o<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "rawRes_"
|
|
|
|
invoke-static {v0, p1}, Lf/e/b/a/a;->h(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lf/d/a/e$e;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/d/a/e$e;-><init>(Landroid/content/Context;I)V
|
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/o;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static f(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/o;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lf/d/a/o<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "url_"
|
|
|
|
invoke-static {v0, p1}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Lf/d/a/e$c;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/d/a/e$c;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/o;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static g(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/m;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/WorkerThread;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/zip/ZipInputStream;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
invoke-static {p0, p1}, Lf/d/a/e;->h(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/m;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {p0}, Lf/d/a/y/g;->c(Ljava/io/Closeable;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static h(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/m;
|
|
.locals 7
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/WorkerThread;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/zip/ZipInputStream;",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
:try_start_0
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->getNextEntry()Ljava/util/zip/ZipEntry;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
move-object v3, v2
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_4
|
|
|
|
invoke-virtual {v1}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "__MACOSX"
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->closeEntry()V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
invoke-virtual {v1}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v5, ".json"
|
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-static {p0}, Lf/n/a/k/a;->X(Ljava/io/InputStream;)Lo0/w;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lf/n/a/k/a;->p(Lo0/w;)Lo0/g;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lf/d/a/x/h0/c;->p(Lo0/g;)Lf/d/a/x/h0/c;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-static {v1, v2, v3}, Lf/d/a/e;->d(Lf/d/a/x/h0/c;Ljava/lang/String;Z)Lf/d/a/m;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v1, v1, Lf/d/a/m;->a:Ljava/lang/Object;
|
|
|
|
move-object v3, v1
|
|
|
|
check-cast v3, Lf/d/a/d;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
const-string v1, ".png"
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
const-string v1, ".webp"
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->closeEntry()V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const-string v1, "/"
|
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v4, v1
|
|
|
|
add-int/lit8 v4, v4, -0x1
|
|
|
|
aget-object v1, v1, v4
|
|
|
|
invoke-static {p0}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v0, v1, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:goto_2
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->getNextEntry()Ljava/util/zip/ZipEntry;
|
|
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
if-nez v3, :cond_5
|
|
|
|
new-instance p0, Lf/d/a/m;
|
|
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Unable to parse composition"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0, p1}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_5
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_6
|
|
:goto_3
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
iget-object v4, v3, Lf/d/a/d;->d:Ljava/util/Map;
|
|
|
|
invoke-interface {v4}, Ljava/util/Map;->values()Ljava/util/Collection;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-interface {v4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v4
|
|
|
|
:cond_7
|
|
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_8
|
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lf/d/a/h;
|
|
|
|
iget-object v6, v5, Lf/d/a/h;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {v6, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
move-object v5, v2
|
|
|
|
:goto_4
|
|
if-eqz v5, :cond_6
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/graphics/Bitmap;
|
|
|
|
iget v1, v5, Lf/d/a/h;->a:I
|
|
|
|
iget v4, v5, Lf/d/a/h;->b:I
|
|
|
|
invoke-static {v0, v1, v4}, Lf/d/a/y/g;->i(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, v5, Lf/d/a/h;->e:Landroid/graphics/Bitmap;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_9
|
|
iget-object p0, v3, Lf/d/a/d;->d:Ljava/util/Map;
|
|
|
|
invoke-interface {p0}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-interface {p0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_a
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/util/Map$Entry;
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lf/d/a/h;
|
|
|
|
iget-object v1, v1, Lf/d/a/h;->e:Landroid/graphics/Bitmap;
|
|
|
|
if-nez v1, :cond_a
|
|
|
|
new-instance p0, Lf/d/a/m;
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "There is no image for "
|
|
|
|
invoke-static {v1}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lf/d/a/h;
|
|
|
|
iget-object v0, v0, Lf/d/a/h;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0, p1}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-object p0
|
|
|
|
:cond_b
|
|
sget-object p0, Lf/d/a/v/g;->b:Lf/d/a/v/g;
|
|
|
|
invoke-virtual {p0, p1, v3}, Lf/d/a/v/g;->a(Ljava/lang/String;Lf/d/a/d;)V
|
|
|
|
new-instance p0, Lf/d/a/m;
|
|
|
|
invoke-direct {p0, v3}, Lf/d/a/m;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
new-instance p1, Lf/d/a/m;
|
|
|
|
invoke-direct {p1, p0}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
return-object p1
|
|
.end method
|