WelcomeActivity$WelcomeCount.smali

.class Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;
.super Landroid/os/CountDownTimer;
.source "WelcomeActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/hurizem/activity/WelcomeActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "WelcomeCount"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/hurizem/activity/WelcomeActivity;


# direct methods
.method public constructor <init>(Lcom/hurizem/activity/WelcomeActivity;JJ)V
    .registers 6
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010,
            0x0,
            0x0
        }
        names = {
            "this$0",
            "millisInFuture",
            "countDownInterval"
        }
    .end annotation

    .line 171
    iput-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    .line 172
    invoke-direct {p0, p2, p3, p4, p5}, Landroid/os/CountDownTimer;-><init>(JJ)V

    return-void
.end method


# virtual methods
.method public onFinish()V
    .registers 1

    return-void
.end method

.method public onTick(J)V
    .registers 7
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0
        }
        names = {
            "millisUntilFinished"
        }
    .end annotation

    .line 177
    iget-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    iget-wide v0, p1, Lcom/hurizem/activity/WelcomeActivity;->timeCount:J

    const-wide/16 v2, 0x1

    sub-long/2addr v0, v2

    iput-wide v0, p1, Lcom/hurizem/activity/WelcomeActivity;->timeCount:J

    .line 178
    iget-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    iget-wide p1, p1, Lcom/hurizem/activity/WelcomeActivity;->timeCount:J

    cmp-long v0, p1, v2

    if-ltz v0, :cond_2d

    .line 179
    iget-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    iget-object p1, p1, Lcom/hurizem/activity/WelcomeActivity;->skipTv:Landroid/widget/TextView;

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, "\u8df3\u8fc7"

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    iget-wide v0, v0, Lcom/hurizem/activity/WelcomeActivity;->timeCount:J

    invoke-virtual {p2, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 181
    :cond_2d
    iget-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    iget-wide p1, p1, Lcom/hurizem/activity/WelcomeActivity;->timeCount:J

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-nez v2, :cond_3c

    .line 182
    iget-object p1, p0, Lcom/hurizem/activity/WelcomeActivity$WelcomeCount;->this$0:Lcom/hurizem/activity/WelcomeActivity;

    # invokes: Lcom/hurizem/activity/WelcomeActivity;->gotoLoginActivity()V
    invoke-static {p1}, Lcom/hurizem/activity/WelcomeActivity;->access$000(Lcom/hurizem/activity/WelcomeActivity;)V

    :cond_3c
    return-void
.end method