Weather/smali_classes2/com/moji/mjweather/TabNewLiveViewFragment$22$1.smali
2021-05-10 10:13:34 +02:00

92 lines
2.6 KiB
Smali

.class Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;
.super Ljava/lang/Object;
.source "TabNewLiveViewFragment.java"
# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/moji/mjweather/TabNewLiveViewFragment$22;->onAnimationEnd(Landroid/animation/Animator;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:I
.field final synthetic b:Landroid/view/animation/Interpolator;
.field final synthetic c:I
.field final synthetic d:Lcom/moji/mjweather/TabNewLiveViewFragment$22;
# direct methods
.method constructor <init>(Lcom/moji/mjweather/TabNewLiveViewFragment$22;ILandroid/view/animation/Interpolator;I)V
.locals 0
.line 996
iput-object p1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->d:Lcom/moji/mjweather/TabNewLiveViewFragment$22;
iput p2, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->a:I
iput-object p3, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->b:Landroid/view/animation/Interpolator;
iput p4, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->c:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
.locals 4
.line 999
iget-object v0, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->d:Lcom/moji/mjweather/TabNewLiveViewFragment$22;
iget-object v0, v0, Lcom/moji/mjweather/TabNewLiveViewFragment$22;->c:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;
iget-object v0, v0, Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;->a:Landroid/view/View;
iget v1, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->a:I
int-to-float v1, v1
iget-object v2, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->b:Landroid/view/animation/Interpolator;
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
iget v3, p0, Lcom/moji/mjweather/TabNewLiveViewFragment$22$1;->c:I
int-to-float v3, v3
div-float/2addr p1, v3
invoke-interface {v2, p1}, Landroid/view/animation/Interpolator;->getInterpolation(F)F
move-result p1
mul-float v1, v1, p1
invoke-virtual {v0, v1}, Landroid/view/View;->setTranslationY(F)V
return-void
.end method