.class public final Lcom/baidu/mobads/CpuAdView;
.super Landroid/widget/RelativeLayout;
.source "SourceFile"


# instance fields
.field private a:Lcom/baidu/mobads/production/c/b;


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

    .line 16
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/baidu/mobads/CpuInfoManager$UrlListener;)V
    .locals 1

    .line 22
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 23
    new-instance p4, Lcom/baidu/mobads/component/XAdView;

    invoke-direct {p4, p1}, Lcom/baidu/mobads/component/XAdView;-><init>(Landroid/content/Context;)V

    .line 24
    new-instance v0, Lcom/baidu/mobads/production/c/b;

    invoke-direct {v0, p1, p4, p2, p3}, Lcom/baidu/mobads/production/c/b;-><init>(Landroid/content/Context;Landroid/widget/RelativeLayout;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/baidu/mobads/CpuAdView;->a:Lcom/baidu/mobads/production/c/b;

    .line 25
    iget-object p1, p0, Lcom/baidu/mobads/CpuAdView;->a:Lcom/baidu/mobads/production/c/b;

    invoke-virtual {p1}, Lcom/baidu/mobads/production/c/b;->request()V

    .line 26
    new-instance p1, Landroid/view/ViewGroup$LayoutParams;

    const/4 p2, -0x1

    invoke-direct {p1, p2, p2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p0, p4, p1}, Lcom/baidu/mobads/CpuAdView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method
