105 lines
2.5 KiB
Smali
105 lines
2.5 KiB
Smali
.class public final Lf/d/a/e$e;
|
|
.super Ljava/lang/Object;
|
|
.source "LottieCompositionFactory.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/util/concurrent/Callable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lf/d/a/e;->e(Landroid/content/Context;I)Lf/d/a/o;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/util/concurrent/Callable<",
|
|
"Lf/d/a/m<",
|
|
"Lf/d/a/d;",
|
|
">;>;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Landroid/content/Context;
|
|
|
|
.field public final synthetic e:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;I)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lf/d/a/e$e;->d:Landroid/content/Context;
|
|
|
|
iput p2, p0, Lf/d/a/e$e;->e:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public call()Ljava/lang/Object;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lf/d/a/e$e;->d:Landroid/content/Context;
|
|
|
|
iget v1, p0, Lf/d/a/e$e;->e:I
|
|
|
|
:try_start_0
|
|
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "rawRes_"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lf/d/a/e;->c(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/m;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
new-instance v1, Lf/d/a/m;
|
|
|
|
invoke-direct {v1, v0}, Lf/d/a/m;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
move-object v0, v1
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|