82 lines
2.2 KiB
Smali
82 lines
2.2 KiB
Smali
.class public final Lf/a/k/x;
|
|
.super Ly/u/b/k;
|
|
.source "OverlayMenuView.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/u/b/k;",
|
|
"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/k/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Ly/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/discord/views/OverlayMenuView$a;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/a/k/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
|
|
|
|
iget-object v0, p0, Lf/a/k/x;->this$0:Lcom/discord/views/OverlayMenuView;
|
|
|
|
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->f(Lcom/discord/views/OverlayMenuView;)Landroid/widget/ImageView;
|
|
|
|
move-result-object v0
|
|
|
|
instance-of p1, p1, Lcom/discord/stores/StoreAudioDevices$OutputDevice$Speaker;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setActivated(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/views/OverlayMenuView$a;
|
|
|
|
invoke-virtual {p0, p1}, Lf/a/k/x;->a(Lcom/discord/views/OverlayMenuView$a;)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|