.class Lcom/moji/mjweather/tabme/TabMeFragment$25;
.super Landroid/animation/AnimatorListenerAdapter;
.source "TabMeFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/tabme/TabMeFragment;->a(Lcom/moji/mjad/tab/data/AdBlocking;Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;Landroid/app/Dialog;Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;

.field final synthetic b:[I

.field final synthetic c:[I

.field final synthetic d:Lcom/moji/mjad/tab/data/AdBlocking;

.field final synthetic e:Landroid/app/Dialog;

.field final synthetic f:Z

.field final synthetic g:Lcom/moji/mjweather/tabme/TabMeFragment;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/tabme/TabMeFragment;Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;[I[ILcom/moji/mjad/tab/data/AdBlocking;Landroid/app/Dialog;Z)V
    .locals 0

    .line 1395
    iput-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->g:Lcom/moji/mjweather/tabme/TabMeFragment;

    iput-object p2, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->a:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;

    iput-object p3, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->b:[I

    iput-object p4, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->c:[I

    iput-object p5, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->d:Lcom/moji/mjad/tab/data/AdBlocking;

    iput-object p6, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->e:Landroid/app/Dialog;

    iput-boolean p7, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->f:Z

    invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
    .locals 8

    .line 1398
    invoke-super {p0, p1}, Landroid/animation/AnimatorListenerAdapter;->onAnimationEnd(Landroid/animation/Animator;)V

    .line 1399
    iget-object p1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->a:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;

    iget-object p1, p1, Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->b:[I

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->getLocationOnScreen([I)V

    const-string p1, "translationX"

    const/4 v0, 0x2

    .line 1400
    new-array v1, v0, [F

    const/4 v2, 0x0

    const/4 v3, 0x0

    aput v2, v1, v3

    iget-object v4, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->c:[I

    aget v4, v4, v3

    iget-object v5, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->b:[I

    aget v5, v5, v3

    sub-int/2addr v4, v5

    int-to-float v4, v4

    const/4 v5, 0x1

    aput v4, v1, v5

    invoke-static {p1, v1}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;

    move-result-object p1

    const-string v1, "translationY"

    .line 1401
    new-array v4, v0, [F

    aput v2, v4, v3

    iget-object v6, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->c:[I

    aget v6, v6, v5

    iget-object v7, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->b:[I

    aget v7, v7, v5

    sub-int/2addr v6, v7

    int-to-float v6, v6

    aput v6, v4, v5

    invoke-static {v1, v4}, Landroid/animation/PropertyValuesHolder;->ofFloat(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;

    move-result-object v1

    .line 1402
    iget-object v4, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->a:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;

    iget-object v4, v4, Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;->a:Landroid/view/View;

    new-array v0, v0, [Landroid/animation/PropertyValuesHolder;

    aput-object p1, v0, v3

    aput-object v1, v0, v5

    invoke-static {v4, v0}, Landroid/animation/ObjectAnimator;->ofPropertyValuesHolder(Ljava/lang/Object;[Landroid/animation/PropertyValuesHolder;)Landroid/animation/ObjectAnimator;

    move-result-object p1

    const/high16 v0, 0x3f800000    # 1.0f

    .line 1403
    invoke-static {v2, v0}, Landroid/support/v4/view/animation/PathInterpolatorCompat;->create(FF)Landroid/view/animation/Interpolator;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    const-wide/16 v0, 0x190

    .line 1404
    invoke-virtual {p1, v0, v1}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 1405
    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->d:Lcom/moji/mjad/tab/data/AdBlocking;

    iget-object v0, v0, Lcom/moji/mjad/tab/data/AdBlocking;->closeAnimation:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_0

    .line 1406
    iget-object v0, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->a:Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;

    iget-object v0, v0, Lcom/moji/mjad/tab/BlockingViewCreater$BlockingView;->b:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/moji/mjweather/tabme/TabMeFragment$25;->d:Lcom/moji/mjad/tab/data/AdBlocking;

    iget-object v1, v1, Lcom/moji/mjad/tab/data/AdBlocking;->closeAnimation:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const-wide/16 v0, 0x12c

    .line 1407
    invoke-virtual {p1, v0, v1}, Landroid/animation/ObjectAnimator;->setStartDelay(J)V

    .line 1409
    :cond_0
    new-instance v0, Lcom/moji/mjweather/tabme/TabMeFragment$25$1;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/tabme/TabMeFragment$25$1;-><init>(Lcom/moji/mjweather/tabme/TabMeFragment$25;)V

    invoke-virtual {p1, v0}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 1423
    invoke-virtual {p1}, Landroid/animation/ObjectAnimator;->start()V

    return-void
.end method
