apkfuckery/com.discord/smali/com/discord/views/video/VideoCallParticipantView.smali

1921 lines
56 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lcom/discord/views/video/VideoCallParticipantView;
2020-04-07 08:23:55 +00:00
.super Landroidx/constraintlayout/widget/ConstraintLayout;
2019-07-24 11:27:29 +00:00
.source "VideoCallParticipantView.kt"
# interfaces
.implements Lcom/discord/utilities/view/grid/FrameGridLayout$DataView;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
}
.end annotation
# static fields
2020-04-27 21:50:40 +00:00
.field public static final synthetic w:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final d:Lkotlin/properties/ReadOnlyProperty;
2019-08-22 06:13:42 +00:00
2019-12-06 03:29:40 +00:00
.field public final e:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final f:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final g:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final h:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final i:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2020-04-07 08:23:55 +00:00
.field public final j:Lkotlin/properties/ReadOnlyProperty;
2019-11-13 02:27:29 +00:00
2020-04-07 08:23:55 +00:00
.field public final k:Lkotlin/properties/ReadOnlyProperty;
2019-12-03 21:42:56 +00:00
2020-04-07 08:23:55 +00:00
.field public final l:Lkotlin/properties/ReadOnlyProperty;
2019-11-15 02:21:15 +00:00
2020-04-27 21:50:40 +00:00
.field public final m:Lkotlin/properties/ReadOnlyProperty;
2019-11-15 02:21:15 +00:00
2020-04-27 21:50:40 +00:00
.field public final n:Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
.field public final o:Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
.field public final p:Z
.field public q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
.field public r:Ljava/lang/String;
.field public s:Lkotlin/jvm/functions/Function1;
2020-04-17 17:35:24 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;"
}
.end annotation
.end field
2020-04-27 21:50:40 +00:00
.field public t:Lrx/Subscription;
.field public u:Z
.field public v:Lrx/Subscription;
2020-04-17 19:35:49 +00:00
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-08-30 20:04:20 +00:00
.locals 6
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const/16 v0, 0xc
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
new-array v0, v0, [Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
new-instance v1, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v2, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v2}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const-string v3, "voiceUserView"
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const-string v4, "getVoiceUserView()Lcom/discord/views/VoiceUserView;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v1, v2, v3, v4}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v2, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v2, v1}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v1, v0, v2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const-string v4, "backgroundAvatar"
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
const-string v5, "getBackgroundAvatar()Landroid/view/View;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x2
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v4, "loadingIndicator"
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getLoadingIndicator()Landroid/view/View;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v4, "letterbox"
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getLetterbox()Landroid/view/View;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x4
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-08-30 20:04:20 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v4, "videoStreamRenderer"
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v1, 0x5
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v4, "applicationStreamPreviewImage"
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;"
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aput-object v2, v0, v1
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
const/4 v1, 0x6
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2020-04-07 08:23:55 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2020-04-07 08:23:55 +00:00
move-result-object v3
2020-04-27 21:50:40 +00:00
const-string v4, "applicationStreamPreviewText"
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getApplicationStreamPreviewText()Landroid/widget/TextView;"
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2020-04-07 08:23:55 +00:00
aput-object v2, v0, v1
const/4 v1, 0x7
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2020-04-07 08:23:55 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2020-04-07 08:23:55 +00:00
move-result-object v3
2020-04-27 21:50:40 +00:00
const-string v4, "muteStatusIndicator"
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
const-string v5, "getMuteStatusIndicator()Landroid/widget/ImageView;"
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2020-04-07 08:23:55 +00:00
aput-object v2, v0, v1
const/16 v1, 0x8
2020-04-27 20:53:11 +00:00
new-instance v2, Lx/u/b/u;
2020-04-25 00:39:25 +00:00
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
2020-04-27 20:53:11 +00:00
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
2020-04-25 00:39:25 +00:00
move-result-object v3
2020-04-27 21:50:40 +00:00
const-string v4, "deafenStatusIndicator"
const-string v5, "getDeafenStatusIndicator()Landroid/widget/ImageView;"
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
aput-object v2, v0, v1
const/16 v1, 0x9
new-instance v2, Lx/u/b/u;
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
move-result-object v3
const-string v4, "liveIndicator"
const-string v5, "getLiveIndicator()Landroid/widget/TextView;"
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
aput-object v2, v0, v1
const/16 v1, 0xa
new-instance v2, Lx/u/b/u;
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
move-result-object v3
2020-04-07 08:23:55 +00:00
const-string v4, "applicationStreamPaused"
const-string v5, "getApplicationStreamPaused()Landroid/view/View;"
2020-04-27 20:53:11 +00:00
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
2020-04-25 00:39:25 +00:00
aput-object v2, v0, v1
2020-04-27 21:50:40 +00:00
const/16 v1, 0xb
new-instance v2, Lx/u/b/u;
const-class v3, Lcom/discord/views/video/VideoCallParticipantView;
invoke-static {v3}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
move-result-object v3
const-string v4, "videoLabel"
const-string v5, "getVideoLabel()Landroid/widget/TextView;"
invoke-direct {v2, v3, v4, v5}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Lx/u/b/w;->a:Lx/u/b/x;
invoke-virtual {v3, v2}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
aput-object v2, v0, v1
sput-object v0, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 6
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x6
const/4 v5, 0x0
move-object v0, p0
move-object v1, p1
invoke-direct/range {v0 .. v5}, Lcom/discord/views/video/VideoCallParticipantView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 6
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
invoke-direct/range {v0 .. v5}, Lcom/discord/views/video/VideoCallParticipantView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
invoke-direct {p0, p1, p2, p3}, Landroidx/constraintlayout/widget/ConstraintLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a0603
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->d:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05f7
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->e:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a0600
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->f:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05f8
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->g:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a0601
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->h:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05fd
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2019-12-06 03:29:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->i:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05fe
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
move-result-object p3
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->j:Lkotlin/properties/ReadOnlyProperty;
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05fb
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
move-result-object p3
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->k:Lkotlin/properties/ReadOnlyProperty;
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05f9
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
move-result-object p3
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->l:Lkotlin/properties/ReadOnlyProperty;
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05fa
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2020-04-27 21:50:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->m:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0a05fc
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
move-result-object p3
2020-04-27 21:50:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->n:Lkotlin/properties/ReadOnlyProperty;
const p3, 0x7f0a05ff
invoke-static {p0, p3}, Le/n/a/j/a;->a(Landroid/view/View;I)Lkotlin/properties/ReadOnlyProperty;
move-result-object p3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->o:Lkotlin/properties/ReadOnlyProperty;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
sget-object p3, Lcom/discord/views/video/VideoCallParticipantView$a;->d:Lcom/discord/views/video/VideoCallParticipantView$a;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
iput-object p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->s:Lkotlin/jvm/functions/Function1;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
const p3, 0x7f0d0128
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p1, p3, p0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
const/4 p3, 0x0
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p2, :cond_0
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
sget-object v0, Lcom/discord/R$a;->VideoCallParticipantView:[I
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p2, v0, p3, p3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, p3, p3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result p2
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const/4 v0, 0x1
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {p1, v0, p3}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
move-result p3
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
iput-boolean p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->p:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_0
2020-04-27 21:50:40 +00:00
iput-boolean p3, p0, Lcom/discord/views/video/VideoCallParticipantView;->p:Z
2019-12-06 03:29:40 +00:00
2019-12-21 01:41:59 +00:00
const/4 p2, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
move-result-object p1
invoke-virtual {p1, p2}, Lcom/discord/views/video/AppVideoStreamRenderer;->setIsOverlay(Z)V
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
move-result-object p1
2020-04-27 21:50:40 +00:00
iget-boolean p2, p0, Lcom/discord/views/video/VideoCallParticipantView;->p:Z
2019-12-21 01:41:59 +00:00
invoke-virtual {p1, p2}, Lcom/discord/views/video/AppVideoStreamRenderer;->setMatchVideoOrientation(Z)V
2019-10-23 04:50:18 +00:00
return-void
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string p1, "context"
2019-10-19 01:51:17 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-08-30 20:04:20 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method
.method public synthetic constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p5, p4, 0x2
if-eqz p5, :cond_0
const/4 p2, 0x0
:cond_0
and-int/lit8 p4, p4, 0x4
if-eqz p4, :cond_1
const/4 p3, 0x0
:cond_1
invoke-direct {p0, p1, p2, p3}, Lcom/discord/views/video/VideoCallParticipantView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
2020-04-17 19:35:49 +00:00
.method public static final synthetic a(Lcom/discord/views/video/VideoCallParticipantView;)Landroid/view/View;
.locals 0
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getBackgroundAvatar()Landroid/view/View;
move-result-object p0
return-object p0
.end method
2019-12-21 01:41:59 +00:00
.method public static final synthetic a(Lcom/discord/views/video/VideoCallParticipantView;Landroid/graphics/Point;)V
.locals 4
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const/4 v1, 0x0
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLetterbox()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2019-12-20 07:00:35 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const/16 v2, 0x8
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
move-result-object v0
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
move-result-object v0
invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V
2019-12-21 01:41:59 +00:00
iget v0, p1, Landroid/graphics/Point;->x:I
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
iget p1, p1, Landroid/graphics/Point;->y:I
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
if-le v0, p1, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
const/4 p1, 0x1
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
:cond_0
const/4 p1, 0x0
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
:goto_0
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
2019-07-24 11:27:29 +00:00
2019-12-21 01:41:59 +00:00
move-result v0
2019-12-12 08:58:10 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
move-result v3
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
if-le v0, v3, :cond_1
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
const/4 v0, 0x1
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
goto :goto_1
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
:cond_1
const/4 v0, 0x0
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
:goto_1
if-eq p1, v0, :cond_2
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
const/4 v1, 0x1
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
:cond_2
2020-04-27 21:50:40 +00:00
iget-boolean p1, p0, Lcom/discord/views/video/VideoCallParticipantView;->p:Z
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
if-eqz p1, :cond_3
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
if-eqz v1, :cond_3
2019-12-12 08:58:10 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getHeight()I
2019-12-12 08:58:10 +00:00
2019-12-21 01:41:59 +00:00
move-result p1
2019-12-12 08:58:10 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-12-12 08:58:10 +00:00
2019-12-18 07:41:41 +00:00
move-result-object v0
2019-12-12 08:58:10 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getWidth()I
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
move-result v1
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I
2019-12-18 07:41:41 +00:00
2020-04-07 08:23:55 +00:00
invoke-virtual {p0}, Landroid/view/ViewGroup;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
move-result-object p0
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
iput p1, p0, Landroid/view/ViewGroup$LayoutParams;->width:I
2019-12-18 07:41:41 +00:00
2019-12-21 01:41:59 +00:00
:cond_3
return-void
2019-12-12 08:58:10 +00:00
.end method
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
.method private final getApplicationStreamPaused()Landroid/view/View;
.locals 3
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->n:Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
const/16 v2, 0xa
2020-04-07 08:23:55 +00:00
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 getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
.locals 3
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->i:Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
const/4 v2, 0x5
2020-04-07 08:23:55 +00:00
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, Lcom/facebook/drawee/view/SimpleDraweeView;
return-object v0
.end method
.method private final getApplicationStreamPreviewText()Landroid/widget/TextView;
.locals 3
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->j:Lkotlin/properties/ReadOnlyProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
const/4 v2, 0x6
2020-04-07 08:23:55 +00:00
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/widget/TextView;
return-object v0
.end method
2020-04-17 19:35:49 +00:00
.method private final getBackgroundAvatar()Landroid/view/View;
2019-12-18 09:41:56 +00:00
.locals 3
2019-12-18 07:41:41 +00:00
2019-12-20 07:00:35 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->e:Lkotlin/properties/ReadOnlyProperty;
2019-12-18 07:41:41 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2019-12-18 07:41:41 +00:00
2019-12-20 07:00:35 +00:00
const/4 v2, 0x1
2019-12-18 07:41:41 +00:00
2019-12-18 09:41:56 +00:00
aget-object v1, v1, v2
2019-12-18 07:41:41 +00:00
2019-12-18 09:41:56 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-12-18 07:41:41 +00:00
2019-12-18 09:41:56 +00:00
move-result-object v0
2019-12-18 07:41:41 +00:00
2020-04-17 19:35:49 +00:00
check-cast v0, Landroid/view/View;
2019-12-18 07:41:41 +00:00
2019-12-18 09:41:56 +00:00
return-object v0
.end method
2019-12-18 07:41:41 +00:00
2020-04-27 21:50:40 +00:00
.method private final getDeafenStatusIndicator()Landroid/widget/ImageView;
2019-12-21 01:41:59 +00:00
.locals 3
2019-12-18 07:41:41 +00:00
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->l:Lkotlin/properties/ReadOnlyProperty;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
const/16 v2, 0x8
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
aget-object v1, v1, v2
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-12-20 07:00:35 +00:00
move-result-object v0
2020-04-27 21:50:40 +00:00
check-cast v0, Landroid/widget/ImageView;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
return-object v0
2019-12-18 07:41:41 +00:00
.end method
2019-12-13 02:35:12 +00:00
2020-04-27 21:50:40 +00:00
.method private final getLetterbox()Landroid/view/View;
2019-12-21 01:41:59 +00:00
.locals 3
2019-12-20 07:00:35 +00:00
2020-04-24 23:41:34 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->g:Lkotlin/properties/ReadOnlyProperty;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2019-12-20 07:00:35 +00:00
2020-04-24 23:41:34 +00:00
const/4 v2, 0x3
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
aget-object v1, v1, v2
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
move-result-object v0
2019-12-20 07:00:35 +00:00
2020-04-24 19:40:22 +00:00
check-cast v0, Landroid/view/View;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
return-object v0
.end method
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
.method private final getLiveIndicator()Landroid/widget/TextView;
2020-04-24 19:40:22 +00:00
.locals 3
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->m:Lkotlin/properties/ReadOnlyProperty;
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
const/16 v2, 0x9
2020-04-24 19:40:22 +00:00
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
2020-04-27 21:50:40 +00:00
check-cast v0, Landroid/widget/TextView;
2020-04-24 19:40:22 +00:00
return-object v0
.end method
2020-04-27 21:50:40 +00:00
.method private final getLoadingIndicator()Landroid/view/View;
2020-04-24 19:40:22 +00:00
.locals 3
2020-04-24 23:41:34 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->f:Lkotlin/properties/ReadOnlyProperty;
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2020-04-24 19:40:22 +00:00
2020-04-24 23:41:34 +00:00
const/4 v2, 0x2
2020-04-24 19:40:22 +00:00
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
2020-04-27 21:50:40 +00:00
check-cast v0, Landroid/view/View;
return-object v0
.end method
.method private final getMuteStatusIndicator()Landroid/widget/ImageView;
.locals 3
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->k:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
const/4 v2, 0x7
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
2020-04-24 23:41:34 +00:00
check-cast v0, Landroid/widget/ImageView;
2020-04-24 19:40:22 +00:00
return-object v0
.end method
2020-04-27 21:50:40 +00:00
.method private final getVideoLabel()Landroid/widget/TextView;
.locals 3
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->o:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
const/16 v2, 0xb
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/widget/TextView;
return-object v0
.end method
.method private final getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
.locals 3
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->h:Lkotlin/properties/ReadOnlyProperty;
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
const/4 v2, 0x4
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, Lcom/discord/views/video/AppVideoStreamRenderer;
return-object v0
.end method
2019-12-21 01:41:59 +00:00
.method private final getVoiceUserView()Lcom/discord/views/VoiceUserView;
.locals 3
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->d:Lkotlin/properties/ReadOnlyProperty;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView;->w:[Lkotlin/reflect/KProperty;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
const/4 v2, 0x0
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
aget-object v1, v1, v2
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
move-result-object v0
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
check-cast v0, Lcom/discord/views/VoiceUserView;
2019-12-20 07:00:35 +00:00
2019-12-21 01:41:59 +00:00
return-object v0
2019-12-20 07:00:35 +00:00
.end method
2019-12-18 09:41:56 +00:00
2019-12-21 01:41:59 +00:00
# virtual methods
2020-04-07 08:23:55 +00:00
.method public final getData()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
.locals 1
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
return-object v0
.end method
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
.method public getDataId()Ljava/lang/String;
.locals 1
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2020-04-07 08:23:55 +00:00
invoke-virtual {v0}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->getId()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public onBind(Lcom/discord/utilities/view/grid/FrameGridLayout$Data;)V
.locals 0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
check-cast p1, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
invoke-virtual {p0, p1}, Lcom/discord/views/video/VideoCallParticipantView;->set(Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;)V
return-void
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "data"
2019-10-23 04:50:18 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
2019-10-23 04:50:18 +00:00
2019-12-06 03:29:40 +00:00
throw p1
2019-10-23 04:50:18 +00:00
.end method
2020-04-17 19:35:49 +00:00
.method public onDetachedFromWindow()V
2020-04-27 21:50:40 +00:00
.locals 3
2020-04-17 19:35:49 +00:00
invoke-super {p0}, Landroid/view/ViewGroup;->onDetachedFromWindow()V
2020-04-27 21:50:40 +00:00
iget-object v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->t:Lrx/Subscription;
2020-04-17 19:35:49 +00:00
if-eqz v0, :cond_0
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
:cond_0
2020-04-27 21:50:40 +00:00
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->u:Z
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
move-result-object v1
const/4 v2, 0x0
invoke-virtual {v1, v2, v2, v2, v0}, Lcom/discord/views/video/AppVideoStreamRenderer;->a(Ljava/lang/Integer;Lorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Z)V
2020-04-17 19:35:49 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public onRemove()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-static {p0}, Lcom/discord/utilities/view/grid/FrameGridLayout$DataView$DefaultImpls;->onRemove(Lcom/discord/utilities/view/grid/FrameGridLayout$DataView;)V
return-void
.end method
2019-10-23 04:50:18 +00:00
.method public final set(Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;)V
2020-04-27 21:50:40 +00:00
.locals 11
2019-12-06 03:29:40 +00:00
.annotation build Landroidx/annotation/UiThread;
.end annotation
2019-10-23 04:50:18 +00:00
2020-04-07 08:23:55 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
if-eqz p1, :cond_0
2020-04-07 08:23:55 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->c()Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
2019-12-06 03:29:40 +00:00
2020-04-07 08:23:55 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_0
2020-04-07 08:23:55 +00:00
move-object v1, v0
2019-07-24 11:27:29 +00:00
:goto_0
2020-04-17 19:35:49 +00:00
if-eqz v1, :cond_2
2019-10-19 01:51:17 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVoiceUserView()Lcom/discord/views/VoiceUserView;
move-result-object v2
2020-04-27 21:50:40 +00:00
new-instance v3, Le/a/k/j0/i;
2020-04-17 19:35:49 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v3, v1}, Le/a/k/j0/i;-><init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;)V
2019-10-01 14:15:45 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v2, v3}, Lcom/discord/views/VoiceUserView;->setOnBitmapLoadedListener(Lkotlin/jvm/functions/Function1;)V
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVoiceUserView()Lcom/discord/views/VoiceUserView;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v2
2020-04-18 17:44:22 +00:00
const v3, 0x7f070057
2020-04-17 19:35:49 +00:00
invoke-virtual {v2, v1, v3}, Lcom/discord/views/VoiceUserView;->a(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
iget-object v2, p0, Lcom/discord/views/video/VideoCallParticipantView;->t:Lrx/Subscription;
2020-04-17 19:35:49 +00:00
if-eqz v2, :cond_1
invoke-interface {v2}, Lrx/Subscription;->unsubscribe()V
2019-07-24 11:27:29 +00:00
:cond_1
2020-04-17 19:35:49 +00:00
sget-object v2, Lcom/discord/widgets/voice/fullscreen/UserRepresentativeColors;->INSTANCE:Lcom/discord/widgets/voice/fullscreen/UserRepresentativeColors;
2020-04-07 08:23:55 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getUser()Lcom/discord/models/domain/ModelUser;
2020-04-17 19:35:49 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v3}, Lcom/discord/models/domain/ModelUser;->getId()J
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
move-result-wide v3
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v2, v3, v4}, Lcom/discord/widgets/voice/fullscreen/UserRepresentativeColors;->observeRepresentativeColorForUser(J)Lrx/Observable;
2019-10-11 21:55:41 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v2
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
sget-object v3, Le/a/k/j0/j;->d:Le/a/k/j0/j;
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {v2, v3}, Lrx/Observable;->l(Lf0/l/i;)Lrx/Observable;
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v2
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
new-instance v3, Le/a/k/j0/k;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v3, p0}, Le/a/k/j0/k;-><init>(Lcom/discord/views/video/VideoCallParticipantView;)V
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
invoke-virtual {v2, v3}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v2
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
iput-object v2, p0, Lcom/discord/views/video/VideoCallParticipantView;->t:Lrx/Subscription;
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
:cond_2
2020-04-07 08:23:55 +00:00
if-eqz v1, :cond_3
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getUser()Lcom/discord/models/domain/ModelUser;
2020-04-17 19:35:49 +00:00
move-result-object v2
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
:cond_3
2020-04-17 19:35:49 +00:00
move-object v2, v0
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
:goto_1
2020-04-18 17:44:22 +00:00
const/4 v3, 0x6
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
const/4 v4, 0x0
2019-07-24 11:27:29 +00:00
2020-04-18 17:44:22 +00:00
invoke-static {v2, v4, v0, v3, v0}, Lcom/discord/utilities/icon/IconUtils;->getForUser$default(Lcom/discord/models/domain/ModelUser;ZLjava/lang/Integer;ILjava/lang/Object;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
move-result-object v2
2020-04-27 21:50:40 +00:00
iget-object v3, p0, Lcom/discord/views/video/VideoCallParticipantView;->r:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v2, v3}, Lx/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-03-03 02:12:30 +00:00
2020-04-18 17:44:22 +00:00
move-result v3
2019-07-24 11:27:29 +00:00
2020-04-18 17:44:22 +00:00
const/4 v5, 0x1
2020-04-17 19:35:49 +00:00
2020-04-18 17:44:22 +00:00
xor-int/2addr v3, v5
2020-04-17 19:35:49 +00:00
2020-04-18 17:44:22 +00:00
if-eqz v3, :cond_4
2020-04-17 19:35:49 +00:00
2020-04-27 21:50:40 +00:00
iput-object v2, p0, Lcom/discord/views/video/VideoCallParticipantView;->r:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
:cond_4
if-eqz v1, :cond_5
2019-12-13 02:35:12 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->isMuted()Z
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
move-result v2
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_2
2019-07-24 11:27:29 +00:00
2020-04-07 08:23:55 +00:00
:cond_5
2020-04-17 19:35:49 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
:goto_2
2020-04-07 08:23:55 +00:00
if-eqz v1, :cond_6
2020-04-27 21:50:40 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->isDeafened()Z
2020-04-27 20:53:11 +00:00
2020-04-27 21:50:40 +00:00
move-result v3
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_3
2020-04-07 08:23:55 +00:00
:cond_6
2020-04-27 21:50:40 +00:00
const/4 v3, 0x0
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
:goto_3
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getMuteStatusIndicator()Landroid/widget/ImageView;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v6
const/16 v7, 0x8
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v2, :cond_7
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
const/4 v2, 0x0
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_4
2020-04-07 08:23:55 +00:00
:cond_7
2020-04-27 21:50:40 +00:00
const/16 v2, 0x8
:goto_4
invoke-virtual {v6, v2}, Landroid/view/View;->setVisibility(I)V
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getDeafenStatusIndicator()Landroid/widget/ImageView;
move-result-object v2
if-eqz v3, :cond_8
const/4 v3, 0x0
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_5
2020-04-07 08:23:55 +00:00
:cond_8
2020-04-27 21:50:40 +00:00
const/16 v3, 0x8
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
:goto_5
2020-04-27 21:50:40 +00:00
invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
iget-object v2, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v2, :cond_9
invoke-virtual {v2}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->h()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
move-result-object v2
if-eqz v2, :cond_9
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_6
2020-04-07 08:23:55 +00:00
:cond_9
2020-04-27 21:50:40 +00:00
sget-object v2, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;->DEFAULT:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
2020-04-07 08:23:55 +00:00
2020-04-17 19:35:49 +00:00
:goto_6
2020-04-27 21:50:40 +00:00
iget-object v3, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v3, :cond_a
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->d()Ljava/lang/Integer;
move-result-object v3
2020-04-24 23:41:34 +00:00
goto :goto_7
2020-04-25 00:39:25 +00:00
:cond_a
2020-04-27 21:50:40 +00:00
move-object v3, v0
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:goto_7
iput-object p1, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
if-eqz p1, :cond_b
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->d()Ljava/lang/Integer;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v6
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_8
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:cond_b
move-object v6, v0
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:goto_8
if-eqz p1, :cond_c
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->d()Ljava/lang/Integer;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v8
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_9
2020-04-07 08:23:55 +00:00
2020-04-25 00:39:25 +00:00
:cond_c
2020-04-27 21:50:40 +00:00
move-object v8, v0
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:goto_9
invoke-static {v8, v3}, Lx/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result v3
2019-12-21 01:41:59 +00:00
2020-04-27 21:50:40 +00:00
xor-int/2addr v3, v5
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v3, :cond_10
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v8, :cond_f
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLetterbox()Landroid/view/View;
2020-04-24 23:41:34 +00:00
2020-04-25 00:39:25 +00:00
move-result-object v3
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v8
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v8}, Landroid/view/View;->getVisibility()I
2019-12-21 01:41:59 +00:00
2020-04-27 21:50:40 +00:00
move-result v8
2019-12-21 01:41:59 +00:00
2020-04-27 21:50:40 +00:00
if-nez v8, :cond_d
const/4 v8, 0x1
goto :goto_a
:cond_d
const/4 v8, 0x0
:goto_a
xor-int/2addr v8, v5
if-eqz v8, :cond_e
const/4 v8, 0x0
2019-12-21 01:41:59 +00:00
2020-04-25 00:39:25 +00:00
goto :goto_b
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
:cond_e
const/16 v8, 0x8
2020-04-17 17:35:24 +00:00
2020-04-25 00:39:25 +00:00
:goto_b
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v8}, Landroid/view/View;->setVisibility(I)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_c
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:cond_f
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-12-21 01:41:59 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-12-21 01:41:59 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLetterbox()Landroid/view/View;
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
:cond_10
:goto_c
2020-04-27 21:50:40 +00:00
if-eqz p1, :cond_11
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->h()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
goto :goto_d
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
:cond_11
2020-04-27 21:50:40 +00:00
move-object v3, v0
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
:goto_d
2020-04-27 21:50:40 +00:00
sget-object v8, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;->APPLICATION_STREAMING:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-ne v3, v8, :cond_19
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getBackgroundAvatar()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-12-18 07:41:41 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVoiceUserView()Lcom/discord/views/VoiceUserView;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->a()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-nez v3, :cond_12
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
goto/16 :goto_10
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
:cond_12
sget-object v8, Le/a/k/j0/h;->a:[I
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result v3
2020-04-18 17:44:22 +00:00
2020-04-27 21:50:40 +00:00
aget v3, v8, v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-eq v3, v5, :cond_18
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const/4 v8, 0x2
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-eq v3, v8, :cond_17
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const/4 v8, 0x3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-eq v3, v8, :cond_14
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
const/4 v8, 0x4
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
if-eq v3, v8, :cond_13
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
goto/16 :goto_10
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
:cond_13
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPaused()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLiveIndicator()Landroid/widget/TextView;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
goto/16 :goto_10
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
:cond_14
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2020-04-24 23:41:34 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-27 20:53:11 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPaused()Landroid/view/View;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLiveIndicator()Landroid/widget/TextView;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
new-instance v8, Le/a/k/j0/l;
2020-03-03 02:12:30 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v8, p0, p1}, Le/a/k/j0/l;-><init>(Lcom/discord/views/video/VideoCallParticipantView;Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;)V
2020-03-03 02:12:30 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v8}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->c()Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getStreamContext()Lcom/discord/utilities/streams/StreamContext;
2019-10-11 21:55:41 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v3, :cond_15
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/utilities/streams/StreamContext;->getPreview()Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_e
2019-10-11 21:55:41 +00:00
2020-04-27 21:50:40 +00:00
:cond_15
move-object v3, v0
2019-10-11 21:55:41 +00:00
2020-04-27 21:50:40 +00:00
:goto_e
instance-of v8, v3, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v8, :cond_16
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v8
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
check-cast v3, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/stores/StoreApplicationStreamPreviews$StreamPreview$Resolved;->getUrl()Ljava/lang/String;
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v8, v3}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Ljava/lang/String;)V
2019-12-12 08:58:10 +00:00
2020-04-27 21:50:40 +00:00
goto/16 :goto_10
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
:cond_16
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v0}, Lcom/facebook/drawee/view/SimpleDraweeView;->setImageURI(Ljava/lang/String;)V
2019-10-23 04:50:18 +00:00
2020-04-27 21:50:40 +00:00
goto/16 :goto_10
2019-12-18 07:41:41 +00:00
2020-04-27 21:50:40 +00:00
:cond_17
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2019-12-20 07:00:35 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPaused()Landroid/view/View;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLiveIndicator()Landroid/widget/TextView;
move-result-object v3
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
goto :goto_10
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
:cond_18
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLoadingIndicator()Landroid/view/View;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPaused()Landroid/view/View;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLiveIndicator()Landroid/widget/TextView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_10
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:cond_19
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewImage()Lcom/facebook/drawee/view/SimpleDraweeView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPreviewText()Landroid/widget/TextView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getApplicationStreamPaused()Landroid/view/View;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v6, :cond_1a
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getBackgroundAvatar()Landroid/view/View;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVoiceUserView()Lcom/discord/views/VoiceUserView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_f
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
:cond_1a
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getBackgroundAvatar()Landroid/view/View;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVoiceUserView()Lcom/discord/views/VoiceUserView;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:goto_f
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getLiveIndicator()Landroid/widget/TextView;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
:goto_10
iget-object v3, p0, Lcom/discord/views/video/VideoCallParticipantView;->v:Lrx/Subscription;
2020-04-07 08:23:55 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v3, :cond_1b
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-interface {v3}, Lrx/Subscription;->unsubscribe()V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:cond_1b
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/views/video/AppVideoStreamRenderer;->b()Lrx/Observable;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
sget-object v8, Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$1;->INSTANCE:Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$1;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v8}, Lrx/Observable;->c(Lf0/l/i;)Lrx/Observable;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
sget-object v8, Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$2;->INSTANCE:Lcom/discord/utilities/rx/ObservableExtensionsKt$filterNull$2;
2019-07-24 11:27:29 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v8}, Lrx/Observable;->f(Lf0/l/i;)Lrx/Observable;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
const-string v8, "filter { it != null }.map { it!! }"
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-static {v3, v8}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
new-instance v8, Le/a/k/j0/m;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v8, p0}, Le/a/k/j0/m;-><init>(Lcom/discord/views/video/VideoCallParticipantView;)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v8}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
iput-object v3, p0, Lcom/discord/views/video/VideoCallParticipantView;->v:Lrx/Subscription;
2020-04-17 17:35:24 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
if-eqz p1, :cond_1c
2020-04-17 17:35:24 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->e()Lorg/webrtc/RendererCommon$ScalingType;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v8
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_11
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:cond_1c
move-object v8, v0
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:goto_11
if-eqz p1, :cond_1d
2020-04-17 17:35:24 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->f()Lorg/webrtc/RendererCommon$ScalingType;
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v9
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_12
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:cond_1d
move-object v9, v0
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:goto_12
if-eqz p1, :cond_1e
2020-04-17 17:35:24 +00:00
2020-04-27 20:53:11 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->b()Z
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
move-result v10
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_13
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:cond_1e
const/4 v10, 0x0
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
:goto_13
invoke-virtual {v3, v6, v8, v9, v10}, Lcom/discord/views/video/AppVideoStreamRenderer;->a(Ljava/lang/Integer;Lorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Z)V
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
iget-object v3, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
if-eqz v3, :cond_1f
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->h()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
2020-04-24 19:40:22 +00:00
2020-04-27 20:53:11 +00:00
move-result-object v0
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
:cond_1f
if-eqz v0, :cond_21
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
if-eq v0, v2, :cond_21
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
sget-object v2, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;->DEFAULT:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
if-ne v0, v2, :cond_20
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
new-instance v0, Landroidx/constraintlayout/widget/ConstraintSet;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v0}, Landroidx/constraintlayout/widget/ConstraintSet;-><init>()V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, p0}, Landroidx/constraintlayout/widget/ConstraintSet;->clone(Landroidx/constraintlayout/widget/ConstraintLayout;)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
new-instance v2, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v2, v4, v4}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(II)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v2}, Landroid/view/SurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v2
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v2}, Landroid/view/SurfaceView;->getId()I
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
move-result v2
2020-04-24 19:40:22 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, v2, v4}, Landroidx/constraintlayout/widget/ConstraintSet;->constrainDefaultHeight(II)V
2020-04-17 17:35:24 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v2
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v2}, Landroid/view/SurfaceView;->getId()I
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result v2
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, v2, v4}, Landroidx/constraintlayout/widget/ConstraintSet;->constrainDefaultWidth(II)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, p0}, Landroidx/constraintlayout/widget/ConstraintSet;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout;)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
goto :goto_14
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
:cond_20
new-instance v0, Landroidx/constraintlayout/widget/ConstraintSet;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v0}, Landroidx/constraintlayout/widget/ConstraintSet;-><init>()V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, p0}, Landroidx/constraintlayout/widget/ConstraintSet;->clone(Landroidx/constraintlayout/widget/ConstraintLayout;)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
new-instance v2, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
const/4 v3, -0x2
2020-04-17 17:35:24 +00:00
2020-04-27 21:50:40 +00:00
invoke-direct {v2, v3, v3}, Landroidx/constraintlayout/widget/ConstraintLayout$LayoutParams;-><init>(II)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v3
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v3, v2}, Landroid/view/SurfaceView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v2
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v2}, Landroid/view/SurfaceView;->getId()I
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result v2
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, v2, v5}, Landroidx/constraintlayout/widget/ConstraintSet;->constrainDefaultHeight(II)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoStreamRenderer()Lcom/discord/views/video/AppVideoStreamRenderer;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v2
invoke-virtual {v2}, Landroid/view/SurfaceView;->getId()I
move-result v2
invoke-virtual {v0, v2, v5}, Landroidx/constraintlayout/widget/ConstraintSet;->constrainDefaultWidth(II)V
invoke-virtual {v0, p0}, Landroidx/constraintlayout/widget/ConstraintSet;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout;)V
:cond_21
:goto_14
if-eqz v1, :cond_25
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoLabel()Landroid/widget/TextView;
2020-04-25 00:39:25 +00:00
move-result-object v0
2020-04-27 21:50:40 +00:00
invoke-virtual {v1}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getDisplayName()Ljava/lang/String;
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
move-result-object v1
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
2020-04-25 00:39:25 +00:00
2020-04-27 21:50:40 +00:00
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->h()Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
move-result-object v0
sget-object v1, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;->APPLICATION_STREAMING:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData$Type;
if-ne v0, v1, :cond_22
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoLabel()Landroid/widget/TextView;
move-result-object v0
2020-04-27 22:57:54 +00:00
const v1, 0x7f0803f8
2020-04-27 21:50:40 +00:00
invoke-virtual {v0, v1, v4, v4, v4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V
goto :goto_15
:cond_22
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoLabel()Landroid/widget/TextView;
move-result-object v0
invoke-virtual {v0, v4, v4, v4, v4}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V
2020-04-25 00:39:25 +00:00
2020-04-27 20:53:11 +00:00
:goto_15
2020-04-27 21:50:40 +00:00
iget-boolean v0, p0, Lcom/discord/views/video/VideoCallParticipantView;->u:Z
if-eqz v0, :cond_23
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoLabel()Landroid/widget/TextView;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->g()Z
move-result p1
const-wide/16 v1, 0xc8
invoke-static {v0, p1, v1, v2}, Lcom/discord/utilities/view/extensions/ViewExtensions;->fadeBy(Landroid/view/View;ZJ)V
goto :goto_17
:cond_23
invoke-direct {p0}, Lcom/discord/views/video/VideoCallParticipantView;->getVideoLabel()Landroid/widget/TextView;
move-result-object v0
invoke-virtual {p1}, Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;->g()Z
move-result p1
if-eqz p1, :cond_24
goto :goto_16
:cond_24
const/16 v4, 0x8
:goto_16
invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V
iput-boolean v5, p0, Lcom/discord/views/video/VideoCallParticipantView;->u:Z
:cond_25
:goto_17
2019-07-24 11:27:29 +00:00
return-void
.end method
2020-04-07 08:23:55 +00:00
.method public final setData(Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;)V
2019-07-24 11:27:29 +00:00
.locals 0
2020-04-27 21:50:40 +00:00
iput-object p1, p0, Lcom/discord/views/video/VideoCallParticipantView;->q:Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;
2019-07-24 11:27:29 +00:00
return-void
.end method
2020-04-17 17:35:24 +00:00
.method public final setOnWatchStreamClicked(Lkotlin/jvm/functions/Function1;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function1<",
"-",
"Ljava/lang/String;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
if-eqz p1, :cond_0
2020-04-27 21:50:40 +00:00
iput-object p1, p0, Lcom/discord/views/video/VideoCallParticipantView;->s:Lkotlin/jvm/functions/Function1;
2020-04-17 17:35:24 +00:00
return-void
:cond_0
const-string p1, "onWatchStreamClicked"
2020-04-27 20:53:11 +00:00
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
2020-04-17 17:35:24 +00:00
const/4 p1, 0x0
throw p1
.end method