LottieFooter.smali
.class public Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;
.super Landroid/widget/RelativeLayout;
.source "LottieFooter.java"
# interfaces
.implements Lcom/cmcm/safewallet/ui/widget/pull/a;
# instance fields
.field private mLoading:Landroid/view/View;
.field private mSearch:Landroid/widget/TextView;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.registers 5
.prologue
.line 30
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
.line 31
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object v0
const v1, 0x7f0300de
const/4 v2, 0x1
invoke-virtual {v0, v1, p0, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
.line 32
const v0, 0x7f0f03c1
invoke-virtual {p0, v0}, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
iput-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mSearch:Landroid/widget/TextView;
.line 33
const v0, 0x7f0f03c0
invoke-virtual {p0, v0}, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->findViewById(I)Landroid/view/View;
move-result-object v0
iput-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
.line 34
return-void
.end method
.method private sJ()V
.registers 3
.prologue
.line 82
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V
.line 83
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 84
return-void
.end method
# virtual methods
.method public final uF()V
.registers 8
.prologue
const/4 v3, 0x1
const/high16 v4, 0x3f000000 # 0.5f
.line 40
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mSearch:Landroid/widget/TextView;
const v1, 0x7f080128
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V
.line 1070
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V
.line 1071
iget-object v0, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
invoke-virtual {v0}, Landroid/view/View;->getAnimation()Landroid/view/animation/Animation;
move-result-object v0
if-nez v0, :cond_39
.line 1072
new-instance v0, Landroid/view/animation/RotateAnimation;
const/4 v1, 0x0
const/high16 v2, 0x43b40000 # 360.0f
move v5, v3
move v6, v4
invoke-direct/range {v0 .. v6}, Landroid/view/animation/RotateAnimation;-><init>(FFIFIF)V
.line 1074
const/4 v1, -0x1
invoke-virtual {v0, v1}, Landroid/view/animation/RotateAnimation;->setRepeatCount(I)V
.line 1075
new-instance v1, Landroid/view/animation/LinearInterpolator;
invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V
invoke-virtual {v0, v1}, Landroid/view/animation/RotateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V
.line 1076
const-wide/16 v2, 0x1f4
invoke-virtual {v0, v2, v3}, Landroid/view/animation/RotateAnimation;->setDuration(J)V
.line 1077
iget-object v1, p0, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->mLoading:Landroid/view/View;
invoke-virtual {v1, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V
.line 42
:cond_39
return-void
.end method
.method public final uG()V
.registers 1
.prologue
.line 61
invoke-direct {p0}, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->sJ()V
.line 62
return-void
.end method
.method public final uH()V
.registers 1
.prologue
.line 66
invoke-direct {p0}, Lcom/cmcm/safewallet/ui/widget/pull/LottieFooter;->sJ()V
.line 67
return-void
.end method