SingleLiveGiftShowComponent.smali
.class public Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"
# interfaces
.implements Lsg/bigolive/revenue64/component/gift/h;
# 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/bigolive/revenue64/component/gift/h;"
}
.end annotation
# instance fields
.field private a:Landroid/widget/FrameLayout;
.field private b:Landroid/widget/RelativeLayout;
.field private c:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lsg/bigolive/revenue64/component/gift/bean/b;",
">;"
}
.end annotation
.end field
.field private d:[Lsg/bigolive/revenue64/component/gift/widget/d;
.field private i:Z
.field private j:Z
.field private k:Lsg/bigolive/revenue64/component/gift/c/e;
# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;)V
.registers 2
.line 54
invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V
.line 45
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
const/4 p1, 0x2
new-array p1, p1, [Lsg/bigolive/revenue64/component/gift/widget/d;
.line 47
iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
const/4 p1, 0x0
.line 48
iput-boolean p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
.line 50
iput-boolean p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
.line 315
new-instance p1, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent$1;
invoke-direct {p1, p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent$1;-><init>(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)V
iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->k:Lsg/bigolive/revenue64/component/gift/c/e;
return-void
.end method
.method static synthetic a(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)Ljava/util/List;
.registers 1
.line 36
iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
return-object p0
.end method
.method static synthetic a(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;[Lsg/bigolive/revenue64/component/gift/widget/d;)[Lsg/bigolive/revenue64/component/gift/widget/d;
.registers 2
.line 36
iput-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
return-object p1
.end method
.method private b(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
.registers 10
.line 214
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
:goto_6
const/4 v5, 0x1
if-ge v4, v1, :cond_25
aget-object v6, v0, v4
if-eqz v6, :cond_17
.line 215
invoke-virtual {v6, p1}, Lsg/bigolive/revenue64/component/gift/widget/d;->a(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
move-result v7
if-eqz v7, :cond_17
.line 216
invoke-virtual {v6, p1}, Lsg/bigolive/revenue64/component/gift/widget/d;->c(Lsg/bigolive/revenue64/component/gift/bean/b;)V
return v5
:cond_17
if-nez v3, :cond_22
if-eqz v6, :cond_22
.line 220
invoke-virtual {v6}, Lsg/bigolive/revenue64/component/gift/widget/d;->f()Z
move-result v5
if-eqz v5, :cond_22
move-object v3, v6
:cond_22
add-int/lit8 v4, v4, 0x1
goto :goto_6
:cond_25
if-eqz v3, :cond_2b
.line 226
invoke-virtual {v3, p1}, Lsg/bigolive/revenue64/component/gift/widget/d;->d(Lsg/bigolive/revenue64/component/gift/bean/b;)V
return v5
:cond_2b
return v2
.end method
.method static synthetic b(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)[Lsg/bigolive/revenue64/component/gift/widget/d;
.registers 1
.line 36
iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
return-object p0
.end method
.method private c()V
.registers 2
const/4 v0, 0x0
.line 124
iput-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
.line 126
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->e()V
.line 127
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d()V
return-void
.end method
.method static synthetic c(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)Z
.registers 1
.line 36
iget-boolean p0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
return p0
.end method
.method private c(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
.registers 11
const/4 v0, 0x0
if-eqz p1, :cond_8c
.line 238
iget-wide v1, p1, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v3
invoke-virtual {v3}, Lsg/bigo/live/support64/o;->p()J
move-result-wide v3
cmp-long v5, v1, v3
if-nez v5, :cond_8c
.line 240
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
array-length v2, v1
const/4 v3, 0x0
move-object v5, v3
const/4 v4, 0x0
:goto_17
if-ge v4, v2, :cond_3e
aget-object v6, v1, v4
if-eqz v6, :cond_24
.line 241
invoke-virtual {v6, p1}, Lsg/bigolive/revenue64/component/gift/widget/d;->b(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
move-result v7
if-eqz v7, :cond_24
return v0
:cond_24
if-eqz v6, :cond_3b
.line 245
invoke-virtual {v6}, Lsg/bigolive/revenue64/component/gift/widget/d;->f()Z
move-result v7
if-eqz v7, :cond_2d
return v0
:cond_2d
if-nez v5, :cond_30
goto :goto_3a
.line 251
:cond_30
invoke-virtual {v5}, Lsg/bigolive/revenue64/component/gift/widget/d;->h()I
move-result v7
invoke-virtual {v6}, Lsg/bigolive/revenue64/component/gift/widget/d;->h()I
move-result v8
if-le v7, v8, :cond_3b
:goto_3a
move-object v5, v6
:cond_3b
add-int/lit8 v4, v4, 0x1
goto :goto_17
:cond_3e
if-eqz v5, :cond_8c
.line 259
invoke-virtual {v5}, Lsg/bigolive/revenue64/component/gift/widget/d;->i()Lsg/bigolive/revenue64/component/gift/bean/b;
move-result-object v1
.line 260
invoke-virtual {v5}, Lsg/bigolive/revenue64/component/gift/widget/d;->g()V
.line 261
invoke-virtual {v5, p1}, Lsg/bigolive/revenue64/component/gift/widget/d;->d(Lsg/bigolive/revenue64/component/gift/bean/b;)V
if-eqz v1, :cond_8a
.line 264
iget-boolean p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
if-eqz p1, :cond_51
return v0
.line 267
:cond_51
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
const/16 v2, 0x12c
if-ge p1, v2, :cond_8a
.line 268
:goto_5b
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {p1}, Ljava/util/List;->size()I
move-result p1
if-ge v0, p1, :cond_82
.line 269
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object p1
invoke-virtual {p1}, Lsg/bigo/live/support64/o;->p()J
move-result-wide v4
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lsg/bigolive/revenue64/component/gift/bean/b;
iget-wide v6, p1, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
cmp-long p1, v4, v6
if-eqz p1, :cond_7f
.line 271
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {p1, v0, v1}, Ljava/util/List;->add(ILjava/lang/Object;)V
goto :goto_83
:cond_7f
add-int/lit8 v0, v0, 0x1
goto :goto_5b
:cond_82
move-object v3, v1
:goto_83
if-eqz v3, :cond_8a
.line 279
iget-object p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {p1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_8a
const/4 p1, 0x1
return p1
:cond_8c
return v0
.end method
.method static synthetic d(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)Landroid/widget/RelativeLayout;
.registers 1
.line 36
iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
return-object p0
.end method
.method private d()V
.registers 4
.line 154
monitor-enter p0
.line 155
:try_start_1
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
if-eqz v0, :cond_7
.line 156
monitor-exit p0
return-void
.line 158
:cond_7
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
if-eqz v0, :cond_d
.line 159
monitor-exit p0
return-void
.line 161
:cond_d
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-lez v0, :cond_37
.line 162
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->f()V
.line 163
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lsg/bigolive/revenue64/component/gift/bean/b;
.line 164
invoke-direct {p0, v0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
move-result v2
if-nez v2, :cond_2d
invoke-direct {p0, v0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b(Lsg/bigolive/revenue64/component/gift/bean/b;)Z
move-result v0
if-eqz v0, :cond_37
.line 165
:cond_2d
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
.line 166
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->g()V
.line 167
monitor-exit p0
return-void
.line 170
:cond_37
monitor-exit p0
:try_end_38
.catchall {:try_start_1 .. :try_end_38} :catchall_3c
.line 172
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->e()V
return-void
:catchall_3c
move-exception v0
.line 170
:try_start_3d
monitor-exit p0
:try_end_3e
.catchall {:try_start_3d .. :try_end_3e} :catchall_3c
throw v0
.end method
.method static synthetic e(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)Landroid/widget/FrameLayout;
.registers 1
.line 36
iget-object p0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->a:Landroid/widget/FrameLayout;
return-object p0
.end method
.method private e()V
.registers 11
.line 179
monitor-enter p0
.line 180
:try_start_1
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
if-eqz v0, :cond_7
.line 181
monitor-exit p0
return-void
:cond_7
const/4 v0, 0x0
.line 183
:goto_8
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
const/4 v2, 0x1
sub-int/2addr v1, v2
if-ge v0, v1, :cond_80
.line 184
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lsg/bigolive/revenue64/component/gift/bean/b;
add-int/lit8 v3, v0, 0x1
.line 187
iget-object v4, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Lsg/bigolive/revenue64/component/gift/bean/b;
.line 188
iget-object v5, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->o:Ljava/lang/String;
invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v5
if-eqz v5, :cond_7e
iget-object v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->o:Ljava/lang/String;
.line 189
invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v5
if-eqz v5, :cond_7e
iget-wide v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
iget-wide v7, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
cmp-long v9, v5, v7
if-nez v9, :cond_7e
iget-wide v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->d:J
iget-wide v7, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->d:J
cmp-long v9, v5, v7
if-nez v9, :cond_7e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->b:I
iget v6, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->b:I
if-ne v5, v6, :cond_7e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->i:I
iget v6, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->i:I
if-ne v5, v6, :cond_7e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->a:I
iget v6, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->a:I
if-ne v5, v6, :cond_7e
iget-object v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->p:Ljava/lang/String;
iget-object v6, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->p:Ljava/lang/String;
.line 195
invoke-static {v5, v6}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v5
if-eqz v5, :cond_7e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->r:I
iget v6, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->r:I
if-ne v5, v6, :cond_7e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->r:I
if-eqz v5, :cond_6e
iget v5, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->r:I
if-ne v5, v2, :cond_7e
.line 200
:cond_6e
iget v2, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->j:I
iget v5, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->j:I
if-le v2, v5, :cond_78
.line 201
iget v2, v4, Lsg/bigolive/revenue64/component/gift/bean/b;->j:I
iput v2, v1, Lsg/bigolive/revenue64/component/gift/bean/b;->j:I
.line 203
:cond_78
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v1, v3}, Ljava/util/List;->remove(I)Ljava/lang/Object;
goto :goto_8
:cond_7e
move v0, v3
goto :goto_8
.line 208
:cond_80
monitor-exit p0
return-void
:catchall_82
move-exception v0
monitor-exit p0
:try_end_84
.catchall {:try_start_1 .. :try_end_84} :catchall_82
goto :goto_86
:goto_85
throw v0
:goto_86
goto :goto_85
.end method
.method static synthetic f(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)Landroid/widget/RelativeLayout;
.registers 2
const/4 v0, 0x0
.line 36
iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
return-object v0
.end method
.method private f()V
.registers 7
.line 291
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
if-nez v0, :cond_6b
.line 293
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->a:Landroid/widget/FrameLayout;
invoke-virtual {v0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;
move-result-object v0
const v1, 0x7d0a009d
iget-object v2, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->a:Landroid/widget/FrameLayout;
const/4 v3, 0x1
invoke-static {v0, v1, v2, v3}, Lsg/bigo/mobile/android/aab/c/b;->a(Landroid/content/Context;ILandroid/view/ViewGroup;Z)Landroid/view/View;
.line 294
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->a:Landroid/widget/FrameLayout;
const v1, 0x7d0801f3
invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/RelativeLayout;
iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
if-eqz v0, :cond_6b
const v1, 0x7d0800ef
.line 296
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
.line 297
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
const v2, 0x7d080016
invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;
move-result-object v1
.line 298
new-instance v2, Lsg/bigolive/revenue64/component/gift/widget/d;
iget-object v4, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v4, Lsg/bigo/live/support64/component/a;
invoke-direct {v2, v4}, Lsg/bigolive/revenue64/component/gift/widget/d;-><init>(Lsg/bigo/live/support64/component/a;)V
.line 300
invoke-virtual {v2, v0, v1}, Lsg/bigolive/revenue64/component/gift/widget/d;->a(Landroid/view/View;Landroid/view/View;)V
.line 301
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->k:Lsg/bigolive/revenue64/component/gift/c/e;
.line 2051
iput-object v0, v2, Lsg/bigolive/revenue64/component/gift/widget/a;->d:Lsg/bigolive/revenue64/component/gift/c/e;
.line 302
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
const v1, 0x7d0800f0
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;
move-result-object v0
.line 303
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->b:Landroid/widget/RelativeLayout;
const v4, 0x7d080017
invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;
move-result-object v1
.line 304
new-instance v4, Lsg/bigolive/revenue64/component/gift/widget/d;
iget-object v5, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v5, Lsg/bigo/live/support64/component/a;
invoke-direct {v4, v5}, Lsg/bigolive/revenue64/component/gift/widget/d;-><init>(Lsg/bigo/live/support64/component/a;)V
.line 305
invoke-virtual {v4, v0, v1}, Lsg/bigolive/revenue64/component/gift/widget/d;->a(Landroid/view/View;Landroid/view/View;)V
.line 307
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->k:Lsg/bigolive/revenue64/component/gift/c/e;
.line 3051
iput-object v0, v4, Lsg/bigolive/revenue64/component/gift/widget/a;->d:Lsg/bigolive/revenue64/component/gift/c/e;
.line 309
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
const/4 v1, 0x0
aput-object v4, v0, v1
.line 310
aput-object v2, v0, v3
:cond_6b
return-void
.end method
.method private g()V
.registers 4
.line 337
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
if-eqz v0, :cond_5
return-void
.line 340
:cond_5
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
if-eqz v0, :cond_a
return-void
.line 343
:cond_a
new-instance v0, Lsg/bigolive/revenue64/component/gift/-$$Lambda$SingleLiveGiftShowComponent$6toqIE6lqv5dPkwPRrb-Q6dPd8k;
invoke-direct {v0, p0}, Lsg/bigolive/revenue64/component/gift/-$$Lambda$SingleLiveGiftShowComponent$6toqIE6lqv5dPkwPRrb-Q6dPd8k;-><init>(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)V
const-wide/16 v1, 0xc8
invoke-static {v0, v1, v2}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;J)V
return-void
.end method
.method static synthetic g(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)V
.registers 1
.line 36
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->g()V
return-void
.end method
.method private h()V
.registers 6
const/4 v0, 0x1
.line 347
iput-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
.line 348
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d:[Lsg/bigolive/revenue64/component/gift/widget/d;
array-length v1, v0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_8
if-ge v3, v1, :cond_14
aget-object v4, v0, v3
if-eqz v4, :cond_11
.line 350
invoke-virtual {v4}, Lsg/bigolive/revenue64/component/gift/widget/d;->g()V
:cond_11
add-int/lit8 v3, v3, 0x1
goto :goto_8
.line 353
:cond_14
monitor-enter p0
.line 354
:try_start_15
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->clear()V
.line 355
monitor-exit p0
:try_end_1b
.catchall {:try_start_15 .. :try_end_1b} :catchall_1e
.line 356
iput-boolean v2, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
return-void
:catchall_1e
move-exception v0
.line 355
:try_start_1f
monitor-exit p0
:try_end_20
.catchall {:try_start_1f .. :try_end_20} :catchall_1e
goto :goto_22
:goto_21
throw v0
:goto_22
goto :goto_21
.end method
.method private synthetic i()V
.registers 1
.line 343
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d()V
return-void
.end method
.method public static synthetic lambda$6toqIE6lqv5dPkwPRrb-Q6dPd8k(Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;)V
.registers 1
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i()V
return-void
.end method
# virtual methods
.method public final J_()V
.registers 3
.line 59
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
const v1, 0x7d08041e
invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/FrameLayout;
iput-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->a:Landroid/widget/FrameLayout;
return-void
.end method
.method public final a(Landroidx/lifecycle/LifecycleOwner;)V
.registers 2
.line 69
invoke-super {p0, p1}, Lsg/bigo/core/component/AbstractComponent;->a(Landroidx/lifecycle/LifecycleOwner;)V
.line 71
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h()V
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 86
sget-object p2, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;
if-eq p1, p2, :cond_33
sget-object p2, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_SWITCH_ANIMATION_END:Lsg/bigo/live/support64/component/a/a;
if-ne p1, p2, :cond_9
goto :goto_33
.line 90
:cond_9
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_23
const-string p1, "Revenue_Gift"
const-string p2, "[SingleGiftShow]Multi room type change."
.line 91
invoke-static {p1, p2}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 92
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object p1
invoke-virtual {p1}, Lsg/bigo/live/support64/o;->E()I
move-result p1
const/4 p2, 0x5
if-eq p1, p2, :cond_32
.line 94
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h()V
return-void
.line 96
:cond_23
sget-object p2, Lsg/bigolive/revenue64/component/gift/i;->START_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;
if-ne p1, p2, :cond_2b
const/4 p1, 0x1
.line 1119
iput-boolean p1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->j:Z
return-void
.line 98
:cond_2b
sget-object p2, Lsg/bigolive/revenue64/component/gift/i;->END_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;
if-ne p1, p2, :cond_32
.line 99
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c()V
:cond_32
return-void
.line 88
:cond_33
:goto_33
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->h()V
.line 89
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c()V
return-void
.end method
.method public final a(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 81
const-class v0, Lsg/bigolive/revenue64/component/gift/h;
invoke-interface {p1, v0}, Lsg/bigo/core/component/b/c;->a(Ljava/lang/Class;)V
return-void
.end method
.method public final a(Lsg/bigolive/revenue64/component/gift/bean/b;)V
.registers 8
.line 132
monitor-enter p0
.line 133
:try_start_1
iget-boolean v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->i:Z
if-eqz v0, :cond_7
.line 134
monitor-exit p0
return-void
.line 136
:cond_7
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/16 v1, 0x12c
if-ge v0, v1, :cond_4c
.line 137
iget-wide v0, p1, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
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;->p()J
move-result-wide v2
cmp-long v4, v0, v2
if-nez v4, :cond_47
const/4 v0, 0x0
.line 139
:goto_20
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-ge v0, v1, :cond_41
.line 140
invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;
move-result-object v1
invoke-virtual {v1}, Lsg/bigo/live/support64/o;->p()J
move-result-wide v1
iget-object v3, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lsg/bigolive/revenue64/component/gift/bean/b;
iget-wide v3, v3, Lsg/bigolive/revenue64/component/gift/bean/b;->c:J
cmp-long v5, v1, v3
if-nez v5, :cond_41
add-int/lit8 v0, v0, 0x1
goto :goto_20
.line 144
:cond_41
iget-object v1, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v1, v0, p1}, Ljava/util/List;->add(ILjava/lang/Object;)V
goto :goto_4c
.line 146
:cond_47
iget-object v0, p0, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->c:Ljava/util/List;
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
.line 149
:cond_4c
:goto_4c
monitor-exit p0
:try_end_4d
.catchall {:try_start_1 .. :try_end_4d} :catchall_51
.line 150
invoke-direct {p0}, Lsg/bigolive/revenue64/component/gift/SingleLiveGiftShowComponent;->d()V
return-void
:catchall_51
move-exception p1
.line 149
:try_start_52
monitor-exit p0
:try_end_53
.catchall {:try_start_52 .. :try_end_53} :catchall_51
goto :goto_55
:goto_54
throw p1
:goto_55
goto :goto_54
.end method
.method public final b()V
.registers 1
return-void
.end method
.method public final b(Lsg/bigo/core/component/b/c;)V
.registers 3
.line 76
const-class v0, Lsg/bigolive/revenue64/component/gift/h;
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 u()[Lsg/bigo/core/component/a/b;
.registers 4
const/4 v0, 0x5
new-array v0, v0, [Lsg/bigo/core/component/a/b;
.line 107
sget-object v1, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_END:Lsg/bigo/live/support64/component/a/a;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Lsg/bigo/live/support64/component/a/a;->EVENT_LIVE_SWITCH_ANIMATION_END:Lsg/bigo/live/support64/component/a/a;
const/4 v2, 0x1
aput-object v1, v0, v2
sget-object v1, Lsg/bigo/live/support64/component/liveviewer/a;->MULTI_ROOM_TYPE_CHANGED:Lsg/bigo/live/support64/component/liveviewer/a;
const/4 v2, 0x2
aput-object v1, v0, v2
sget-object v1, Lsg/bigolive/revenue64/component/gift/i;->START_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;
const/4 v2, 0x3
aput-object v1, v0, v2
sget-object v1, Lsg/bigolive/revenue64/component/gift/i;->END_SHOW_BLAST_GIFT_ANIM:Lsg/bigolive/revenue64/component/gift/i;
const/4 v2, 0x4
aput-object v1, v0, v2
return-object v0
.end method