652 lines
22 KiB
Smali
652 lines
22 KiB
Smali
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
.super Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState;
|
|
.source "WidgetGuildCallViewModel.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Valid"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
.field public final cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
.field public final displayMode:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
.field public final isShowingControls:Z
|
|
|
|
.field public final isSwitchCameraButtonVisible:Z
|
|
|
|
.field public final overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
.field public final visibleVideoParticipants:Ljava/util/List;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/model/CallModel;Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;Ljava/util/List;ZZLcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/widgets/voice/model/CallModel;",
|
|
"Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;",
|
|
">;ZZ",
|
|
"Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
if-eqz p6, :cond_2
|
|
|
|
invoke-direct {p0, v0}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
iput-object p3, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
iput-boolean p4, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
iput-boolean p5, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
iput-object p6, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result p1
|
|
|
|
xor-int/lit8 p1, p1, 0x1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
sget-object p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;->VIDEO:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/voice/model/CallModel;->isEmptyVoiceChannel()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
sget-object p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;->VOICE_ONLY:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;->EMPTY:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
:goto_0
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->displayMode:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
const-string p1, "cameraState"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p1, "visibleVideoParticipants"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_4
|
|
const-string p1, "overlayStatus"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
const-string p1, "callModel"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;Lcom/discord/widgets/voice/model/CallModel;Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;Ljava/util/List;ZZLcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;ILjava/lang/Object;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
.locals 4
|
|
|
|
and-int/lit8 p8, p7, 0x1
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
:cond_0
|
|
and-int/lit8 p8, p7, 0x2
|
|
|
|
if-eqz p8, :cond_1
|
|
|
|
iget-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
:cond_1
|
|
move-object p8, p2
|
|
|
|
and-int/lit8 p2, p7, 0x4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget-object p3, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
:cond_2
|
|
move-object v0, p3
|
|
|
|
and-int/lit8 p2, p7, 0x8
|
|
|
|
if-eqz p2, :cond_3
|
|
|
|
iget-boolean p4, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
:cond_3
|
|
move v1, p4
|
|
|
|
and-int/lit8 p2, p7, 0x10
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget-boolean p5, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
:cond_4
|
|
move v2, p5
|
|
|
|
and-int/lit8 p2, p7, 0x20
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
iget-object p6, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
:cond_5
|
|
move-object v3, p6
|
|
|
|
move-object p2, p0
|
|
|
|
move-object p3, p1
|
|
|
|
move-object p4, p8
|
|
|
|
move-object p5, v0
|
|
|
|
move p6, v1
|
|
|
|
move p7, v2
|
|
|
|
move-object p8, v3
|
|
|
|
invoke-virtual/range {p2 .. p8}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->copy(Lcom/discord/widgets/voice/model/CallModel;Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;Ljava/util/List;ZZLcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()Lcom/discord/widgets/voice/model/CallModel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component2()Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component3()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final component4()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component5()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component6()Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(Lcom/discord/widgets/voice/model/CallModel;Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;Ljava/util/List;ZZLcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;)Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/discord/widgets/voice/model/CallModel;",
|
|
"Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;",
|
|
">;ZZ",
|
|
"Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;",
|
|
")",
|
|
"Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
new-instance v0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
|
|
move-object v1, v0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-object v4, p3
|
|
|
|
move v5, p4
|
|
|
|
move v6, p5
|
|
|
|
move-object v7, p6
|
|
|
|
invoke-direct/range {v1 .. v7}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;-><init>(Lcom/discord/widgets/voice/model/CallModel;Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;Ljava/util/List;ZZLcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
const-string p1, "cameraState"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
const-string p1, "visibleVideoParticipants"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
const-string p1, "overlayStatus"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_3
|
|
const-string p1, "callModel"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
instance-of v0, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
iget-object v1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
invoke-static {v0, v1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
iget-boolean v1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
iget-object p1, p1, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
invoke-static {v0, p1}, Ly/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz 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 final getCallModel()Lcom/discord/widgets/voice/model/CallModel;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getCameraState()Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getDisplayMode()Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->displayMode:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$DisplayMode;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getOverlayStatus()Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getVisibleVideoParticipants()Ljava/util/List;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/List<",
|
|
"Lcom/discord/views/video/VideoCallParticipantView$ParticipantData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/model/CallModel;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v2, 0x0
|
|
|
|
:goto_1
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v2, 0x0
|
|
|
|
:goto_2
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
const/4 v3, 0x1
|
|
|
|
if-eqz v2, :cond_3
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_3
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-boolean v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
const/4 v2, 0x1
|
|
|
|
:cond_4
|
|
add-int/2addr v0, v2
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v1
|
|
|
|
:cond_5
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isShowingControls()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final isSwitchCameraButtonVisible()Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
const-string v0, "Valid(callModel="
|
|
|
|
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->callModel:Lcom/discord/widgets/voice/model/CallModel;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", overlayStatus="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->overlayStatus:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$OverlayStatus;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", visibleVideoParticipants="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->visibleVideoParticipants:Ljava/util/List;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isShowingControls="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isShowingControls:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", isSwitchCameraButtonVisible="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-boolean v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->isSwitchCameraButtonVisible:Z
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", cameraState="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$ViewState$Valid;->cameraState:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallViewModel$CameraState;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|