TestActivity$14.smali
.class Lcom/yctpublication/mastes/test/TestActivity$14;
.super Landroid/os/CountDownTimer;
.source "TestActivity.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/yctpublication/mastes/test/TestActivity;->remainingTimeCounter()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/yctpublication/mastes/test/TestActivity;
# direct methods
.method constructor <init>(Lcom/yctpublication/mastes/test/TestActivity;JJ)V
.registers 6
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x8010,
0x0,
0x0
}
names = {
"this$0",
"millisInFuture",
"countDownInterval"
}
.end annotation
.line 387
iput-object p1, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
invoke-direct {p0, p2, p3, p4, p5}, Landroid/os/CountDownTimer;-><init>(JJ)V
return-void
.end method
# virtual methods
.method public onFinish()V
.registers 2
.line 403
iget-object v0, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
# invokes: Lcom/yctpublication/mastes/test/TestActivity;->submitTest()V
invoke-static {v0}, Lcom/yctpublication/mastes/test/TestActivity;->access$700(Lcom/yctpublication/mastes/test/TestActivity;)V
return-void
.end method
.method public onTick(J)V
.registers 9
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"millisUntilFinished"
}
.end annotation
const-wide/16 v0, 0x3e8
.line 391
div-long/2addr p1, v0
const-wide/16 v0, 0x3c
.line 392
rem-long v2, p1, v0
.line 393
div-long v4, p1, v0
rem-long/2addr v4, v0
const-wide/16 v0, 0xe10
.line 394
div-long/2addr p1, v0
const-wide/16 v0, 0x18
rem-long/2addr p1, v0
.line 396
iget-object v0, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
const/4 v1, 0x3
new-array v1, v1, [Ljava/lang/Object;
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
const/4 p2, 0x0
aput-object p1, v1, p2
invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
const/4 p2, 0x1
aput-object p1, v1, p2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
const/4 p2, 0x2
aput-object p1, v1, p2
const-string p1, "%02d:%02d:%02d"
invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
iput-object p1, v0, Lcom/yctpublication/mastes/test/TestActivity;->timeLeft:Ljava/lang/String;
.line 398
iget-object p1, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
iget-object p1, p1, Lcom/yctpublication/mastes/test/TestActivity;->remainingTime:Landroid/widget/TextView;
new-instance p2, Ljava/lang/StringBuilder;
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
iget-object v0, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
const v1, 0x7f120135
invoke-virtual {v0, v1}, Lcom/yctpublication/mastes/test/TestActivity;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p2
iget-object v0, p0, Lcom/yctpublication/mastes/test/TestActivity$14;->this$0:Lcom/yctpublication/mastes/test/TestActivity;
iget-object v0, v0, Lcom/yctpublication/mastes/test/TestActivity;->timeLeft:Ljava/lang/String;
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object p2
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
return-void
.end method