2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;
|
2020-07-08 16:44:49 +00:00
|
|
|
.super Lf/a/n/g;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "WidgetTextChannelSettings.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/channels/WidgetTextChannelSettings;->onViewBound(Landroid/view/View;)V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/channels/WidgetTextChannelSettings;)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0}, Lf/a/n/g;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
2020-08-26 17:47:03 +00:00
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-super {p0, p1, p2, p3}, Lf/a/n/g;->onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$getSLOWMODE_COOLDOWN_VALUES$cp()Ljava/util/List;
|
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
move-result-object p3
|
|
|
|
|
|
|
|
invoke-interface {p3, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
move-result-object p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
check-cast p2, Ljava/lang/Number;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
move-result p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
iget-object p3, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-static {p3, p2}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$setSlowmodeLabel(Lcom/discord/widgets/channels/WidgetTextChannelSettings;I)V
|
|
|
|
|
|
|
|
iget-object p3, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
|
|
|
|
|
|
|
invoke-static {p3}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$getState$p(Lcom/discord/widgets/channels/WidgetTextChannelSettings;)Lcom/discord/utilities/stateful/StatefulViews;
|
|
|
|
|
|
|
|
move-result-object p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const v0, 0x7f0a01bf
|
2020-08-26 17:47:03 +00:00
|
|
|
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p3, v0, p2}, Lcom/discord/utilities/stateful/StatefulViews;->put(ILjava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
|
|
|
|
|
|
|
invoke-static {p2}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$getState$p(Lcom/discord/widgets/channels/WidgetTextChannelSettings;)Lcom/discord/utilities/stateful/StatefulViews;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
iget-object p3, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-static {p3}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$getChannelSettingsSave$p(Lcom/discord/widgets/channels/WidgetTextChannelSettings;)Landroid/view/View;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
move-result-object p3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-virtual {p2, p3}, Lcom/discord/utilities/stateful/StatefulViews;->configureSaveActionView(Landroid/view/View;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
if-eqz p1, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
iget-object p2, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$onViewBound$1;->this$0:Lcom/discord/widgets/channels/WidgetTextChannelSettings;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-static {p2}, Lcom/discord/widgets/channels/WidgetTextChannelSettings;->access$getChannelSettingsSlowModeLabel$p(Lcom/discord/widgets/channels/WidgetTextChannelSettings;)Landroid/widget/TextView;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
move-result-object p2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-virtual {p2}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-08-26 17:47:03 +00:00
|
|
|
invoke-virtual {p1, p2}, Landroid/widget/SeekBar;->setContentDescription(Ljava/lang/CharSequence;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|