110 lines
3.2 KiB
Smali
110 lines
3.2 KiB
Smali
.class public Lcom/moji/mjad/view/AdCommonMaskView;
|
|
.super Lcom/moji/mjad/view/AbsAdMaskView;
|
|
.source "AdCommonMaskView.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 19
|
|
invoke-direct {p0, p1}, Lcom/moji/mjad/view/AbsAdMaskView;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/mjad/view/AbsAdMaskView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 27
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjad/view/AbsAdMaskView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method setView(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
.line 32
|
|
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object p1
|
|
|
|
sget v0, Lcom/moji/mjad/R$layout;->moji_ad_mask_style_one:I
|
|
|
|
invoke-virtual {p1, v0, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
.line 33
|
|
sget p1, Lcom/moji/mjad/R$id;->tvCloseAd:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/view/AdCommonMaskView;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->b:Landroid/widget/TextView;
|
|
|
|
.line 34
|
|
sget p1, Lcom/moji/mjad/R$id;->tvOpenVip:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/view/AdCommonMaskView;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->c:Landroid/widget/TextView;
|
|
|
|
.line 35
|
|
sget p1, Lcom/moji/mjad/R$id;->tvOpenVipTip:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/view/AdCommonMaskView;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->a:Landroid/widget/TextView;
|
|
|
|
.line 36
|
|
sget p1, Lcom/moji/mjad/R$id;->rl_mask_view:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/view/AdCommonMaskView;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/RelativeLayout;
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->d:Landroid/widget/RelativeLayout;
|
|
|
|
.line 37
|
|
sget p1, Lcom/moji/mjad/R$id;->center_fillView:I
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/mjad/view/AdCommonMaskView;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->e:Landroid/view/View;
|
|
|
|
.line 38
|
|
iget-object p1, p0, Lcom/moji/mjad/view/AdCommonMaskView;->d:Landroid/widget/RelativeLayout;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p1, v0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
return-void
|
|
.end method
|