.class public Lcom/moji/mjad/common/view/creater/position/AdVoiceAboveViewCreater;
.super Lcom/moji/mjad/common/view/creater/style/AdIconViewCreater;
.source "AdVoiceAboveViewCreater.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 21
    invoke-direct {p0, p1}, Lcom/moji/mjad/common/view/creater/style/AdIconViewCreater;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/view/View;)V
    .locals 1

    .line 26
    invoke-super {p0, p1}, Lcom/moji/mjad/common/view/creater/style/AdIconViewCreater;->a(Landroid/view/View;)V

    .line 27
    sget p1, Lcom/moji/mjad/R$dimen;->ad_voice_width:I

    invoke-static {p1}, Lcom/moji/tool/DeviceTool;->a(I)F

    move-result p1

    float-to-int p1, p1

    .line 28
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdVoiceAboveViewCreater;->b:Landroid/widget/ImageView;

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

    .line 29
    iget-object v0, p0, Lcom/moji/mjad/common/view/creater/position/AdVoiceAboveViewCreater;->b:Landroid/widget/ImageView;

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

    .line 30
    iput p1, p0, Lcom/moji/mjad/common/view/creater/position/AdVoiceAboveViewCreater;->k:I

    .line 31
    invoke-virtual {p0, p1, p1}, Lcom/moji/mjad/common/view/creater/position/AdVoiceAboveViewCreater;->a(II)V

    return-void
.end method
