758 lines
23 KiB
Smali
758 lines
23 KiB
Smali
.class public final Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;
|
|
.super Ljava/lang/Object;
|
|
.source "VideoCallParticipantView.kt"
|
|
|
|
# interfaces
|
|
.implements Lcom/discord/utilities/view/grid/FrameGridLayout$Data;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/views/calls/VideoCallParticipantView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "ParticipantData"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;,
|
|
Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/String;
|
|
|
|
.field public final b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
.field public final c:Z
|
|
|
|
.field public final d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
.field public final e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
.field public final f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
.field public final g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
.field public final h:Z
|
|
|
|
.field public final i:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;ZLorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;ZZ)V
|
|
.locals 1
|
|
|
|
const-string v0, "participant"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string/jumbo v0, "type"
|
|
|
|
invoke-static {p6, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
iput-boolean p2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
iput-object p3, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iput-object p4, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iput-object p5, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
iput-object p6, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
iput-boolean p7, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
iput-boolean p8, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget-object p2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {p2}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getUser()Lcom/discord/models/domain/ModelUser;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Lcom/discord/models/domain/ModelUser;->getId()J
|
|
|
|
move-result-wide p2
|
|
|
|
invoke-virtual {p1, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
iget-object p2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->a:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;ZLorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;ZZI)V
|
|
.locals 12
|
|
|
|
move/from16 v0, p9
|
|
|
|
and-int/lit8 v1, v0, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v5, p2
|
|
|
|
:goto_0
|
|
and-int/lit8 v1, v0, 0x4
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
sget-object v1, Lorg/webrtc/RendererCommon$ScalingType;->SCALE_ASPECT_BALANCED:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
move-object v6, v1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-object v6, p3
|
|
|
|
:goto_1
|
|
and-int/lit8 v1, v0, 0x8
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
sget-object v1, Lorg/webrtc/RendererCommon$ScalingType;->SCALE_ASPECT_FIT:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
move-object v7, v1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object/from16 v7, p4
|
|
|
|
:goto_2
|
|
and-int/lit8 v1, v0, 0x10
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move-object v8, v1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object/from16 v8, p5
|
|
|
|
:goto_3
|
|
and-int/lit8 v1, v0, 0x20
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
sget-object v1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;->DEFAULT:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
move-object v9, v1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move-object/from16 v9, p6
|
|
|
|
:goto_4
|
|
and-int/lit8 v1, v0, 0x40
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
const/4 v10, 0x0
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move/from16 v10, p7
|
|
|
|
:goto_5
|
|
and-int/lit16 v0, v0, 0x80
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v11, 0x0
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
move/from16 v11, p8
|
|
|
|
:goto_6
|
|
move-object v3, p0
|
|
|
|
move-object v4, p1
|
|
|
|
invoke-direct/range {v3 .. v11}, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;-><init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;ZLorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;ZZ)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;ZLorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;ZZI)Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;
|
|
.locals 9
|
|
|
|
move-object v0, p0
|
|
|
|
move/from16 v1, p9
|
|
|
|
and-int/lit8 v2, v1, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
iget-object v2, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object v2, v3
|
|
|
|
:goto_0
|
|
and-int/lit8 v4, v1, 0x2
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iget-boolean v4, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v4, p2
|
|
|
|
:goto_1
|
|
and-int/lit8 v5, v1, 0x4
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
iget-object v5, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move-object v5, p3
|
|
|
|
:goto_2
|
|
and-int/lit8 v6, v1, 0x8
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
iget-object v6, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-object v6, p4
|
|
|
|
:goto_3
|
|
and-int/lit8 v7, v1, 0x10
|
|
|
|
if-eqz v7, :cond_4
|
|
|
|
iget-object v7, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move-object v7, v3
|
|
|
|
:goto_4
|
|
and-int/lit8 v8, v1, 0x20
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
iget-object v3, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
:cond_5
|
|
and-int/lit8 v8, v1, 0x40
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
iget-boolean v8, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
move/from16 v8, p7
|
|
|
|
:goto_5
|
|
and-int/lit16 v1, v1, 0x80
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
iget-boolean v0, v0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
move/from16 v0, p8
|
|
|
|
:goto_6
|
|
const-string v1, "participant"
|
|
|
|
invoke-static {v2, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string/jumbo v1, "type"
|
|
|
|
invoke-static {v3, v1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;
|
|
|
|
move-object p0, v1
|
|
|
|
move-object p1, v2
|
|
|
|
move p2, v4
|
|
|
|
move-object p3, v5
|
|
|
|
move-object p4, v6
|
|
|
|
move-object p5, v7
|
|
|
|
move-object p6, v3
|
|
|
|
move/from16 p7, v8
|
|
|
|
move/from16 p8, v0
|
|
|
|
invoke-direct/range {p0 .. p8}, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;-><init>(Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;ZLorg/webrtc/RendererCommon$ScalingType;Lorg/webrtc/RendererCommon$ScalingType;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;ZZ)V
|
|
|
|
return-object v1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final b()Ljava/lang/Integer;
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
if-ne v0, v2, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
sget-object v3, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;->CONNECTING:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
if-eq v0, v3, :cond_0
|
|
|
|
sget-object v3, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;->ACTIVE:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
if-eq v0, v3, :cond_0
|
|
|
|
sget-object v3, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;->PAUSED:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
if-ne v0, v3, :cond_3
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getVoiceState()Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelVoice$State;->isSelfStream()Z
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v2, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getApplicationStreamId()Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance v0, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {v0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getVoiceState()Lcom/discord/models/domain/ModelVoice$State;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/domain/ModelVoice$State;->isSelfVideo()Z
|
|
|
|
move-result v0
|
|
|
|
if-ne v0, v2, :cond_3
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->getCallStreamId()Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public createView(Landroid/content/Context;)Landroid/view/View;
|
|
.locals 4
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lcom/discord/views/calls/VideoCallParticipantView;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x6
|
|
|
|
invoke-direct {v0, p1, v1, v2, v3}, Lcom/discord/views/calls/VideoCallParticipantView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
iget-object v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iget-object v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
iget-object v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
iget-object v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
iget-object v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
invoke-static {v0, v1}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
iget-boolean p1, p1, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public getId()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
const/4 v2, 0x0
|
|
|
|
:goto_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_5
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
if-eqz v1, :cond_6
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:cond_6
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_7
|
|
move v3, v1
|
|
|
|
:goto_4
|
|
add-int/2addr v0, v3
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, "ParticipantData(participant="
|
|
|
|
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->b:Lcom/discord/stores/StoreVoiceParticipants$VoiceUser;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", mirrorVideo="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->c:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", scalingType="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->d:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", scalingTypeMismatchOrientation="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->e:Lorg/webrtc/RendererCommon$ScalingType;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", applicationStreamState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->f:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$ApplicationStreamState;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", type="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->g:Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData$Type;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", showLabel="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->h:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isFocused="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/views/calls/VideoCallParticipantView$ParticipantData;->i:Z
|
|
|
|
const-string v2, ")"
|
|
|
|
invoke-static {v0, v1, v2}, Lf/e/c/a/a;->A(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|