2019-02-04 20:08:30 +00:00
|
|
|
.class Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;
|
|
|
|
.super Landroid/view/animation/Animation;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "SwipeRefreshLayout.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field final synthetic this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
invoke-direct {p0}, Landroid/view/animation/Animation;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public applyTransformation(FLandroid/view/animation/Transformation;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget-boolean p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mUsingCustomStart:Z
|
|
|
|
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mSpinnerOffsetEnd:I
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget v0, v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mOriginalOffsetTop:I
|
|
|
|
|
|
|
|
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sub-int/2addr p2, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mSpinnerOffsetEnd:I
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object v0, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget v0, v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mFrom:I
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget v1, v1, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mFrom:I
|
|
|
|
|
|
|
|
sub-int/2addr p2, v1
|
|
|
|
|
|
|
|
int-to-float p2, p2
|
|
|
|
|
|
|
|
mul-float p2, p2, p1
|
|
|
|
|
|
|
|
float-to-int p2, p2
|
|
|
|
|
|
|
|
add-int/2addr v0, p2
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget-object p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mCircleView:Landroidx/swiperefreshlayout/widget/CircleImageView;
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Landroidx/swiperefreshlayout/widget/CircleImageView;->getTop()I
|
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
sub-int/2addr v0, p2
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setTargetOffsetTopAndBottom(I)V
|
|
|
|
|
|
|
|
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
|
|
|
|
|
|
|
|
iget-object p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mProgress:Landroidx/swiperefreshlayout/widget/CircularProgressDrawable;
|
|
|
|
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
sub-float/2addr v0, p1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0}, Landroidx/swiperefreshlayout/widget/CircularProgressDrawable;->setArrowScale(F)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|