89 lines
2.2 KiB
Smali
89 lines
2.2 KiB
Smali
.class Lcom/moji/mjweather/TabWeatherFragment$16;
|
|
.super Ljava/lang/Object;
|
|
.source "TabWeatherFragment.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/TabWeatherFragment;->f(Z)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:Lcom/moji/mjweather/TabWeatherFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/TabWeatherFragment;I)V
|
|
.locals 0
|
|
|
|
.line 2702
|
|
iput-object p1, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->b:Lcom/moji/mjweather/TabWeatherFragment;
|
|
|
|
iput p2, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->a:I
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
|
|
.locals 2
|
|
|
|
.line 2705
|
|
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
|
|
|
|
.line 2706
|
|
iget-object v0, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->b:Lcom/moji/mjweather/TabWeatherFragment;
|
|
|
|
invoke-static {v0}, Lcom/moji/mjweather/TabWeatherFragment;->b(Lcom/moji/mjweather/TabWeatherFragment;)Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/ViewGroup;->setAlpha(F)V
|
|
|
|
.line 2707
|
|
iget v0, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->a:I
|
|
|
|
int-to-float v0, v0
|
|
|
|
mul-float p1, p1, v0
|
|
|
|
.line 2708
|
|
iget-object v0, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->b:Lcom/moji/mjweather/TabWeatherFragment;
|
|
|
|
invoke-static {v0}, Lcom/moji/mjweather/TabWeatherFragment;->b(Lcom/moji/mjweather/TabWeatherFragment;)Landroid/view/ViewGroup;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Lcom/moji/mjweather/TabWeatherFragment$16;->a:I
|
|
|
|
int-to-float v1, v1
|
|
|
|
sub-float/2addr v1, p1
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setTranslationY(F)V
|
|
|
|
return-void
|
|
.end method
|