2020-07-08 16:44:49 +00:00
|
|
|
.class public final Lf/a/n/x;
|
2020-10-05 23:18:16 +00:00
|
|
|
.super Lc0/n/c/k;
|
2020-07-08 16:44:49 +00:00
|
|
|
.source "OverlayMenuView.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-10-05 23:18:16 +00:00
|
|
|
"Lc0/n/c/k;",
|
2020-07-08 16:44:49 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Lcom/discord/views/OverlayMenuView$a;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/views/OverlayMenuView;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lf/a/n/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView$a;
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/a/n/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->d(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-boolean v1, p1, Lcom/discord/views/OverlayMenuView$a;->a:Z
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
|
|
|
|
iget-object p1, p1, Lcom/discord/views/OverlayMenuView$a;->b:Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreAudioDevices$AudioDevicesState;->getSelectedOutputDevice()Lcom/discord/stores/StoreAudioDevices$OutputDevice;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreAudioDevices$OutputDevice$Speaker;->INSTANCE:Lcom/discord/stores/StoreAudioDevices$OutputDevice$Speaker;
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
|
|
|
iget-object p1, p0, Lf/a/n/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/views/OverlayMenuView;->f(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const/4 v0, -0x1
|
|
|
|
|
|
|
|
invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p1, p0, Lf/a/n/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/views/OverlayMenuView;->f(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lf/a/n/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-19 23:59:54 +00:00
|
|
|
const v1, 0x7f0601a8
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroid/content/Context;I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-static {v0}, Landroid/content/res/ColorStateList;->valueOf(I)Landroid/content/res/ColorStateList;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageTintList(Landroid/content/res/ColorStateList;)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|