.class Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;
.super Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$NormalViewHolder;
.source "LowEndFeedHomeAdapter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;
.end annotation

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


# instance fields
.field final synthetic n:Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;

.field private w:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;Landroid/view/View;)V
    .locals 1

    .line 245
    iput-object p1, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->n:Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;

    .line 246
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$NormalViewHolder;-><init>(Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;Landroid/view/View;)V

    .line 247
    new-instance v0, Landroid/widget/LinearLayout;

    invoke-static {p1}, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;->a(Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter;)Landroid/content/Context;

    move-result-object p1

    invoke-direct {v0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->s:Landroid/widget/LinearLayout;

    const p1, 0x7f090d32

    .line 248
    invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    iput-object p1, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->w:Landroid/widget/ImageView;

    .line 249
    iget-object p1, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->w:Landroid/widget/ImageView;

    invoke-virtual {p1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 251
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result p2

    const/high16 v0, 0x41d00000    # 26.0f

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

    move-result v0

    sub-int/2addr p2, v0

    div-int/lit8 p2, p2, 0x3

    iput p2, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 252
    iget p2, p1, Landroid/view/ViewGroup$LayoutParams;->width:I

    int-to-float p2, p2

    const/high16 v0, 0x428e0000    # 71.0f

    mul-float p2, p2, v0

    const/high16 v0, 0x42de0000    # 111.0f

    div-float/2addr p2, v0

    float-to-int p2, p2

    iput p2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 253
    iget-object p2, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->w:Landroid/widget/ImageView;

    invoke-virtual {p2, p1}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;)Landroid/widget/ImageView;
    .locals 0

    .line 242
    iget-object p0, p0, Lcom/moji/mjweather/weather/control/LowEndFeedHomeAdapter$Normal12ViewHolder;->w:Landroid/widget/ImageView;

    return-object p0
.end method
