apkfuckery/com.discord/smali/e/d/a/t/a.smali

115 lines
2.6 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Le/d/a/t/a;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "FontAssetManager.java"
# instance fields
2019-12-06 03:29:40 +00:00
.field public final a:Le/d/a/u/i;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Le/d/a/u/i<",
2019-07-24 11:27:29 +00:00
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final b:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 01:29:57 +00:00
"Ljava/util/Map<",
2019-12-06 03:29:40 +00:00
"Le/d/a/u/i<",
2019-07-24 11:27:29 +00:00
"Ljava/lang/String;",
2019-12-06 03:29:40 +00:00
">;",
2019-12-06 01:29:57 +00:00
"Landroid/graphics/Typeface;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final c:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-06 03:29:40 +00:00
"Ljava/util/Map<",
2019-07-24 11:27:29 +00:00
"Ljava/lang/String;",
2019-12-06 03:29:40 +00:00
"Landroid/graphics/Typeface;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final d:Landroid/content/res/AssetManager;
.field public e:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroid/graphics/drawable/Drawable$Callback;)V
2019-07-24 11:27:29 +00:00
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-06 03:29:40 +00:00
new-instance v0, Le/d/a/u/i;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0}, Le/d/a/u/i;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Le/d/a/t/a;->a:Le/d/a/u/i;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Le/d/a/t/a;->b:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Le/d/a/t/a;->c:Ljava/util/Map;
2019-07-24 11:27:29 +00:00
const-string v0, ".ttf"
2019-12-06 03:29:40 +00:00
iput-object v0, p0, Le/d/a/t/a;->e:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
instance-of v0, p1, Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
const-string p1, "LottieDrawable must be inside of a view for images to work."
2019-12-06 03:29:40 +00:00
invoke-static {p1}, Le/d/a/x/c;->b(Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
iput-object p1, p0, Le/d/a/t/a;->d:Landroid/content/res/AssetManager;
2019-07-24 11:27:29 +00:00
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
2019-12-06 03:29:40 +00:00
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
2019-07-24 11:27:29 +00:00
return-void
.end method