LiveScrollablePage.smali
.class public Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;
.super Lsg/bigo/core/component/AbstractComponent;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/core/component/b/b;
.implements Lsg/bigo/live/support64/component/roomwidget/scrollpage/a;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lsg/bigo/core/component/AbstractComponent<",
"Lsg/bigo/core/mvp/presenter/a;",
"Lsg/bigo/live/support64/component/a/a;",
"Lsg/bigo/live/support64/component/a;",
">;",
"Lsg/bigo/core/component/b/b;",
"Lsg/bigo/live/support64/component/roomwidget/scrollpage/a;"
}
.end annotation
# instance fields
.field protected a:Landroidx/viewpager/widget/ViewPager;
.field private b:Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
.field private c:I
.field private d:I
.field private i:I
# direct methods
.method public constructor <init>(Lsg/bigo/core/component/c;)V
.registers 2
.line 37
invoke-direct {p0, p1}, Lsg/bigo/core/component/AbstractComponent;-><init>(Lsg/bigo/core/component/c;)V
const/4 p1, 0x0
.line 33
iput p1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->d:I
const/4 p1, -0x1
.line 34
iput p1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->i:I
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)I
.registers 1
.line 27
iget p0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->d:I
return p0
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;I)I
.registers 2
.line 27
iput p1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->d:I
return p1
.end method
.method static synthetic a(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;Z)V
.registers 7
.line 3097
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->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;->getComponent()Lsg/bigo/core/component/b/d;
move-result-object v0
const-class v1, Lsg/bigo/live/support64/component/micconnect/a;
invoke-interface {v0, v1}, Lsg/bigo/core/component/b/d;->b(Ljava/lang/Class;)Lsg/bigo/core/component/b/b;
move-result-object v0
check-cast v0, Lsg/bigo/live/support64/component/micconnect/a;
if-eqz v0, :cond_5e
.line 3098
invoke-interface {v0}, Lsg/bigo/live/support64/component/micconnect/a;->c()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;
move-result-object v1
if-eqz v1, :cond_5e
const/4 v1, 0x0
if-eqz p1, :cond_3d
.line 3100
invoke-interface {v0}, Lsg/bigo/live/support64/component/micconnect/a;->c()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;
move-result-object v0
.line 3300
sget-boolean v2, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->c:Z
if-nez v2, :cond_5e
const/4 v2, 0x1
.line 3303
sput-boolean v2, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->c:Z
.line 3304
sget-object v2, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->f:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v2}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->a()[I
move-result-object v2
array-length v3, v2
:goto_2d
if-ge v1, v3, :cond_5e
aget v4, v2, v1
.line 3305
invoke-virtual {v0, v4}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->b(I)Lsg/bigo/live/support64/micconnect/multi/view/c;
move-result-object v4
if-eqz v4, :cond_3a
.line 3307
invoke-interface {v4}, Lsg/bigo/live/support64/micconnect/multi/view/c;->b()V
:cond_3a
add-int/lit8 v1, v1, 0x1
goto :goto_2d
.line 3102
:cond_3d
invoke-interface {v0}, Lsg/bigo/live/support64/component/micconnect/a;->c()Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;
move-result-object v0
.line 3316
sget-boolean v2, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->c:Z
if-eqz v2, :cond_5e
.line 3319
sput-boolean v1, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->c:Z
.line 3320
sget-object v2, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->f:Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;
invoke-interface {v2}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout$a;->a()[I
move-result-object v2
array-length v3, v2
:goto_4e
if-ge v1, v3, :cond_5e
aget v4, v2, v1
.line 3321
invoke-virtual {v0, v4}, Lsg/bigo/live/support64/micconnect/multi/view/MultiFrameLayout;->b(I)Lsg/bigo/live/support64/micconnect/multi/view/c;
move-result-object v4
if-eqz v4, :cond_5b
.line 3323
invoke-interface {v4}, Lsg/bigo/live/support64/micconnect/multi/view/c;->c()V
:cond_5b
add-int/lit8 v1, v1, 0x1
goto :goto_4e
.line 3105
:cond_5e
iget-object p0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->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 v0, Lsg/bigo/live/support64/component/roomwidget/heart/c;
invoke-interface {p0, v0}, 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/roomwidget/heart/c;
if-eqz p0, :cond_79
if-eqz p1, :cond_76
.line 3108
invoke-interface {p0}, Lsg/bigo/live/support64/component/roomwidget/heart/c;->g()V
return-void
.line 3110
:cond_76
invoke-interface {p0}, Lsg/bigo/live/support64/component/roomwidget/heart/c;->e()V
:cond_79
return-void
.end method
.method private synthetic a(Landroid/view/View;Landroid/view/MotionEvent;)Z
.registers 7
.line 79
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->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;->b()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_c
return v1
.line 82
:cond_c
iget v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->c:I
if-nez v0, :cond_28
const-string v0, "event_touch_event"
.line 84
invoke-static {v0}, Lsg/bigo/live/support64/utils/x;->a(Ljava/lang/String;)Lsg/bigo/live/support64/utils/x$b;
move-result-object v0
sget-object v2, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
const/4 v3, 0x1
new-array v3, v3, [Ljava/lang/Object;
aput-object p1, v3, v1
.line 85
invoke-virtual {v0, p2, v2, v3}, Lsg/bigo/live/support64/utils/x$b;->a(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Boolean;
.line 83
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
return p1
:cond_28
return v1
.end method
.method static synthetic b(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)I
.registers 1
.line 27
iget p0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->i:I
return p0
.end method
.method static synthetic b(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;I)I
.registers 2
.line 27
iput p1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->i:I
return p1
.end method
.method static synthetic c(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;I)I
.registers 2
.line 27
iput p1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->c:I
return p1
.end method
.method static synthetic c(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)Lsg/bigo/core/component/c/a;
.registers 1
.line 27
iget-object p0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->h:Lsg/bigo/core/component/c/a;
return-object p0
.end method
.method static synthetic d(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)Lsg/bigo/core/component/c/a;
.registers 1
.line 27
iget-object p0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->h:Lsg/bigo/core/component/c/a;
return-object p0
.end method
.method public static synthetic lambda$0CjQSdsOhU2hYI1GzVTD-lMm79A(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;Landroid/view/View;Landroid/view/MotionEvent;)Z
.registers 3
invoke-direct {p0, p1, p2}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a(Landroid/view/View;Landroid/view/MotionEvent;)Z
move-result p0
return p0
.end method
# virtual methods
.method public final J_()V
.registers 1
return-void
.end method
.method public final a(Landroidx/lifecycle/LifecycleOwner;)V
.registers 2
.line 140
invoke-super {p0, p1}, Lsg/bigo/core/component/AbstractComponent;->a(Landroidx/lifecycle/LifecycleOwner;)V
return-void
.end method
.method public final bridge synthetic a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V
.registers 3
return-void
.end method
.method public final a(Lsg/bigo/core/component/b/c;)V
.registers 2
return-void
.end method
.method public final a(Lsg/bigo/live/support64/bus/proto/roomlist/RoomInfo;)V
.registers 2
return-void
.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 2
return-void
.end method
.method public final c()V
.registers 3
.line 1041
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->h:Lsg/bigo/core/component/c/a;
check-cast v0, Lsg/bigo/live/support64/component/a;
const v1, 0x7d080410
invoke-interface {v0, v1}, Lsg/bigo/live/support64/component/a;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroidx/viewpager/widget/ViewPager;
iput-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a:Landroidx/viewpager/widget/ViewPager;
.line 1042
new-instance v1, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$1;
invoke-direct {v1, p0}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$1;-><init>(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)V
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->addOnPageChangeListener(Landroidx/viewpager/widget/ViewPager$OnPageChangeListener;)V
.line 1078
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a:Landroidx/viewpager/widget/ViewPager;
new-instance v1, Lsg/bigo/live/support64/component/roomwidget/scrollpage/-$$Lambda$LiveScrollablePage$0CjQSdsOhU2hYI1GzVTD-lMm79A;
invoke-direct {v1, p0}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/-$$Lambda$LiveScrollablePage$0CjQSdsOhU2hYI1GzVTD-lMm79A;-><init>(Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;)V
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
.line 1089
new-instance v0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
invoke-direct {v0}, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;-><init>()V
iput-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->b:Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
const/4 v1, 0x0
.line 1175
iput-boolean v1, v0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;->a:Z
.line 1091
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a:Landroidx/viewpager/widget/ViewPager;
iget-object v1, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->b:Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage$LivePageAdapter;
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setAdapter(Landroidx/viewpager/widget/PagerAdapter;)V
.line 1092
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a:Landroidx/viewpager/widget/ViewPager;
const/4 v1, 0x1
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setCurrentItem(I)V
.line 1093
iget-object v0, p0, Lsg/bigo/live/support64/component/roomwidget/scrollpage/LiveScrollablePage;->a:Landroidx/viewpager/widget/ViewPager;
const/4 v1, 0x2
invoke-virtual {v0, v1}, Landroidx/viewpager/widget/ViewPager;->setOffscreenPageLimit(I)V
return-void
.end method
.method public final bridge synthetic u()[Lsg/bigo/core/component/a/b;
.registers 2
const/4 v0, 0x0
new-array v0, v0, [Lsg/bigo/live/support64/component/a/a;
return-object v0
.end method