2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/views/CheckedSetting$c;
|
2020-08-20 22:29:33 +00:00
|
|
|
.super Landroidx/core/view/AccessibilityDelegateCompat;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "CheckedSetting.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-08-20 22:29:33 +00:00
|
|
|
value = Lcom/discord/views/CheckedSetting;->f(Lcom/discord/views/CheckedSetting$ViewType;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-08-20 22:29:33 +00:00
|
|
|
.field public final synthetic a:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
.field public final synthetic b:Lcom/discord/views/CheckedSetting$ViewType;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-08-20 22:29:33 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/views/CheckedSetting;Lcom/discord/views/CheckedSetting$ViewType;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
2020-08-20 22:29:33 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/views/CheckedSetting$ViewType;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
iput-object p1, p0, Lcom/discord/views/CheckedSetting$c;->a:Lcom/discord/views/CheckedSetting;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
iput-object p2, p0, Lcom/discord/views/CheckedSetting$c;->b:Lcom/discord/views/CheckedSetting$ViewType;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Landroidx/core/view/AccessibilityDelegateCompat;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-08-20 22:29:33 +00:00
|
|
|
.method public onInitializeAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const/4 v0, 0x0
|
2020-08-20 22:29:33 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz p1, :cond_1
|
2020-08-20 22:29:33 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz p2, :cond_0
|
2020-08-20 22:29:33 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityEvent(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)V
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/discord/views/CheckedSetting$c;->a:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/views/CheckedSetting;->isChecked()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/accessibility/AccessibilityEvent;->setChecked(Z)V
|
|
|
|
|
|
|
|
return-void
|
2020-09-08 08:16:32 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string p1, "event"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "host"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
2020-08-20 22:29:33 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
|
|
|
.locals 2
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
const/4 v0, 0x0
|
2020-08-20 22:29:33 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz p1, :cond_4
|
2020-08-20 22:29:33 +00:00
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
if-eqz p2, :cond_3
|
2020-08-20 22:29:33 +00:00
|
|
|
|
|
|
|
invoke-super {p0, p1, p2}, Landroidx/core/view/AccessibilityDelegateCompat;->onInitializeAccessibilityNodeInfo(Landroid/view/View;Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;)V
|
2020-08-13 01:07:25 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
const/4 v0, 0x1
|
2020-08-13 01:07:25 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
invoke-virtual {p2, v0}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setCheckable(Z)V
|
2020-08-13 01:07:25 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/views/CheckedSetting$c;->a:Lcom/discord/views/CheckedSetting;
|
2020-08-13 01:07:25 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
invoke-virtual {v1}, Lcom/discord/views/CheckedSetting;->isChecked()Z
|
2020-08-13 01:07:25 +00:00
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setChecked(Z)V
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/view/View;->getResources()Landroid/content/res/Resources;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/views/CheckedSetting$c;->b:Lcom/discord/views/CheckedSetting$ViewType;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
if-eq v1, v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
if-ne v1, v0, :cond_0
|
|
|
|
|
|
|
|
const v0, 0x7f120005
|
|
|
|
|
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-08-20 22:29:33 +00:00
|
|
|
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const v0, 0x7f120004
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const v0, 0x7f120003
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroidx/core/view/accessibility/AccessibilityNodeInfoCompat;->setRoleDescription(Ljava/lang/CharSequence;)V
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
2020-09-08 08:16:32 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-string p1, "info"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
const-string p1, "host"
|
|
|
|
|
|
|
|
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|