53 lines
1.3 KiB
Smali
53 lines
1.3 KiB
Smali
.class public final Lcom/discord/widgets/settings/WidgetSettingsVoice$onViewBoundOrOnResume$2;
|
|
.super Lf/a/n/g;
|
|
.source "WidgetSettingsVoice.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/settings/WidgetSettingsVoice;->onViewBoundOrOnResume()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lf/a/n/g;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
|
|
.locals 1
|
|
|
|
const-string v0, "seekBar"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getMediaSettings()Lcom/discord/stores/StoreMediaSettings;
|
|
|
|
move-result-object p1
|
|
|
|
int-to-float p2, p2
|
|
|
|
const/high16 p3, 0x42c80000 # 100.0f
|
|
|
|
sub-float/2addr p2, p3
|
|
|
|
invoke-virtual {p1, p2}, Lcom/discord/stores/StoreMediaSettings;->setSensitivity(F)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|