.class Lcom/moji/mjad/common/view/CommonAdView$1;
.super Ljava/lang/Object;
.source "CommonAdView.java"

# interfaces
.implements Landroid/animation/ValueAnimator$AnimatorUpdateListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjad/common/view/CommonAdView;->onAdViewVisible(Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

.field final synthetic b:Lcom/moji/mjad/common/view/CommonAdView;


# direct methods
.method constructor <init>(Lcom/moji/mjad/common/view/CommonAdView;Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;)V
    .locals 0

    .line 202
    iput-object p1, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->b:Lcom/moji/mjad/common/view/CommonAdView;

    iput-object p2, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationUpdate(Landroid/animation/ValueAnimator;)V
    .locals 1

    .line 205
    invoke-virtual {p1}, Landroid/animation/ValueAnimator;->getAnimatedValue()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    .line 206
    iget-object v0, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {v0}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->d()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 207
    iget-object v0, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {v0}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->d()Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    .line 208
    iput p1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    .line 209
    iget-object p1, p0, Lcom/moji/mjad/common/view/CommonAdView$1;->a:Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;

    invoke-virtual {p1}, Lcom/moji/mjad/common/view/creater/AbsAdStyleViewCreater;->d()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_0
    return-void
.end method
