apkfuckery/com.discord/smali/androidx/swiperefreshlayout/widget/SwipeRefreshLayout$6.smali

97 lines
3 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;
2019-07-24 11:27:29 +00:00
.super Landroid/view/animation/Animation;
.source "SwipeRefreshLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;)V
2019-07-24 11:27:29 +00:00
.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;
2019-12-06 03:29:40 +00:00
iget-boolean v0, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mUsingCustomStart:Z
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v0, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mSpinnerOffsetEnd:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mOriginalOffsetTop:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {p2}, Ljava/lang/Math;->abs(I)I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result p2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sub-int/2addr v0, p2
2019-07-24 11:27:29 +00:00
goto :goto_0
:cond_0
2019-12-06 03:29:40 +00:00
iget v0, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mSpinnerOffsetEnd:I
2019-07-24 11:27:29 +00:00
:goto_0
2019-12-06 03:29:40 +00:00
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget v1, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mFrom:I
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sub-int/2addr v0, v1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
int-to-float v0, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
mul-float v0, v0, p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
float-to-int v0, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-int/2addr v1, v0
2019-07-24 11:27:29 +00:00
iget-object p2, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mCircleView:Landroidx/swiperefreshlayout/widget/CircleImageView;
2019-12-06 03:29:40 +00:00
invoke-virtual {p2}, Landroid/widget/ImageView;->getTop()I
2019-07-24 11:27:29 +00:00
move-result p2
2019-12-06 03:29:40 +00:00
sub-int/2addr v1, p2
2019-07-24 11:27:29 +00:00
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$6;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setTargetOffsetTopAndBottom(I)V
2019-07-24 11:27:29 +00:00
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