tmap/smali/androidx/appcompat/app/AppCompatDelegate.smali
2022-06-10 21:38:30 +09:00

638 lines
15 KiB
Smali

.class public abstract Landroidx/appcompat/app/AppCompatDelegate;
.super Ljava/lang/Object;
.source "AppCompatDelegate.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/app/AppCompatDelegate$NightMode;
}
.end annotation
# static fields
.field public static final a:Z = false
.field public static final b:Ljava/lang/String; = "AppCompatDelegate"
.field public static final c:I = -0x1
.field public static final d:I = 0x0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final e:I = 0x0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public static final f:I = 0x1
.field public static final g:I = 0x2
.field public static final h:I = 0x3
.field public static final i:I = -0x64
.field public static j:I = -0x64
.field public static final k:Landroidx/collection/c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/c<",
"Ljava/lang/ref/WeakReference<",
"Landroidx/appcompat/app/AppCompatDelegate;",
">;>;"
}
.end annotation
.end field
.field public static final k0:I = 0xa
.field public static final l:Ljava/lang/Object;
.field public static final p:I = 0x6c
.field public static final u:I = 0x6d
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 1
new-instance v0, Landroidx/collection/c;
invoke-direct {v0}, Landroidx/collection/c;-><init>()V
sput-object v0, Landroidx/appcompat/app/AppCompatDelegate;->k:Landroidx/collection/c;
.line 2
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Landroidx/appcompat/app/AppCompatDelegate;->l:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static E(Landroidx/appcompat/app/AppCompatDelegate;)V
.locals 1
.param p0 # Landroidx/appcompat/app/AppCompatDelegate;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
sget-object v0, Landroidx/appcompat/app/AppCompatDelegate;->l:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
invoke-static {p0}, Landroidx/appcompat/app/AppCompatDelegate;->F(Landroidx/appcompat/app/AppCompatDelegate;)V
.line 3
monitor-exit v0
return-void
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
.end method
.method public static F(Landroidx/appcompat/app/AppCompatDelegate;)V
.locals 3
.param p0 # Landroidx/appcompat/app/AppCompatDelegate;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
sget-object v0, Landroidx/appcompat/app/AppCompatDelegate;->l:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
sget-object v1, Landroidx/appcompat/app/AppCompatDelegate;->k:Landroidx/collection/c;
invoke-virtual {v1}, Landroidx/collection/c;->iterator()Ljava/util/Iterator;
move-result-object v1
.line 3
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
.line 4
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/ref/WeakReference;
invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/appcompat/app/AppCompatDelegate;
if-eq v2, p0, :cond_1
if-nez v2, :cond_0
.line 5
:cond_1
invoke-interface {v1}, Ljava/util/Iterator;->remove()V
goto :goto_0
.line 6
:cond_2
monitor-exit v0
return-void
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
.end method
.method public static H(Z)V
.locals 0
.line 1
invoke-static {p0}, Landroidx/appcompat/widget/o0;->b(Z)V
return-void
.end method
.method public static L(I)V
.locals 1
const/4 v0, -0x1
if-eq p0, v0, :cond_0
if-eqz p0, :cond_0
const/4 v0, 0x1
if-eq p0, v0, :cond_0
const/4 v0, 0x2
if-eq p0, v0, :cond_0
const/4 v0, 0x3
if-eq p0, v0, :cond_0
const-string p0, "AppCompatDelegate"
const-string v0, "setDefaultNightMode() called with an unknown mode"
.line 1
invoke-static {p0, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_0
.line 2
:cond_0
sget v0, Landroidx/appcompat/app/AppCompatDelegate;->j:I
if-eq v0, p0, :cond_1
.line 3
sput p0, Landroidx/appcompat/app/AppCompatDelegate;->j:I
.line 4
invoke-static {}, Landroidx/appcompat/app/AppCompatDelegate;->d()V
:cond_1
:goto_0
return-void
.end method
.method public static a(Landroidx/appcompat/app/AppCompatDelegate;)V
.locals 3
.param p0 # Landroidx/appcompat/app/AppCompatDelegate;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
sget-object v0, Landroidx/appcompat/app/AppCompatDelegate;->l:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
invoke-static {p0}, Landroidx/appcompat/app/AppCompatDelegate;->F(Landroidx/appcompat/app/AppCompatDelegate;)V
.line 3
sget-object v1, Landroidx/appcompat/app/AppCompatDelegate;->k:Landroidx/collection/c;
new-instance v2, Ljava/lang/ref/WeakReference;
invoke-direct {v2, p0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
invoke-virtual {v1, v2}, Landroidx/collection/c;->add(Ljava/lang/Object;)Z
.line 4
monitor-exit v0
return-void
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
.end method
.method public static d()V
.locals 3
.line 1
sget-object v0, Landroidx/appcompat/app/AppCompatDelegate;->l:Ljava/lang/Object;
monitor-enter v0
.line 2
:try_start_0
sget-object v1, Landroidx/appcompat/app/AppCompatDelegate;->k:Landroidx/collection/c;
invoke-virtual {v1}, Landroidx/collection/c;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/ref/WeakReference;
.line 3
invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/appcompat/app/AppCompatDelegate;
if-eqz v2, :cond_0
.line 4
invoke-virtual {v2}, Landroidx/appcompat/app/AppCompatDelegate;->c()Z
goto :goto_0
.line 5
:cond_1
monitor-exit v0
return-void
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public static g(Landroid/app/Activity;Landroidx/appcompat/app/d;)Landroidx/appcompat/app/AppCompatDelegate;
.locals 1
.param p0 # Landroid/app/Activity;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroidx/appcompat/app/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-direct {v0, p0, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;-><init>(Landroid/app/Activity;Landroidx/appcompat/app/d;)V
return-object v0
.end method
.method public static h(Landroid/app/Dialog;Landroidx/appcompat/app/d;)Landroidx/appcompat/app/AppCompatDelegate;
.locals 1
.param p0 # Landroid/app/Dialog;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroidx/appcompat/app/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-direct {v0, p0, p1}, Landroidx/appcompat/app/AppCompatDelegateImpl;-><init>(Landroid/app/Dialog;Landroidx/appcompat/app/d;)V
return-object v0
.end method
.method public static i(Landroid/content/Context;Landroid/app/Activity;Landroidx/appcompat/app/d;)Landroidx/appcompat/app/AppCompatDelegate;
.locals 1
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/app/Activity;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroidx/appcompat/app/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-direct {v0, p0, p1, p2}, Landroidx/appcompat/app/AppCompatDelegateImpl;-><init>(Landroid/content/Context;Landroid/app/Activity;Landroidx/appcompat/app/d;)V
return-object v0
.end method
.method public static j(Landroid/content/Context;Landroid/view/Window;Landroidx/appcompat/app/d;)Landroidx/appcompat/app/AppCompatDelegate;
.locals 1
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/view/Window;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroidx/appcompat/app/d;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
new-instance v0, Landroidx/appcompat/app/AppCompatDelegateImpl;
invoke-direct {v0, p0, p1, p2}, Landroidx/appcompat/app/AppCompatDelegateImpl;-><init>(Landroid/content/Context;Landroid/view/Window;Landroidx/appcompat/app/d;)V
return-object v0
.end method
.method public static m()I
.locals 1
.line 1
sget v0, Landroidx/appcompat/app/AppCompatDelegate;->j:I
return v0
.end method
.method public static u()Z
.locals 1
.line 1
invoke-static {}, Landroidx/appcompat/widget/o0;->a()Z
move-result v0
return v0
.end method
# virtual methods
.method public abstract A()V
.end method
.method public abstract B(Landroid/os/Bundle;)V
.end method
.method public abstract C()V
.end method
.method public abstract D()V
.end method
.method public abstract G(I)Z
.end method
.method public abstract I(I)V
.param p1 # I
.annotation build Landroidx/annotation/LayoutRes;
.end annotation
.end param
.end method
.method public abstract J(Landroid/view/View;)V
.end method
.method public abstract K(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.end method
.method public abstract M(Z)V
.end method
.method public abstract N(I)V
.annotation build Landroidx/annotation/RequiresApi;
value = 0x11
.end annotation
.end method
.method public abstract O(Landroidx/appcompat/widget/Toolbar;)V
.param p1 # Landroidx/appcompat/widget/Toolbar;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.end method
.method public P(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/StyleRes;
.end annotation
.end param
return-void
.end method
.method public abstract Q(Ljava/lang/CharSequence;)V
.param p1 # Ljava/lang/CharSequence;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.end method
.method public abstract R(Li/b$a;)Li/b;
.param p1 # Li/b$a;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end method
.method public abstract b(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
.end method
.method public abstract c()Z
.end method
.method public e(Landroid/content/Context;)V
.locals 0
.annotation runtime Ljava/lang/Deprecated;
.end annotation
return-void
.end method
.method public f(Landroid/content/Context;)Landroid/content/Context;
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/CallSuper;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatDelegate;->e(Landroid/content/Context;)V
return-object p1
.end method
.method public abstract k(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
.param p1 # Landroid/view/View;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p3 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.end method
.method public abstract l(I)Landroid/view/View;
.param p1 # I
.annotation build Landroidx/annotation/IdRes;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Landroid/view/View;",
">(I)TT;"
}
.end annotation
.end method
.method public abstract n()Landroidx/appcompat/app/a$b;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end method
.method public o()I
.locals 1
const/16 v0, -0x64
return v0
.end method
.method public abstract p()Landroid/view/MenuInflater;
.end method
.method public abstract q()Landroidx/appcompat/app/ActionBar;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end method
.method public abstract r(I)Z
.end method
.method public abstract s()V
.end method
.method public abstract t()V
.end method
.method public abstract v()Z
.end method
.method public abstract w(Landroid/content/res/Configuration;)V
.end method
.method public abstract x(Landroid/os/Bundle;)V
.end method
.method public abstract y()V
.end method
.method public abstract z(Landroid/os/Bundle;)V
.end method