.class Lcom/viatech/widget/DownloadDialog$1; .super Landroid/os/Handler; .source "DownloadDialog.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/viatech/widget/DownloadDialog; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/viatech/widget/DownloadDialog; # direct methods .method constructor (Lcom/viatech/widget/DownloadDialog;)V .locals 0 .prologue .line 38 iput-object p1, p0, Lcom/viatech/widget/DownloadDialog$1;->this$0:Lcom/viatech/widget/DownloadDialog; invoke-direct {p0}, Landroid/os/Handler;->()V return-void .end method # virtual methods .method public handleMessage(Landroid/os/Message;)V .locals 3 .prologue .line 41 invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V .line 42 iget v0, p1, Landroid/os/Message;->what:I packed-switch v0, :pswitch_data_0 .line 54 :goto_0 return-void .line 44 :pswitch_0 iget-object v0, p0, Lcom/viatech/widget/DownloadDialog$1;->this$0:Lcom/viatech/widget/DownloadDialog; invoke-static {v0}, Lcom/viatech/widget/DownloadDialog;->access$000(Lcom/viatech/widget/DownloadDialog;)Landroid/widget/ProgressBar; move-result-object v0 iget v1, p1, Landroid/os/Message;->arg1:I invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V .line 45 iget-object v0, p0, Lcom/viatech/widget/DownloadDialog$1;->this$0:Lcom/viatech/widget/DownloadDialog; invoke-static {v0}, Lcom/viatech/widget/DownloadDialog;->access$100(Lcom/viatech/widget/DownloadDialog;)Landroid/widget/TextView; move-result-object v0 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 iget v2, p1, Landroid/os/Message;->arg1:I invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v1 const-string v2, "%" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V goto :goto_0 .line 48 :pswitch_1 iget v0, p1, Landroid/os/Message;->arg1:I const/4 v1, 0x1 if-ne v0, v1, :cond_0 .line 49 const v0, 0x7f07008f invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V .line 51 :cond_0 iget-object v0, p0, Lcom/viatech/widget/DownloadDialog$1;->this$0:Lcom/viatech/widget/DownloadDialog; invoke-static {v0}, Lcom/viatech/widget/DownloadDialog;->access$200(Lcom/viatech/widget/DownloadDialog;)Landroid/app/AlertDialog; move-result-object v0 invoke-virtual {v0}, Landroid/app/AlertDialog;->dismiss()V goto :goto_0 .line 42 :pswitch_data_0 .packed-switch 0x0 :pswitch_0 :pswitch_1 .end packed-switch .end method