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

55 lines
1.8 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$8;
2019-07-24 11:27:29 +00:00
.super Landroid/view/animation/Animation;
.source "SwipeRefreshLayout.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->startScaleDownReturnToStartAnimation(ILandroid/view/animation/Animation$AnimationListener;)V
.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$8;->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
2019-12-06 03:29:40 +00:00
.locals 2
2019-07-24 11:27:29 +00:00
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$8;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
2019-12-06 03:29:40 +00:00
iget v0, p2, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->mStartingScale:F
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
neg-float v1, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
mul-float v1, v1, p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
add-float/2addr v1, v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p2, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setAnimationProgress(F)V
2019-07-24 11:27:29 +00:00
iget-object p2, p0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$8;->this$0:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;
invoke-virtual {p2, p1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->moveToStart(F)V
return-void
.end method