RoomFloatWindowService$a.smali
.class public final Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;
.super Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "a"
.end annotation
# instance fields
.field a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
.field final synthetic b:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
.field private c:Z
.field private d:Z
# direct methods
.method constructor <init>(Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;)V
.registers 3
.line 442
iput-object p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->b:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
invoke-direct {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;-><init>()V
const/4 p1, 0x0
.line 469
iput-boolean p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->c:Z
.line 470
iput-boolean p1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->d:Z
.line 443
iput-object p2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
return-void
.end method
# virtual methods
.method public final a(I)I
.registers 5
.line 458
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
const-string v1, "FloatWindowRoomAdapter"
if-eqz v0, :cond_18
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-nez v0, :cond_18
const-string v0, "use old room adapter"
.line 459
invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 460
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0, p1}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->a(I)I
move-result p1
return p1
.line 462
:cond_18
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->e()Z
move-result v0
if-nez v0, :cond_2a
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z
move-result v0
if-eqz v0, :cond_25
goto :goto_2a
.line 466
:cond_25
invoke-super {p0, p1}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->a(I)I
move-result p1
return p1
.line 463
:cond_2a
:goto_2a
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
const-string v2, "FloatWindowPKMode: micSeatToMultiViewId, micSeatNum: "
invoke-virtual {v2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 464
invoke-virtual {p0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a()[I
move-result-object v0
rem-int/lit8 p1, p1, 0x2
aget p1, v0, p1
return p1
.end method
.method public final a()[I
.registers 3
const-string v0, "FloatWindowRoomAdapter"
const-string v1, "getMCHILDIDS"
.line 448
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 449
iget-object v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
if-eqz v1, :cond_1d
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v1
if-nez v1, :cond_1d
const-string v1, "use old room adapter"
.line 450
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 451
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->a()[I
move-result-object v0
return-object v0
.line 453
:cond_1d
invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->a()[I
move-result-object v0
return-object v0
.end method
.method public final b()Z
.registers 5
.line 475
iget-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->c:Z
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->j()Z
move-result v1
const/4 v2, 0x0
const/4 v3, 0x1
if-eq v0, v1, :cond_12
.line 477
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->j()Z
move-result v0
iput-boolean v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->c:Z
const/4 v0, 0x1
goto :goto_13
:cond_12
const/4 v0, 0x0
.line 479
:goto_13
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->e()Z
move-result v1
if-nez v1, :cond_1f
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z
move-result v1
if-eqz v1, :cond_20
:cond_1f
const/4 v2, 0x1
.line 480
:cond_20
iget-boolean v1, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->d:Z
if-eq v1, v2, :cond_27
.line 482
iput-boolean v2, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->d:Z
const/4 v0, 0x1
:cond_27
if-eqz v0, :cond_2a
return v3
.line 487
:cond_2a
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
if-eqz v0, :cond_42
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-nez v0, :cond_42
const-string v0, "FloatWindowRoomAdapter"
const-string v1, "use old room adapter"
.line 488
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 489
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->b()Z
move-result v0
return v0
.line 491
:cond_42
invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->b()Z
move-result v0
return v0
.end method
.method public final c()V
.registers 5
.line 496
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
if-eqz v0, :cond_16
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-nez v0, :cond_16
const-string v0, "FloatWindowRoomAdapter"
const-string v1, "use old room adapter"
.line 497
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 498
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->c()V
.line 500
:cond_16
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->e()Z
move-result v0
if-nez v0, :cond_27
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z
move-result v0
if-eqz v0, :cond_23
goto :goto_27
.line 508
:cond_23
invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->c()V
return-void
.line 502
:cond_27
:goto_27
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->b:Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;
invoke-virtual {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->p()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;
move-result-object v0
const/4 v1, 0x1
invoke-virtual {p0, v1}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a(I)I
move-result v2
invoke-virtual {v0, v2}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->b(I)Lsg/bigo/live/support64/micconnect/multi/view/c;
move-result-object v0
if-eqz v0, :cond_46
.line 504
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->c()J
move-result-wide v2
invoke-interface {v0, v1, v2, v3}, Lsg/bigo/live/support64/micconnect/multi/view/c;->a(IJ)V
.line 505
invoke-static {v1}, Lsg/bigo/live/support64/micconnect/multi/a;->a(I)Z
move-result v1
invoke-interface {v0, v1}, Lsg/bigo/live/support64/micconnect/multi/view/c;->a(Z)V
:cond_46
return-void
.end method
.method public final d()Ljava/util/List;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.line 515
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
if-eqz v0, :cond_18
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-nez v0, :cond_18
const-string v0, "FloatWindowRoomAdapter"
const-string v1, "use old room adapter"
.line 516
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 517
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->d()Ljava/util/List;
move-result-object v0
return-object v0
.line 519
:cond_18
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->e()Z
move-result v0
if-nez v0, :cond_2a
invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z
move-result v0
if-eqz v0, :cond_25
goto :goto_2a
.line 522
:cond_25
invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->d()Ljava/util/List;
move-result-object v0
return-object v0
:cond_2a
:goto_2a
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Integer;
const/4 v1, 0x0
.line 520
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v0, v1
const/4 v1, 0x1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v0, v1
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
return-object v0
.end method
.method public final e()I
.registers 3
.line 528
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-eqz v0, :cond_16
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v0
invoke-virtual {v0}, Lsg/bigo/live/support64/o;->E()I
move-result v0
const/4 v1, 0x5
if-eq v0, v1, :cond_12
goto :goto_16
:cond_12
const v0, 0x7d0a0059
return v0
.line 529
:cond_16
:goto_16
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
if-eqz v0, :cond_2e
invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z
move-result v0
if-nez v0, :cond_2e
const-string v0, "FloatWindowRoomAdapter"
const-string v1, "use old room adapter"
.line 530
invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 531
iget-object v0, p0, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService$a;->a:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->e()I
move-result v0
return v0
.line 533
:cond_2e
invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->e()I
move-result v0
return v0
.end method