192 lines
5.8 KiB
Smali
192 lines
5.8 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;
|
|
.super Lcom/discord/app/AppBottomSheet;
|
|
.source "WidgetSettingsVoice.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/settings/WidgetSettingsVoice;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "InputModeSelector"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
|
|
# instance fields
|
|
.field public final optionPTT$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
.field public final optionVAD$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 5
|
|
|
|
const/4 v0, 0x2
|
|
|
|
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
|
|
|
new-instance v1, Li0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;
|
|
|
|
invoke-static {v2}, Li0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Li0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "optionPTT"
|
|
|
|
const-string v4, "getOptionPTT()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Li0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Li0/n/c/s;->property1(Li0/n/c/p;)Li0/r/d;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
new-instance v1, Li0/n/c/q;
|
|
|
|
const-class v2, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;
|
|
|
|
invoke-static {v2}, Li0/n/c/s;->getOrCreateKotlinClass(Ljava/lang/Class;)Li0/r/b;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "optionVAD"
|
|
|
|
const-string v4, "getOptionVAD()Landroid/view/View;"
|
|
|
|
invoke-direct {v1, v2, v3, v4}, Li0/n/c/q;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Li0/n/c/s;->property1(Li0/n/c/p;)Li0/r/d;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
sput-object v0, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;-><init>()V
|
|
|
|
const v0, 0x7f0a08ac
|
|
|
|
invoke-static {p0, v0}, Li0/i/t;->i(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->optionPTT$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
const v0, 0x7f0a08ad
|
|
|
|
invoke-static {p0, v0}, Li0/i/t;->i(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->optionVAD$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getOptionPTT()Landroid/view/View;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->optionPTT$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private final getOptionVAD()Landroid/view/View;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->optionVAD$delegate:Lkotlin/properties/ReadOnlyProperty;
|
|
|
|
sget-object v1, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getContentViewResId()I
|
|
.locals 1
|
|
|
|
const v0, 0x7f0d0277
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-super {p0, p1, p2}, Lcom/discord/app/AppBottomSheet;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->getOptionPTT()Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector$onViewCreated$1;
|
|
|
|
invoke-direct {p2, p0}, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector$onViewCreated$1;-><init>(Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;)V
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
invoke-direct {p0}, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;->getOptionVAD()Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector$onViewCreated$2;
|
|
|
|
invoke-direct {p2, p0}, Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector$onViewCreated$2;-><init>(Lcom/discord/widgets/settings/WidgetSettingsVoice$InputModeSelector;)V
|
|
|
|
invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "view"
|
|
|
|
invoke-static {p1}, Li0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|