.class public Lcom/moji/mjweather/aqi/control/AQIGapViewControl;
.super Lcom/moji/viewcontrol/MJViewControl;
.source "AQIGapViewControl.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/moji/viewcontrol/MJViewControl<",
        "Lcom/moji/http/weather/entity/AqiBean;",
        ">;"
    }
.end annotation


# instance fields
.field private a:I


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

    .line 27
    invoke-direct {p0, p1}, Lcom/moji/viewcontrol/MJViewControl;-><init>(Landroid/content/Context;)V

    const/16 p1, 0xa

    .line 20
    iput p1, p0, Lcom/moji/mjweather/aqi/control/AQIGapViewControl;->a:I

    return-void
.end method


# virtual methods
.method public a(Lcom/moji/http/weather/entity/AqiBean;)V
    .locals 0

    return-void
.end method

.method protected getResLayoutId()I
    .locals 1

    const v0, 0x7f0b0245

    return v0
.end method

.method public synthetic onBindViewData(Ljava/lang/Object;)V
    .locals 0

    .line 18
    check-cast p1, Lcom/moji/http/weather/entity/AqiBean;

    invoke-virtual {p0, p1}, Lcom/moji/mjweather/aqi/control/AQIGapViewControl;->a(Lcom/moji/http/weather/entity/AqiBean;)V

    return-void
.end method

.method protected onCreatedView(Landroid/view/View;)V
    .locals 3

    .line 42
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v1, p0, Lcom/moji/mjweather/aqi/control/AQIGapViewControl;->a:I

    int-to-float v1, v1

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

    move-result v1

    const/4 v2, -0x1

    invoke-direct {v0, v2, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

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

    return-void
.end method
