mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
79 lines
2.3 KiB
Smali
79 lines
2.3 KiB
Smali
|
.class Landroidx/recyclerview/widget/FastScroller$AnimatorUpdater;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "FastScroller.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Landroidx/recyclerview/widget/FastScroller;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x2
|
||
|
name = "AnimatorUpdater"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Landroidx/recyclerview/widget/FastScroller;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroidx/recyclerview/widget/FastScroller;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/recyclerview/widget/FastScroller$AnimatorUpdater;->this$0:Landroidx/recyclerview/widget/FastScroller;
|
||
|
|
||
|
.line 577
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
||
|
.locals 1
|
||
|
|
||
|
.line 582
|
||
|
invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Ljava/lang/Float;
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
const/high16 v0, 0x437f0000 # 255.0f
|
||
|
|
||
|
mul-float/2addr p1, v0
|
||
|
|
||
|
float-to-int p1, p1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/FastScroller$AnimatorUpdater;->this$0:Landroidx/recyclerview/widget/FastScroller;
|
||
|
|
||
|
.line 583
|
||
|
iget-object v0, v0, Landroidx/recyclerview/widget/FastScroller;->mVerticalThumbDrawable:Landroid/graphics/drawable/StateListDrawable;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/StateListDrawable;->setAlpha(I)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/recyclerview/widget/FastScroller$AnimatorUpdater;->this$0:Landroidx/recyclerview/widget/FastScroller;
|
||
|
|
||
|
.line 584
|
||
|
iget-object v0, v0, Landroidx/recyclerview/widget/FastScroller;->mVerticalTrackDrawable:Landroid/graphics/drawable/Drawable;
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V
|
||
|
|
||
|
iget-object p0, p0, Landroidx/recyclerview/widget/FastScroller$AnimatorUpdater;->this$0:Landroidx/recyclerview/widget/FastScroller;
|
||
|
|
||
|
.line 585
|
||
|
invoke-virtual {p0}, Landroidx/recyclerview/widget/FastScroller;->requestRedraw()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|