GameBoostLoadingView.smali
.class public Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;
.super Landroid/widget/FrameLayout;
.source "GameBoostLoadingView.java"
# instance fields
.field a:Landroid/widget/ImageView;
.field b:Landroid/widget/ProgressBar;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 3
.prologue
.line 23
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.line 24
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.registers 4
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.prologue
.line 27
const/4 v0, 0x0
invoke-direct {p0, p1, p2, v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 28
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.registers 4
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param
.prologue
.line 31
invoke-direct {p0, p1, p2, p3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 32
invoke-direct {p0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->c()V
.line 33
return-void
.end method
.method private c()V
.registers 4
.prologue
.line 36
invoke-virtual {p0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object v0
sget v1, Lcom/cleanmaster/gameboost/R$layout;->game_boost_loading_view:I
const/4 v2, 0x1
invoke-virtual {v0, v1, p0, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
.line 37
sget v0, Lcom/cleanmaster/gameboost/R$id;->iv_icon_success:I
invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a:Landroid/widget/ImageView;
.line 38
sget v0, Lcom/cleanmaster/gameboost/R$id;->iv_icon_loading:I
invoke-virtual {p0, v0}, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ProgressBar;
iput-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->b:Landroid/widget/ProgressBar;
.line 39
return-void
.end method
# virtual methods
.method public a()V
.registers 3
.prologue
.line 43
iget-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a:Landroid/widget/ImageView;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
.line 44
iget-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->b:Landroid/widget/ProgressBar;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V
.line 45
return-void
.end method
.method public b()V
.registers 3
.prologue
.line 48
iget-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->a:Landroid/widget/ImageView;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V
.line 49
iget-object v0, p0, Lcom/cleanmaster/gameboost/view/GameBoostLoadingView;->b:Landroid/widget/ProgressBar;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V
.line 50
return-void
.end method