OwnerAbsentComponent.smali
.class public Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/live/support64/component/roomwidget/ownerabsent/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/core/component/AbstractComponent<",
"Lsg/bigo/core/mvp/presenter/a;",
"Lsg/bigo/core/component/a/b;",
"Lsg/bigo/live/support64/component/a;",
">;",
"Lsg/bigo/live/support64/component/roomwidget/ownerabsent/a;"
}
.end annotation
# instance fields
.field private final a:Lsg/bigo/live/support64/widget/AbsentMarker;
.field private b:Lsg/bigo/live/support64/h;
# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;)V
.registers 3
.line 59
invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V
.line 31
new-instance p1, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent$1;
invoke-direct {p1, p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent$1;-><init>(Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;)V
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->b:Lsg/bigo/live/support64/h;
.line 60
new-instance p1, Lsg/bigo/live/support64/widget/AbsentMarker;
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
invoke-interface {v0}, Lsg/bigo/live/support64/component/a;->n()Landroid/widget/FrameLayout;
move-result-object v0
invoke-direct {p1, v0}, Lsg/bigo/live/support64/widget/AbsentMarker;-><init>(Landroid/view/ViewGroup;)V
iput-object p1, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->a:Lsg/bigo/live/support64/widget/AbsentMarker;
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;)V
.registers 1
.line 26
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->c()V
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;Z)V
.registers 4
.line 3136
new-instance v0, Lsg/bigo/live/support64/component/chat/k;
invoke-direct {v0}, Lsg/bigo/live/support64/component/chat/k;-><init>()V
const-string v1, ""
.line 4058
iput-object v1, v0, Lsg/bigo/live/support64/component/chat/k;->a:Ljava/lang/String;
if-eqz p1, :cond_d
const/4 p1, 0x4
goto :goto_e
:cond_d
const/4 p1, 0x5
.line 4063
:goto_e
iput p1, v0, Lsg/bigo/live/support64/component/chat/k;->b:I
const/4 p1, 0x0
.line 4073
iput-boolean p1, v0, Lsg/bigo/live/support64/component/chat/k;->d:Z
const/4 p1, 0x1
.line 4078
iput-boolean p1, v0, Lsg/bigo/live/support64/component/chat/k;->e:Z
.line 3141
iget-object p0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->h:Lsg/bigo/core/component/c/a;
check-cast p0, Lsg/bigo/live/support64/component/a;
invoke-interface {p0}, Lsg/bigo/live/support64/component/a;->getComponent()Lsg/bigo/core/component/b/d;
move-result-object p0
const-class p1, Lsg/bigo/live/support64/component/chat/h;
invoke-interface {p0, p1}, Lsg/bigo/core/component/b/d;->b(Ljava/lang/Class;)Lsg/bigo/core/component/b/b;
move-result-object p0
check-cast p0, Lsg/bigo/live/support64/component/chat/h;
if-eqz p0, :cond_2b
.line 3143
invoke-interface {p0, v0}, Lsg/bigo/live/support64/component/chat/h;->a(Lsg/bigo/live/support64/component/chat/k;)V
:cond_2b
return-void
.end method
.method private c()V
.registers 2
.line 98
new-instance v0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/-$$Lambda$OwnerAbsentComponent$SuAcR-AAYu6-kw2z6yp_QbDaycI;
invoke-direct {v0, p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/-$$Lambda$OwnerAbsentComponent$SuAcR-AAYu6-kw2z6yp_QbDaycI;-><init>(Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;)V
invoke-static {v0}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V
return-void
.end method
.method private synthetic d()V
.registers 7
.line 99
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;->z()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_82
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;->r()Z
move-result v0
if-eqz v0, :cond_82
.line 1109
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 v2, 0x5
if-ne v0, v2, :cond_6d
.line 1110
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->a:Lsg/bigo/live/support64/widget/AbsentMarker;
iget-object v1, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v1, Lsg/bigo/live/support64/component/a;
invoke-interface {v1}, Lsg/bigo/live/support64/component/a;->m()Lsg/bigo/live/support64/widget/LiveGLSurfaceView;
move-result-object v1
if-eqz v1, :cond_6c
.line 3039
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v2
invoke-virtual {v2}, Lsg/bigo/live/support64/o;->g()Z
move-result v2
.line 3040
iget-object v3, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->b:Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;
if-nez v3, :cond_6c
.line 3042
iget-object v3, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->a:Landroid/view/ViewGroup;
instance-of v3, v3, Landroid/widget/FrameLayout;
const/4 v4, -0x1
if-eqz v3, :cond_45
.line 3043
new-instance v3, Landroid/widget/FrameLayout$LayoutParams;
invoke-direct {v3, v4, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V
goto :goto_4a
.line 3045
:cond_45
new-instance v3, Landroid/view/ViewGroup$MarginLayoutParams;
invoke-direct {v3, v4, v4}, Landroid/view/ViewGroup$MarginLayoutParams;-><init>(II)V
.line 3047
:goto_4a
new-instance v4, Lsg/bigo/live/support64/widget/AbsentMarker$NormalAbsentView;
iget-object v5, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->a:Landroid/view/ViewGroup;
invoke-virtual {v5}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v5
invoke-direct {v4, v5}, Lsg/bigo/live/support64/widget/AbsentMarker$NormalAbsentView;-><init>(Landroid/content/Context;)V
iput-object v4, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->b:Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;
.line 3048
iget-object v4, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->b:Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;
invoke-virtual {v4, v3}, Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
.line 3049
iget-object v3, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->b:Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;
iget-object v0, v0, Lsg/bigo/live/support64/widget/AbsentMarker;->a:Landroid/view/ViewGroup;
invoke-virtual {v3, v0}, Lsg/bigo/live/support64/widget/AbsentMarker$AbsentView;->a(Landroid/view/ViewGroup;)V
if-eqz v1, :cond_6c
if-eqz v2, :cond_6c
const/16 v0, 0x8
.line 3051
invoke-virtual {v1, v0}, Landroid/opengl/GLSurfaceView;->setVisibility(I)V
:cond_6c
return-void
.line 1112
:cond_6d
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->a:Lsg/bigo/live/support64/widget/AbsentMarker;
iget-object v2, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v2, Lsg/bigo/live/support64/component/a;
invoke-interface {v2}, Lsg/bigo/live/support64/component/a;->m()Lsg/bigo/live/support64/widget/LiveGLSurfaceView;
move-result-object v2
invoke-virtual {v0, v2}, Lsg/bigo/live/support64/widget/AbsentMarker;->a(Landroid/opengl/GLSurfaceView;)V
.line 1113
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->f:Lsg/bigo/core/component/a/d;
sget-object v2, Lsg/bigo/live/support64/component/liveviewer/a;->REFRESH_MULTI:Lsg/bigo/live/support64/component/liveviewer/a;
invoke-interface {v0, v2, v1}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
return-void
.line 3131
:cond_82
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->a:Lsg/bigo/live/support64/widget/AbsentMarker;
iget-object v2, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v2, Lsg/bigo/live/support64/component/a;
invoke-interface {v2}, Lsg/bigo/live/support64/component/a;->m()Lsg/bigo/live/support64/widget/LiveGLSurfaceView;
move-result-object v2
invoke-virtual {v0, v2}, Lsg/bigo/live/support64/widget/AbsentMarker;->a(Landroid/opengl/GLSurfaceView;)V
.line 3132
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->f:Lsg/bigo/core/component/a/d;
sget-object v2, Lsg/bigo/live/support64/component/liveviewer/a;->REFRESH_MULTI:Lsg/bigo/live/support64/component/liveviewer/a;
invoke-interface {v0, v2, v1}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
return-void
.end method
.method public static synthetic lambda$SuAcR-AAYu6-kw2z6yp_QbDaycI(Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;)V
.registers 1
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->d()V
return-void
.end method
# virtual methods
.method public final J_()V
.registers 1
return-void
.end method
.method public final a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lsg/bigo/core/component/a/b;",
"Landroid/util/SparseArray<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 83
sget-object p2, Lsg/bigo/live/support64/component/liveviewer/a;->MULTI_ROOM_TYPE_CHANGED:Lsg/bigo/live/support64/component/liveviewer/a;
if-ne p1, p2, :cond_7
.line 84
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->c()V
.line 86
:cond_7
sget-object p2, Lsg/bigo/live/support64/component/liveviewer/a;->LIVE_END:Lsg/bigo/live/support64/component/liveviewer/a;
if-ne p1, p2, :cond_e
.line 87
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->c()V
:cond_e
return-void
.end method
.method public final a(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 78
const-class v0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/a;
invoke-interface {p1, v0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;)V
return-void
.end method
.method public final b()V
.registers 1
.line 68
invoke-direct {p0}, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->c()V
return-void
.end method
.method public final b(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 73
const-class v0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/a;
invoke-interface {p1, v0, p0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;Lsg/bigo/core/component/b/b;)V
return-void
.end method
.method public final e(Landroidx/lifecycle/LifecycleOwner;)V
.registers 3
.line 119
invoke-super {p0, p1}, Lsg/bigo/core/component/AbstractComponent;->e(Landroidx/lifecycle/LifecycleOwner;)V
.line 120
invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;
move-result-object p1
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->b:Lsg/bigo/live/support64/h;
invoke-interface {p1, v0}, Lsg/bigo/live/support64/m;->a(Lsg/bigo/live/support64/h;)V
return-void
.end method
.method public final f(Landroidx/lifecycle/LifecycleOwner;)V
.registers 3
.line 125
invoke-super {p0, p1}, Lsg/bigo/core/component/AbstractComponent;->f(Landroidx/lifecycle/LifecycleOwner;)V
.line 126
invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;
move-result-object p1
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/ownerabsent/OwnerAbsentComponent;->b:Lsg/bigo/live/support64/h;
invoke-interface {p1, v0}, Lsg/bigo/live/support64/m;->b(Lsg/bigo/live/support64/h;)V
return-void
.end method
.method public final u()[Lsg/bigo/core/component/a/b;
.registers 4
const/4 v0, 0x2
new-array v0, v0, [Lsg/bigo/core/component/a/b;
.line 94
sget-object v1, Lsg/bigo/live/support64/component/liveviewer/a;->MULTI_ROOM_TYPE_CHANGED:Lsg/bigo/live/support64/component/liveviewer/a;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Lsg/bigo/live/support64/component/liveviewer/a;->LIVE_END:Lsg/bigo/live/support64/component/liveviewer/a;
const/4 v2, 0x1
aput-object v1, v0, v2
return-object v0
.end method