LiveVSComponent$a.smali

.class final Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;
.super Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "a"
.end annotation


# static fields
.field private static final b:[I


# instance fields
.field a:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;",
            ">;"
        }
    .end annotation
.end field

.field private c:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 119
    fill-array-data v0, :array_a

    sput-object v0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->b:[I

    return-void

    nop

    :array_a
    .array-data 4
        0x7d080245
        0x7d080246
    .end array-data
.end method

.method constructor <init>(Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;)V
    .registers 3

    .line 109
    invoke-direct {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;-><init>()V

    const/4 v0, 0x0

    .line 142
    iput-boolean v0, p0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->c:Z

    .line 110
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method private static f()Z
    .registers 1

    .line 114
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->e()Z

    move-result v0

    if-nez v0, :cond_f

    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/b;->i()Z

    move-result v0

    if-eqz v0, :cond_d

    goto :goto_f

    :cond_d
    const/4 v0, 0x0

    return v0

    :cond_f
    :goto_f
    const/4 v0, 0x1

    return v0
.end method


# virtual methods
.method public final a()[I
    .registers 2

    .line 126
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v0

    if-nez v0, :cond_b

    .line 127
    invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->a()[I

    move-result-object v0

    return-object v0

    .line 130
    :cond_b
    sget-object v0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->b:[I

    return-object v0
.end method

.method public final b()Z
    .registers 4

    .line 148
    invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->b()Z

    move-result v0

    .line 149
    iget-boolean v1, p0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->c:Z

    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v2

    xor-int/2addr v1, v2

    if-eqz v1, :cond_14

    .line 151
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v0

    iput-boolean v0, p0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->c:Z

    const/4 v0, 0x1

    :cond_14
    return v0
.end method

.method public final c()V
    .registers 5

    .line 162
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v0

    if-nez v0, :cond_a

    .line 163
    invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->c()V

    return-void

    .line 168
    :cond_a
    iget-object v0, p0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;

    if-nez v0, :cond_15

    return-void

    .line 173
    :cond_15
    invoke-static {v0}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;->a(Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent;)Lsg/bigo/core/component/c/a;

    move-result-object v0

    check-cast v0, Lsg/bigo/live/support64/activity/BaseActivity;

    invoke-virtual {v0}, Lsg/bigo/live/support64/activity/BaseActivity;->p()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;

    move-result-object v0

    const/4 v1, 0x1

    .line 174
    invoke-static {v1}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->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-nez v0, :cond_3a

    .line 176
    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "find peer mlutiview is null, "

    invoke-virtual {v1, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "[LiveVSComponent]"

    invoke-static {v1, v0}, Lsg/bigo/log/TraceLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 179
    :cond_3a
    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 180
    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

    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 185
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v0

    if-nez v0, :cond_b

    .line 186
    invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->d()Ljava/util/List;

    move-result-object v0

    return-object v0

    :cond_b
    const/4 v0, 0x2

    new-array v0, v0, [Ljava/lang/Integer;

    const/4 v1, 0x0

    .line 188
    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 2

    .line 135
    invoke-static {}, Lsg/bigolive/revenue64/component/vsshow/LiveVSComponent$a;->f()Z

    move-result v0

    if-nez v0, :cond_b

    .line 136
    invoke-super {p0}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$b;->e()I

    move-result v0

    return v0

    :cond_b
    const v0, 0x7d0a009a

    return v0
.end method