2020-05-17 12:40:10 +00:00
|
|
|
.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;",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 2
|
2020-07-08 16:44:49 +00:00
|
|
|
.param p0 # Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/lang/String;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Ljava/util/concurrent/Callable<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/n<",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;>;)",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const/4 v0, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-nez p0, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/w/g;->b:Lf/d/a/w/g;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v1, Lf/d/a/w/g;->a:Landroidx/collection/LruCache;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v0, p0}, Landroidx/collection/LruCache;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
check-cast v0, Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_0
|
|
|
|
if-eqz v0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p0, Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p1, Lf/d/a/e$e;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p1, v0}, Lf/d/a/e$e;-><init>(Lf/d/a/d;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, p1}, Lf/d/a/p;-><init>(Ljava/util/concurrent/Callable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_1
|
|
|
|
if-eqz p0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object v0, Lf/d/a/e;->a:Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {v0, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz v0, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object p1, Lf/d/a/e;->a:Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {p1, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p0, Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:cond_2
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lf/d/a/p;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Lf/d/a/p;-><init>(Ljava/util/concurrent/Callable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p0, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance p1, Lf/d/a/e$a;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p1, p0}, Lf/d/a/e$a;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/p;->b(Lf/d/a/j;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance p1, Lf/d/a/e$b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p1, p0}, Lf/d/a/e$b;-><init>(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p1}, Lf/d/a/p;->a(Lf/d/a/j;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object p1, Lf/d/a/e;->a:Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-interface {p1, p0, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_3
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
2020-07-08 16:44:49 +00:00
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static b(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/p;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Lf/d/a/p<",
|
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "asset_"
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
new-instance v1, Lf/d/a/e$c;
|
|
|
|
|
|
|
|
invoke-direct {v1, p0, p1, v0}, Lf/d/a/e$c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static c(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
2020-09-16 23:45:23 +00:00
|
|
|
.param p2 # Ljava/lang/String;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Ljava/lang/String;",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Ljava/lang/String;",
|
2020-05-17 12:40:10 +00:00
|
|
|
")",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p2, Lf/d/a/e$c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v0, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p2, p0, p1, v0}, Lf/d/a/e$c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-static {v0, p2}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static d(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/n;
|
2020-09-08 08:16:32 +00:00
|
|
|
.locals 2
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p1 # Ljava/lang/String;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
2020-07-08 16:44:49 +00:00
|
|
|
.annotation build Landroidx/annotation/WorkerThread;
|
|
|
|
.end annotation
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Ljava/io/InputStream;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_0
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "$this$source"
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p0, v0}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v0, Lh0/n;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v1, Lh0/y;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v1}, Lh0/y;-><init>()V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v0, p0, v1}, Lh0/n;-><init>(Ljava/io/InputStream;Lh0/y;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v1, "$this$buffer"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v0, v1}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v1, Lh0/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v1, v0}, Lh0/r;-><init>(Lh0/x;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v1}, Lf/d/a/y/h0/c;->o(Lh0/g;)Lf/d/a/y/h0/c;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, p1, v1}, Lf/d/a/e;->e(Lf/d/a/y/h0/c;Ljava/lang/String;Z)Lf/d/a/n;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
throw p1
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static e(Lf/d/a/y/h0/c;Ljava/lang/String;Z)Lf/d/a/n;
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 2
|
|
|
|
.param p1 # Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/y/h0/c;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/lang/String;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Z)",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_0
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/y/s;->a(Lf/d/a/y/h0/c;)Lf/d/a/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
sget-object v1, Lf/d/a/w/g;->b:Lf/d/a/w/g;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
iget-object v1, v1, Lf/d/a/w/g;->a:Landroidx/collection/LruCache;
|
|
|
|
|
|
|
|
invoke-virtual {v1, p1, v0}, Landroidx/collection/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
new-instance p1, Lf/d/a/n;
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Lf/d/a/n;-><init>(Ljava/lang/Object;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p2, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_2
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_1
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lf/d/a/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v0, p1}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p2, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
return-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_1
|
|
|
|
if-eqz p2, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_4
|
2020-07-08 16:44:49 +00:00
|
|
|
throw p1
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static f(Landroid/content/Context;ILjava/lang/String;)Lf/d/a/p;
|
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
.param p1 # I
|
|
|
|
.annotation build Landroidx/annotation/RawRes;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
2020-09-16 23:45:23 +00:00
|
|
|
.param p2 # Ljava/lang/String;
|
|
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/content/Context;",
|
2020-09-16 23:45:23 +00:00
|
|
|
"I",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p2, Ljava/lang/ref/WeakReference;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p2, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object p0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v0, Lf/d/a/e$d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v0, p2, p0, p1}, Lf/d/a/e$d;-><init>(Ljava/lang/ref/WeakReference;Landroid/content/Context;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 p0, 0x0
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0, v0}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static g(Landroid/content/Context;Ljava/lang/String;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/content/Context;",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/p<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string/jumbo v0, "url_"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, p1}, Lf/e/b/a/a;->q(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v1, Lf/d/a/f;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v1, p0, p1, v0}, Lf/d/a/f;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->a(Ljava/lang/String;Ljava/util/concurrent/Callable;)Lf/d/a/p;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static h(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/n;
|
2020-07-08 16:44:49 +00:00
|
|
|
.locals 0
|
2020-05-17 12:40:10 +00:00
|
|
|
.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 = {
|
|
|
|
"(",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Ljava/util/zip/ZipInputStream;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/lang/String;",
|
|
|
|
")",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:try_start_0
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0, p1}, Lf/d/a/e;->i(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/n;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p0}, Lf/d/a/z/g;->c(Ljava/io/Closeable;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
throw p1
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static i(Ljava/util/zip/ZipInputStream;Ljava/lang/String;)Lf/d/a/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
.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;",
|
|
|
|
")",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lf/d/a/n<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lf/d/a/d;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
new-instance v0, Ljava/util/HashMap;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->getNextEntry()Ljava/util/zip/ZipEntry;
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const/4 v2, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-object v3, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_0
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz v1, :cond_4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v1}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v5, "__MACOSX"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result v5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz v5, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->closeEntry()V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_0
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v1}, Ljava/util/zip/ZipEntry;->getName()Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v5, ".json"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v1, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz v1, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "$this$source"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {p0, v1}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v1, Lh0/n;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v3, Lh0/y;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v3}, Lh0/y;-><init>()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v1, p0, v3}, Lh0/n;-><init>(Ljava/io/InputStream;Lh0/y;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v3, "$this$buffer"
|
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v1, v3}, Lc0/n/c/i;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
new-instance v3, Lh0/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-direct {v3, v1}, Lh0/r;-><init>(Lh0/x;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-17 00:45:48 +00:00
|
|
|
invoke-static {v3}, Lf/d/a/y/h0/c;->o(Lh0/g;)Lf/d/a/y/h0/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1, v2, v3}, Lf/d/a/e;->e(Lf/d/a/y/h0/c;Ljava/lang/String;Z)Lf/d/a/n;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v1, Lf/d/a/n;->a:Ljava/lang/Object;
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-object v3, v1
|
2020-09-02 04:07:20 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
check-cast v3, Lf/d/a/d;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v1, ".png"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-nez v1, :cond_3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v1, ".webp"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz v1, :cond_2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->closeEntry()V
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v1, "/"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v4, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
array-length v4, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
add-int/lit8 v4, v4, -0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
aget-object v1, v1, v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p0}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v0, v1, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:goto_2
|
|
|
|
invoke-virtual {p0}, Ljava/util/zip/ZipInputStream;->getNextEntry()Ljava/util/zip/ZipEntry;
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_4
|
2020-09-08 08:16:32 +00:00
|
|
|
if-nez v3, :cond_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p0, Lf/d/a/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, p1}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_5
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
iget-object v4, v3, Lf/d/a/d;->d:Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Map;->values()Ljava/util/Collection;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
move-result-object v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_7
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result v5
|
|
|
|
|
|
|
|
if-eqz v5, :cond_8
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v5, Lf/d/a/i;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v6, v5, Lf/d/a/i;->d:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
2020-09-08 08:16:32 +00:00
|
|
|
move-object v5, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
: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;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v1, v5, Lf/d/a/i;->a:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget v4, v5, Lf/d/a/i;->b:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v0, v1, v4}, Lf/d/a/z/g;->j(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iput-object v0, v5, Lf/d/a/i;->e:Landroid/graphics/Bitmap;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_9
|
2020-09-08 08:16:32 +00:00
|
|
|
iget-object p0, v3, Lf/d/a/d;->d:Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v1, Lf/d/a/i;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v1, v1, Lf/d/a/i;->e:Landroid/graphics/Bitmap;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_a
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p0, Lf/d/a/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "There is no image for "
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast v0, Lf/d/a/i;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-object v0, v0, Lf/d/a/i;->d:Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p0, p1}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_b
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz p1, :cond_d
|
|
|
|
|
|
|
|
sget-object p0, Lf/d/a/w/g;->b:Lf/d/a/w/g;
|
|
|
|
|
|
|
|
if-eqz p0, :cond_c
|
|
|
|
|
|
|
|
iget-object p0, p0, Lf/d/a/w/g;->a:Landroidx/collection/LruCache;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, p1, v3}, Landroidx/collection/LruCache;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_c
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
:goto_5
|
|
|
|
new-instance p0, Lf/d/a/n;
|
|
|
|
|
|
|
|
invoke-direct {p0, v3}, Lf/d/a/n;-><init>(Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance p1, Lf/d/a/n;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {p1, p0}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
.method public static j(Landroid/content/Context;I)Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
.param p1 # I
|
|
|
|
.annotation build Landroidx/annotation/RawRes;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
const-string v0, "rawRes"
|
|
|
|
|
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
iget p0, p0, Landroid/content/res/Configuration;->uiMode:I
|
|
|
|
|
|
|
|
and-int/lit8 p0, p0, 0x30
|
|
|
|
|
|
|
|
const/16 v1, 0x20
|
|
|
|
|
|
|
|
if-ne p0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz p0, :cond_1
|
|
|
|
|
|
|
|
const-string p0, "_night_"
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p0, "_day_"
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|