CommonSwipeRefreshLayout.smali
.class public Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;
.super Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;
.source "SourceFile"
# interfaces
.implements Landroidx/core/view/NestedScrollingChild;
.implements Landroidx/core/view/NestedScrollingParent;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;,
Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;
}
.end annotation
# static fields
.field private static final b:Ljava/lang/String;
# instance fields
.field a:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.field private c:Landroid/view/View;
.field private d:Lsg/bigo/live/support64/widget/refresh/c;
.field private e:I
.field private f:I
.field private g:I
.field private h:Lsg/bigo/live/support64/widget/refresh/e;
.field private i:Z
.field private j:Z
.field private k:Z
.field private l:Z
.field private m:Z
.field private n:Z
.field private o:Z
.field private p:Z
.field private q:Z
.field private r:Landroid/widget/Scroller;
.field private s:I
.field private t:I
.field private final u:[I
.field private final v:[I
.field private w:Lsg/bigo/live/support64/widget/refresh/d;
.field private x:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;
.field private y:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 30
const-class v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
sput-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
const/4 v0, 0x0
.line 99
invoke-direct {p0, p1, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
const/4 v0, 0x0
.line 103
invoke-direct {p0, p1, p2, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 8
.line 107
invoke-direct {p0, p1, p2, p3}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
const/4 v0, 0x1
.line 61
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->o:Z
.line 62
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->p:Z
const/4 v1, 0x2
new-array v2, v1, [I
.line 70
iput-object v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->u:[I
new-array v2, v1, [I
.line 71
iput-object v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->v:[I
.line 78
new-instance v2, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$1;
invoke-direct {v2, p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$1;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)V
iput-object v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.line 1376
sget-object v2, Lcom/live/share64/h$b;->CommonSwipeRefreshLayout:[I
const/4 v3, 0x0
invoke-virtual {p1, p2, v2, p3, v3}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;
move-result-object p2
const/4 p3, 0x3
.line 1377
invoke-virtual {p2, p3, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result p3
xor-int/2addr p3, v0
iput p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
.line 1379
invoke-virtual {p2, v3, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result p3
xor-int/2addr p3, v0
iput p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
.line 1380
invoke-virtual {p2, v1, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result p3
iput-boolean p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->o:Z
.line 1381
invoke-virtual {p2, v0, v0}, Landroid/content/res/TypedArray;->getBoolean(IZ)Z
move-result p3
iput-boolean p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->p:Z
.line 1382
invoke-virtual {p2}, Landroid/content/res/TypedArray;->recycle()V
.line 2359
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
.line 2360
new-instance p2, Lsg/bigo/live/support64/widget/refresh/d;
invoke-direct {p2, p0}, Lsg/bigo/live/support64/widget/refresh/d;-><init>(Landroid/view/View;)V
iput-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
.line 2361
new-instance p2, Landroid/widget/Scroller;
invoke-direct {p2, p1}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;)V
iput-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->r:Landroid/widget/Scroller;
.line 2362
invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;
move-result-object p2
.line 2363
invoke-virtual {p2}, Landroid/view/ViewConfiguration;->getScaledMaximumFlingVelocity()I
move-result p2
iput p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->s:I
.line 2364
invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;
move-result-object p1
.line 2365
invoke-virtual {p1}, Landroid/view/ViewConfiguration;->getScaledMinimumFlingVelocity()I
move-result p1
iput p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->t:I
.line 2366
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-nez p1, :cond_6c
.line 2367
new-instance p1, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;
invoke-direct {p1, p0, v3}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;B)V
iput-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->y:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;
.line 2369
:cond_6c
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
if-nez p1, :cond_77
.line 2370
new-instance p1, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;
invoke-direct {p1, p0, v3}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;B)V
iput-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->x:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;
.line 2372
:cond_77
invoke-virtual {p0, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->setNestedScrollingEnabled(Z)V
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;I)I
.registers 2
.line 27
iput p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
return p1
.end method
.method static synthetic a()Ljava/lang/String;
.registers 1
.line 27
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
return-object v0
.end method
.method private a(J)V
.registers 11
.line 551
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
invoke-virtual {v0}, Lsg/bigo/live/support64/widget/refresh/d;->d()I
move-result v0
neg-int v3, v0
.line 552
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v0, :cond_12
.line 553
iget v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
iget-object v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->x:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;
invoke-interface {v0, v1, v2}, Lsg/bigo/live/support64/widget/refresh/c;->a(ILsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$a;)V
.line 555
:cond_12
iget v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
if-nez v0, :cond_19
.line 556
iput v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
return-void
:cond_19
const/4 v0, 0x1
.line 559
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
const/4 v1, 0x2
new-array v1, v1, [I
const/4 v2, 0x0
.line 560
invoke-virtual {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->getScrollY()I
move-result v4
aput v4, v1, v2
neg-int v2, v3
aput v2, v1, v0
const-string v0, "scrollY"
invoke-static {p0, v0, v1}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;
move-result-object v0
.line 561
invoke-virtual {v0, p1, p2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
.line 562
new-instance v7, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$4;
move-object v1, v7
move-object v2, p0
move-wide v4, p1
move-object v6, v0
invoke-direct/range {v1 .. v6}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$4;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;IJLandroid/animation/ObjectAnimator;)V
invoke-virtual {v0, v7}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 581
invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;J)V
.registers 3
.line 27
invoke-direct {p0, p1, p2}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(J)V
return-void
.end method
.method private a(Z)V
.registers 6
.line 444
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
const-string v1, "startResetAnimation"
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
const/4 v0, 0x0
.line 445
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
.line 446
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
.line 447
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v1, :cond_19
if-eqz p1, :cond_19
.line 449
iget v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
iget v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
invoke-interface {v1, v2, v3}, Lsg/bigo/live/support64/widget/refresh/c;->c(II)V
:cond_19
if-eqz p1, :cond_1f
.line 454
iget v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-eqz v1, :cond_25
:cond_1f
if-nez p1, :cond_28
iget v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
if-nez v1, :cond_28
.line 456
:cond_25
iput v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
return-void
:cond_28
const/4 v1, 0x1
.line 460
iput-boolean v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
const/4 v2, 0x2
new-array v2, v2, [I
.line 461
invoke-virtual {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->getScrollY()I
move-result v3
aput v3, v2, v0
aput v0, v2, v1
const-string v0, "scrollY"
invoke-static {p0, v0, v2}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;
move-result-object v0
const-wide/16 v1, 0xc8
.line 462
invoke-virtual {v0, v1, v2}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
.line 463
new-instance v1, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$2;
invoke-direct {v1, p0, p1, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$2;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;ZLandroid/animation/ObjectAnimator;)V
invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 489
invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V
return-void
.end method
.method static synthetic a(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 1
.line 27
iget-boolean p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->p:Z
return p0
.end method
.method private b()Z
.registers 3
.line 420
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
instance-of v1, v0, Landroidx/recyclerview/widget/RecyclerView;
if-eqz v1, :cond_c
const/4 v1, -0x1
.line 421
invoke-virtual {v0, v1}, Landroid/view/View;->canScrollVertically(I)Z
move-result v0
return v0
.line 423
:cond_c
instance-of v1, v0, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;
if-eqz v1, :cond_17
.line 424
check-cast v0, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;->a()Z
move-result v0
return v0
:cond_17
const/4 v0, 0x0
return v0
.end method
.method static synthetic b(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 1
.line 27
iget-boolean p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->n:Z
return p0
.end method
.method private c()Z
.registers 3
.line 430
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
instance-of v1, v0, Landroidx/recyclerview/widget/RecyclerView;
if-eqz v1, :cond_c
const/4 v1, 0x1
.line 431
invoke-virtual {v0, v1}, Landroid/view/View;->canScrollVertically(I)Z
move-result v0
return v0
.line 433
:cond_c
instance-of v1, v0, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;
if-eqz v1, :cond_17
.line 434
check-cast v0, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;->b()Z
move-result v0
return v0
:cond_17
const/4 v0, 0x0
return v0
.end method
.method static synthetic c(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 2
const/4 v0, 0x0
.line 27
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->n:Z
return v0
.end method
.method static synthetic d(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Landroid/widget/Scroller;
.registers 1
.line 27
iget-object p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->r:Landroid/widget/Scroller;
return-object p0
.end method
.method private d()Z
.registers 2
.line 440
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-nez v0, :cond_b
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
if-eqz v0, :cond_9
goto :goto_b
:cond_9
const/4 v0, 0x0
return v0
:cond_b
:goto_b
const/4 v0, 0x1
return v0
.end method
.method private e()V
.registers 3
.line 505
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d()Z
move-result v0
if-nez v0, :cond_1c
.line 506
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
.line 507
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v0, :cond_11
.line 508
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->h()V
.line 510
:cond_11
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->h:Lsg/bigo/live/support64/widget/refresh/e;
if-eqz v0, :cond_1c
iget-boolean v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
if-eqz v1, :cond_1c
.line 511
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/e;->b()V
:cond_1c
return-void
.end method
.method static synthetic e(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 1
.line 27
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c()Z
move-result p0
return p0
.end method
.method private f()V
.registers 6
.line 517
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
invoke-virtual {v0}, Lsg/bigo/live/support64/widget/refresh/d;->c()I
move-result v0
.line 518
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v1, :cond_13
.line 519
iget v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
iget v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
iget-object v4, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->y:Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;
invoke-interface {v1, v2, v0, v3, v4}, Lsg/bigo/live/support64/widget/refresh/c;->a(IIILsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$b;)V
.line 521
:cond_13
iget v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-nez v1, :cond_1a
.line 522
iput v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
return-void
:cond_1a
const/4 v1, 0x1
.line 525
iput-boolean v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
const/4 v2, 0x2
new-array v2, v2, [I
const/4 v3, 0x0
.line 526
invoke-virtual {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->getScrollY()I
move-result v4
aput v4, v2, v3
neg-int v3, v0
aput v3, v2, v1
const-string v1, "scrollY"
invoke-static {p0, v1, v2}, Landroid/animation/ObjectAnimator;->ofInt(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;
move-result-object v1
const-wide/16 v2, 0xc8
.line 527
invoke-virtual {v1, v2, v3}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;
.line 528
new-instance v2, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$3;
invoke-direct {v2, p0, v0, v1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout$3;-><init>(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;ILandroid/animation/ObjectAnimator;)V
invoke-virtual {v1, v2}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V
.line 547
invoke-virtual {v1}, Landroid/animation/ObjectAnimator;->start()V
return-void
.end method
.method static synthetic f(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 1
.line 27
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b()Z
move-result p0
return p0
.end method
.method static synthetic g(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 1
.line 27
iget-boolean p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
return p0
.end method
.method static synthetic h(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Lsg/bigo/live/support64/widget/refresh/d;
.registers 1
.line 27
iget-object p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
return-object p0
.end method
.method static synthetic i(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Lsg/bigo/live/support64/widget/refresh/c;
.registers 1
.line 27
iget-object p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
return-object p0
.end method
.method static synthetic j(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)I
.registers 1
.line 27
iget p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
return p0
.end method
.method static synthetic k(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)I
.registers 1
.line 27
iget p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
return p0
.end method
.method static synthetic l(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)I
.registers 1
.line 27
iget p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
return p0
.end method
.method static synthetic m(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)Z
.registers 2
const/4 v0, 0x0
.line 27
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
return v0
.end method
.method static synthetic n(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)V
.registers 2
.line 8493
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d()Z
move-result v0
if-nez v0, :cond_17
const/4 v0, 0x1
.line 8494
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
.line 8495
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v0, :cond_10
.line 8496
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->f()V
.line 8498
:cond_10
iget-object p0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->h:Lsg/bigo/live/support64/widget/refresh/e;
if-eqz p0, :cond_17
.line 8499
invoke-interface {p0}, Lsg/bigo/live/support64/widget/refresh/e;->a()V
:cond_17
return-void
.end method
.method static synthetic o(Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;)V
.registers 1
.line 27
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e()V
return-void
.end method
# virtual methods
.method protected onDetachedFromWindow()V
.registers 3
.line 114
invoke-super {p0}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onDetachedFromWindow()V
.line 115
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
instance-of v1, v0, Landroidx/recyclerview/widget/RecyclerView;
if-eqz v1, :cond_10
.line 116
check-cast v0, Landroidx/recyclerview/widget/RecyclerView;
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->removeOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V
:cond_10
return-void
.end method
.method protected onFinishInflate()V
.registers 2
.line 124
invoke-super {p0}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onFinishInflate()V
.line 125
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v0, :cond_16
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->b()Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_16
.line 126
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->b()Landroid/view/View;
move-result-object v0
invoke-virtual {p0, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->bringChildToFront(Landroid/view/View;)V
.line 128
:cond_16
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz v0, :cond_29
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->c()Landroid/view/View;
move-result-object v0
if-eqz v0, :cond_29
.line 129
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {v0}, Lsg/bigo/live/support64/widget/refresh/c;->c()Landroid/view/View;
move-result-object v0
invoke-virtual {p0, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->bringChildToFront(Landroid/view/View;)V
:cond_29
return-void
.end method
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.registers 5
.line 275
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "mCancelTouch:"
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-boolean v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v2, " onInterceptTouchEvent:"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Landroid/view/MotionEvent;->toString()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 276
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->m:Z
if-nez v0, :cond_2e
invoke-super {p0, p1}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
move-result p1
if-eqz p1, :cond_2c
goto :goto_2e
:cond_2c
const/4 p1, 0x0
return p1
:cond_2e
:goto_2e
const/4 p1, 0x1
return p1
.end method
.method protected onLayout(ZIIII)V
.registers 6
.line 135
invoke-super/range {p0 .. p5}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onLayout(ZIIII)V
.line 2398
invoke-virtual {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->getChildCount()I
move-result p1
.line 2399
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
if-nez p2, :cond_52
if-gtz p1, :cond_e
goto :goto_52
:cond_e
const/4 p2, 0x0
:goto_f
if-ge p2, p1, :cond_23
.line 2403
invoke-virtual {p0, p2}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->getChildAt(I)Landroid/view/View;
move-result-object p3
.line 2404
instance-of p4, p3, Landroidx/recyclerview/widget/RecyclerView;
if-nez p4, :cond_21
instance-of p4, p3, Lsg/bigo/live/support64/widget/refresh/IRefreshListView;
if-eqz p4, :cond_1e
goto :goto_21
:cond_1e
add-int/lit8 p2, p2, 0x1
goto :goto_f
.line 2405
:cond_21
:goto_21
iput-object p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
.line 2409
:cond_23
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
if-eqz p1, :cond_33
.line 2412
instance-of p2, p1, Landroidx/recyclerview/widget/RecyclerView;
if-eqz p2, :cond_52
.line 2413
check-cast p1, Landroidx/recyclerview/widget/RecyclerView;
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a:Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
invoke-virtual {p1, p2}, Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V
goto :goto_52
.line 2410
:cond_33
new-instance p1, Ljava/lang/IllegalStateException;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p3
invoke-virtual {p3}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object p3
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p3, "\u7684\u5b50View\u5fc5\u987b\u4e3aRecyclerView\u6216\u7ee7\u627fAbstractRefreshListView\u7684View"
invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
.line 3386
:cond_52
:goto_52
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_5d
.line 3387
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
iget p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
invoke-interface {p1, p0, p2, p3}, Lsg/bigo/live/support64/widget/refresh/c;->a(Landroid/view/ViewGroup;Landroid/view/View;I)V
.line 3392
:cond_5d
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_68
.line 3393
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c:Landroid/view/View;
iget p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
invoke-interface {p1, p0, p2, p3}, Lsg/bigo/live/support64/widget/refresh/c;->b(Landroid/view/ViewGroup;Landroid/view/View;I)V
:cond_68
return-void
.end method
.method protected onMeasure(II)V
.registers 3
.line 143
invoke-super {p0, p1, p2}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onMeasure(II)V
.line 144
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_12
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->b()Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_12
.line 145
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->d()V
.line 147
:cond_12
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_21
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->c()Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_21
.line 148
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->e()V
:cond_21
return-void
.end method
.method public onNestedFling(Landroid/view/View;FFZ)Z
.registers 15
.line 160
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
const-string v1, "onNestedFling"
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
const/4 v0, 0x1
.line 161
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->n:Z
if-eqz p4, :cond_20
.line 163
iget-object v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->r:Landroid/widget/Scroller;
invoke-virtual {v0}, Landroid/widget/Scroller;->abortAnimation()V
.line 164
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->r:Landroid/widget/Scroller;
const/4 v2, 0x0
const/4 v3, 0x0
float-to-int v4, p2
float-to-int v5, p3
const/4 v6, 0x0
const/4 v7, 0x0
iget v8, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->t:I
iget v9, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->s:I
invoke-virtual/range {v1 .. v9}, Landroid/widget/Scroller;->fling(IIIIIIII)V
.line 166
:cond_20
invoke-super {p0, p1, p2, p3, p4}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onNestedFling(Landroid/view/View;FFZ)Z
move-result p1
return p1
.end method
.method public onNestedPreFling(Landroid/view/View;FF)Z
.registers 6
.line 154
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
const-string v1, "onNestedPreFling"
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 155
invoke-super {p0, p1, p2, p3}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onNestedPreFling(Landroid/view/View;FF)Z
move-result p1
if-nez p1, :cond_18
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
if-nez p1, :cond_18
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
if-eqz p1, :cond_16
goto :goto_18
:cond_16
const/4 p1, 0x0
return p1
:cond_18
:goto_18
const/4 p1, 0x1
return p1
.end method
.method public onNestedPreScroll(Landroid/view/View;II[I)V
.registers 11
.line 171
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
const/high16 v0, 0x3f800000 # 1.0f
const/4 v1, 0x1
const/4 v2, 0x0
if-eqz p1, :cond_5b
.line 172
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
invoke-virtual {p1, p2}, Lsg/bigo/live/support64/widget/refresh/d;->a(Z)I
move-result p1
.line 173
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
sub-int v3, p2, p3
sub-int/2addr p2, p1
sub-int/2addr v3, p1
.line 174
invoke-static {p2, v3}, Lsg/bigo/live/support64/widget/refresh/d;->a(II)Z
move-result p2
if-nez p2, :cond_21
.line 175
iput-boolean v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
.line 176
iput p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
goto :goto_45
.line 178
:cond_21
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
.line 5050
invoke-virtual {p1}, Lsg/bigo/live/support64/widget/refresh/d;->a()I
move-result v2
if-lez p2, :cond_2e
if-le p2, v2, :cond_2e
move p2, v2
:cond_2e
if-gez p3, :cond_3f
int-to-float v2, p2
mul-float v2, v2, v0
.line 4068
invoke-virtual {p1}, Lsg/bigo/live/support64/widget/refresh/d;->a()I
move-result p1
int-to-float p1, p1
div-float/2addr v2, p1
sub-float/2addr v0, v2
int-to-float p1, p3
mul-float v0, v0, p1
float-to-int p1, v0
goto :goto_40
:cond_3f
move p1, p3
:goto_40
sub-int/2addr p2, p1
.line 178
iput p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
.line 179
aput p3, p4, v1
.line 181
:goto_45
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_50
.line 182
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
iget p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
invoke-interface {p1, p2, p3}, Lsg/bigo/live/support64/widget/refresh/c;->a(II)V
.line 184
:cond_50
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-ne p1, v1, :cond_5a
.line 185
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
neg-int p1, p1
invoke-virtual {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->setScrollY(I)V
:cond_5a
return-void
:cond_5b
if-gez p3, :cond_63
.line 189
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
if-gez p1, :cond_63
.line 190
iput-boolean v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
.line 192
:cond_63
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
if-eqz p1, :cond_b0
.line 193
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
sub-int v3, p1, p3
.line 194
invoke-static {p1, v3}, Lsg/bigo/live/support64/widget/refresh/d;->a(II)Z
move-result p1
if-nez p1, :cond_76
.line 195
iput-boolean v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
.line 196
iput v2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
goto :goto_9b
.line 198
:cond_76
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
iget v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
.line 6058
invoke-virtual {p1}, Lsg/bigo/live/support64/widget/refresh/d;->b()I
move-result v4
if-gez v3, :cond_84
neg-int v5, v3
if-le v5, v4, :cond_84
neg-int v3, v4
:cond_84
if-lez p3, :cond_95
int-to-float v4, v3
mul-float v4, v4, v0
.line 5076
invoke-virtual {p1}, Lsg/bigo/live/support64/widget/refresh/d;->b()I
move-result p1
int-to-float p1, p1
div-float/2addr v4, p1
add-float/2addr v4, v0
int-to-float p1, p3
mul-float v4, v4, p1
float-to-int p1, v4
goto :goto_96
:cond_95
move p1, p3
:goto_96
sub-int/2addr v3, p1
.line 198
iput v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
.line 199
aput p3, p4, v1
.line 201
:goto_9b
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_a6
.line 202
iget v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
iget v3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
invoke-interface {p1, v0, v3}, Lsg/bigo/live/support64/widget/refresh/c;->b(II)V
.line 204
:cond_a6
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
if-ne p1, v1, :cond_b0
.line 205
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
neg-int p1, p1
invoke-virtual {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->setScrollY(I)V
.line 208
:cond_b0
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->u:[I
aput v2, p1, v2
.line 209
aput v2, p1, v1
.line 210
aget v0, p4, v2
sub-int/2addr p2, v0
aget v0, p4, v1
sub-int/2addr p3, v0
const/4 v0, 0x0
invoke-virtual {p0, p2, p3, p1, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->dispatchNestedPreScroll(II[I[I)Z
move-result p1
if-eqz p1, :cond_d3
.line 211
aget p1, p4, v2
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->u:[I
aget p3, p2, v2
add-int/2addr p1, p3
aput p1, p4, v2
.line 212
aget p1, p4, v1
aget p2, p2, v1
add-int/2addr p1, p2
aput p1, p4, v1
:cond_d3
return-void
.end method
.method public onNestedScroll(Landroid/view/View;IIII)V
.registers 13
.line 218
sget-object p1, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
const-string v0, "onNestedScroll"
invoke-static {p1, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 219
iget-object v6, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->v:[I
const/4 p1, 0x0
aput p1, v6, p1
const/4 v0, 0x1
.line 220
aput p1, v6, v0
move-object v1, p0
move v2, p2
move v3, p3
move v4, p4
move v5, p5
.line 221
invoke-virtual/range {v1 .. v6}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->dispatchNestedScroll(IIII[I)Z
.line 222
iget-object p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->v:[I
aget p2, p2, v0
add-int/2addr p5, p2
if-gez p5, :cond_26
.line 224
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b()Z
move-result p2
if-nez p2, :cond_26
const/4 p2, 0x1
goto :goto_27
:cond_26
const/4 p2, 0x0
:goto_27
if-lez p5, :cond_3b
.line 225
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c()Z
move-result p3
if-nez p3, :cond_3b
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b()Z
move-result p3
if-eqz p3, :cond_3b
iget-boolean p3, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-nez p3, :cond_3b
const/4 p3, 0x1
goto :goto_3c
:cond_3b
const/4 p3, 0x0
:goto_3c
if-eqz p2, :cond_51
.line 227
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->o:Z
if-eqz p2, :cond_51
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-nez p2, :cond_4a
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-eqz p2, :cond_4e
:cond_4a
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-ne p2, v0, :cond_51
.line 229
:cond_4e
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
return-void
:cond_51
if-eqz p3, :cond_61
.line 233
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->p:Z
if-eqz p2, :cond_61
.line 234
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
if-nez p2, :cond_5f
.line 235
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e()V
goto :goto_61
.line 237
:cond_5f
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
.line 242
:cond_61
:goto_61
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->e:I
if-ne p2, v0, :cond_6d
.line 243
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
invoke-virtual {p1, p2}, Lsg/bigo/live/support64/widget/refresh/d;->a(Z)I
move-result p1
.line 245
:cond_6d
iget p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
if-eq p2, p1, :cond_83
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-nez p2, :cond_83
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
if-nez p2, :cond_83
iget-boolean p2, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
if-eqz p2, :cond_83
.line 246
iput p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
neg-int p1, p1
.line 247
invoke-virtual {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->setScrollY(I)V
:cond_83
return-void
.end method
.method public onStopNestedScroll(Landroid/view/View;)V
.registers 5
.line 253
invoke-super {p0, p1}, Lsg/bigo/live/support64/widget/refresh/NestScrollViewGroup;->onStopNestedScroll(Landroid/view/View;)V
.line 254
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
const/4 v0, 0x0
if-eqz p1, :cond_23
.line 255
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
invoke-virtual {v1}, Lsg/bigo/live/support64/widget/refresh/d;->c()I
move-result v1
if-le p1, v1, :cond_1e
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->h:Lsg/bigo/live/support64/widget/refresh/e;
if-eqz p1, :cond_1e
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
if-nez p1, :cond_1e
.line 257
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f()V
goto :goto_45
:cond_1e
const/4 p1, 0x1
.line 259
invoke-direct {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(Z)V
goto :goto_45
.line 261
:cond_23
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
if-eqz p1, :cond_45
.line 262
iget p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->g:I
neg-int p1, p1
iget-object v1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->w:Lsg/bigo/live/support64/widget/refresh/d;
invoke-virtual {v1}, Lsg/bigo/live/support64/widget/refresh/d;->d()I
move-result v1
if-le p1, v1, :cond_42
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-nez p1, :cond_42
.line 263
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->c()Z
move-result p1
if-nez p1, :cond_42
const-wide/16 v1, 0xc8
.line 6585
invoke-direct {p0, v1, v2}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(J)V
goto :goto_45
.line 266
:cond_42
invoke-direct {p0, v0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(Z)V
.line 269
:cond_45
:goto_45
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->k:Z
.line 270
iput-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->l:Z
return-void
.end method
.method public setHasMoreData(Z)V
.registers 2
.line 339
iput-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
.line 340
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-nez p1, :cond_6
:cond_6
return-void
.end method
.method public setLoadMoreEnable(Z)V
.registers 2
.line 355
iput-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->p:Z
return-void
.end method
.method public setLoadingMore(Z)V
.registers 5
.line 326
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
invoke-static {p1}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;
move-result-object v1
const-string v2, "setLoadingMore:"
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
if-nez p1, :cond_23
.line 327
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
if-eqz v0, :cond_23
const/4 p1, 0x0
.line 328
iput-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->i:Z
.line 329
invoke-direct {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(Z)V
.line 330
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_34
.line 331
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->i()V
return-void
:cond_23
if-eqz p1, :cond_34
.line 333
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d()Z
move-result p1
if-nez p1, :cond_34
iget-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->q:Z
if-eqz p1, :cond_34
const-wide/16 v0, 0xc8
.line 7585
invoke-direct {p0, v0, v1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(J)V
:cond_34
return-void
.end method
.method public setRefreshEnable(Z)V
.registers 2
.line 351
iput-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->o:Z
return-void
.end method
.method public setRefreshListener(Lsg/bigo/live/support64/widget/refresh/e;)V
.registers 2
.line 309
iput-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->h:Lsg/bigo/live/support64/widget/refresh/e;
return-void
.end method
.method public setRefreshProgressController(Lsg/bigo/live/support64/widget/refresh/c;)V
.registers 3
if-nez p1, :cond_3
return-void
.line 283
:cond_3
iput-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
.line 284
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->a()V
.line 285
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
iget v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f:I
invoke-interface {p1, v0}, Lsg/bigo/live/support64/widget/refresh/c;->a(I)V
.line 286
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->b()Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_20
.line 287
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->b()Landroid/view/View;
move-result-object p1
invoke-virtual {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->addView(Landroid/view/View;)V
.line 289
:cond_20
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->c()Landroid/view/View;
move-result-object p1
if-eqz p1, :cond_31
.line 290
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->c()Landroid/view/View;
move-result-object p1
invoke-virtual {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->addView(Landroid/view/View;)V
.line 295
:cond_31
invoke-static {}, Lsg/bigo/live/support64/widget/refresh/d;->e()V
.line 298
invoke-static {}, Lsg/bigo/live/support64/widget/refresh/d;->f()V
.line 305
invoke-virtual {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->postInvalidate()V
return-void
.end method
.method public setRefreshing(Z)V
.registers 5
.line 313
sget-object v0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->b:Ljava/lang/String;
invoke-static {p1}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;
move-result-object v1
const-string v2, "setRefreshing:"
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
if-nez p1, :cond_24
.line 314
iget-boolean v0, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
if-eqz v0, :cond_24
const/4 p1, 0x0
.line 315
iput-boolean p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->j:Z
const/4 p1, 0x1
.line 316
invoke-direct {p0, p1}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->a(Z)V
.line 317
iget-object p1, p0, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d:Lsg/bigo/live/support64/widget/refresh/c;
if-eqz p1, :cond_2f
.line 318
invoke-interface {p1}, Lsg/bigo/live/support64/widget/refresh/c;->g()V
return-void
:cond_24
if-eqz p1, :cond_2f
.line 320
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->d()Z
move-result p1
if-nez p1, :cond_2f
.line 321
invoke-direct {p0}, Lsg/bigo/live/support64/widget/refresh/CommonSwipeRefreshLayout;->f()V
:cond_2f
return-void
.end method