tmap/smali/androidx/core/provider/FontsContractCompat.smali
2022-06-10 21:38:30 +09:00

379 lines
12 KiB
Smali

.class public Landroidx/core/provider/FontsContractCompat;
.super Ljava/lang/Object;
.source "FontsContractCompat.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/provider/FontsContractCompat$FontRequestCallback;,
Landroidx/core/provider/FontsContractCompat$b;,
Landroidx/core/provider/FontsContractCompat$c;,
Landroidx/core/provider/FontsContractCompat$a;
}
.end annotation
# static fields
.field public static final a:Ljava/lang/String; = "font_results"
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final b:I = -0x1
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final c:I = -0x2
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/content/Context;Landroid/os/CancellationSignal;[Landroidx/core/provider/FontsContractCompat$c;)Landroid/graphics/Typeface;
.locals 1
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/CancellationSignal;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # [Landroidx/core/provider/FontsContractCompat$c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
const/4 v0, 0x0
.line 1
invoke-static {p0, p1, p2, v0}, Lc1/y;->c(Landroid/content/Context;Landroid/os/CancellationSignal;[Landroidx/core/provider/FontsContractCompat$c;I)Landroid/graphics/Typeface;
move-result-object p0
return-object p0
.end method
.method public static b(Landroid/content/Context;Landroid/os/CancellationSignal;Lm1/c;)Landroidx/core/provider/FontsContractCompat$b;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/CancellationSignal;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p2 # Lm1/c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/pm/PackageManager$NameNotFoundException;
}
.end annotation
.line 1
invoke-static {p0, p2, p1}, Landroidx/core/provider/b;->d(Landroid/content/Context;Lm1/c;Landroid/os/CancellationSignal;)Landroidx/core/provider/FontsContractCompat$b;
move-result-object p0
return-object p0
.end method
.method public static c(Landroid/content/Context;Lm1/c;Landroidx/core/content/res/a$d;Landroid/os/Handler;ZII)Landroid/graphics/Typeface;
.locals 7
.param p2 # Landroidx/core/content/res/a$d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Landroid/os/Handler;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
new-instance v6, Lc1/y$a;
invoke-direct {v6, p2}, Lc1/y$a;-><init>(Landroidx/core/content/res/a$d;)V
.line 2
invoke-static {p3}, Landroidx/core/content/res/a$d;->getHandler(Landroid/os/Handler;)Landroid/os/Handler;
move-result-object v5
move-object v0, p0
move-object v1, p1
move v2, p6
move v3, p4
move v4, p5
.line 3
invoke-static/range {v0 .. v6}, Landroidx/core/provider/FontsContractCompat;->f(Landroid/content/Context;Lm1/c;IZILandroid/os/Handler;Landroidx/core/provider/FontsContractCompat$FontRequestCallback;)Landroid/graphics/Typeface;
move-result-object p0
return-object p0
.end method
.method public static d(Landroid/content/pm/PackageManager;Lm1/c;Landroid/content/res/Resources;)Landroid/content/pm/ProviderInfo;
.locals 0
.param p0 # Landroid/content/pm/PackageManager;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Lm1/c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/content/res/Resources;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/content/pm/PackageManager$NameNotFoundException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-static {p0, p1, p2}, Landroidx/core/provider/b;->e(Landroid/content/pm/PackageManager;Lm1/c;Landroid/content/res/Resources;)Landroid/content/pm/ProviderInfo;
move-result-object p0
return-object p0
.end method
.method public static e(Landroid/content/Context;[Landroidx/core/provider/FontsContractCompat$c;Landroid/os/CancellationSignal;)Ljava/util/Map;
.locals 0
.annotation build Landroidx/annotation/RequiresApi;
value = 0x13
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"[",
"Landroidx/core/provider/FontsContractCompat$c;",
"Landroid/os/CancellationSignal;",
")",
"Ljava/util/Map<",
"Landroid/net/Uri;",
"Ljava/nio/ByteBuffer;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-static {p0, p1, p2}, Lc1/f0;->h(Landroid/content/Context;[Landroidx/core/provider/FontsContractCompat$c;Landroid/os/CancellationSignal;)Ljava/util/Map;
move-result-object p0
return-object p0
.end method
.method public static f(Landroid/content/Context;Lm1/c;IZILandroid/os/Handler;Landroidx/core/provider/FontsContractCompat$FontRequestCallback;)Landroid/graphics/Typeface;
.locals 1
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Lm1/c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # I
.annotation build Landroidx/annotation/IntRange;
from = 0x0L
.end annotation
.end param
.param p5 # Landroid/os/Handler;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p6 # Landroidx/core/provider/FontsContractCompat$FontRequestCallback;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.line 1
new-instance v0, Landroidx/core/provider/a;
invoke-direct {v0, p6, p5}, Landroidx/core/provider/a;-><init>(Landroidx/core/provider/FontsContractCompat$FontRequestCallback;Landroid/os/Handler;)V
if-eqz p3, :cond_0
.line 2
invoke-static {p0, p1, v0, p2, p4}, Landroidx/core/provider/c;->e(Landroid/content/Context;Lm1/c;Landroidx/core/provider/a;II)Landroid/graphics/Typeface;
move-result-object p0
return-object p0
:cond_0
const/4 p3, 0x0
.line 3
invoke-static {p0, p1, p2, p3, v0}, Landroidx/core/provider/c;->d(Landroid/content/Context;Lm1/c;ILjava/util/concurrent/Executor;Landroidx/core/provider/a;)Landroid/graphics/Typeface;
move-result-object p0
return-object p0
.end method
.method public static g(Landroid/content/Context;Lm1/c;Landroidx/core/provider/FontsContractCompat$FontRequestCallback;Landroid/os/Handler;)V
.locals 1
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Lm1/c;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroidx/core/provider/FontsContractCompat$FontRequestCallback;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Handler;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
new-instance v0, Landroidx/core/provider/a;
invoke-direct {v0, p2}, Landroidx/core/provider/a;-><init>(Landroidx/core/provider/FontsContractCompat$FontRequestCallback;)V
.line 2
invoke-static {p3}, Lm1/d;->b(Landroid/os/Handler;)Ljava/util/concurrent/Executor;
move-result-object p2
.line 3
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
const/4 p3, 0x0
invoke-static {p0, p1, p3, p2, v0}, Landroidx/core/provider/c;->d(Landroid/content/Context;Lm1/c;ILjava/util/concurrent/Executor;Landroidx/core/provider/a;)Landroid/graphics/Typeface;
return-void
.end method
.method public static h()V
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-static {}, Landroidx/core/provider/c;->f()V
return-void
.end method
.method public static i()V
.locals 0
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->TESTS:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.line 1
invoke-static {}, Landroidx/core/provider/c;->f()V
return-void
.end method