115 lines
2.6 KiB
Smali
115 lines
2.6 KiB
Smali
.class public Le/d/a/t/a;
|
|
.super Ljava/lang/Object;
|
|
.source "FontAssetManager.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Le/d/a/u/i;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Le/d/a/u/i<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final b:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Le/d/a/u/i<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Landroid/graphics/Typeface;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Landroid/graphics/Typeface;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final d:Landroid/content/res/AssetManager;
|
|
|
|
.field public e:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/graphics/drawable/Drawable$Callback;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Le/d/a/u/i;
|
|
|
|
invoke-direct {v0}, Le/d/a/u/i;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/t/a;->a:Le/d/a/u/i;
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/t/a;->b:Ljava/util/Map;
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Le/d/a/t/a;->c:Ljava/util/Map;
|
|
|
|
const-string v0, ".ttf"
|
|
|
|
iput-object v0, p0, Le/d/a/t/a;->e:Ljava/lang/String;
|
|
|
|
instance-of v0, p1, Landroid/view/View;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "LottieDrawable must be inside of a view for images to work."
|
|
|
|
invoke-static {p1}, Le/d/a/x/c;->b(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-object p1, p0, Le/d/a/t/a;->d:Landroid/content/res/AssetManager;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
check-cast p1, Landroid/view/View;
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Le/d/a/t/a;->d:Landroid/content/res/AssetManager;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Le/d/a/a;)V
|
|
.locals 0
|
|
.param p1 # Le/d/a/a;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
return-void
|
|
.end method
|