You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
3.5 KiB
150 lines
3.5 KiB
2 years ago
|
.class Lcom/viatech/widget/DownloadDialog$2;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "DownloadDialog.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lcom/viatech/util/HttpDownloadManager$OnDownloadListener;
|
||
|
|
||
|
|
||
|
# 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 <init>(Lcom/viatech/widget/DownloadDialog;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 58
|
||
|
iput-object p1, p0, Lcom/viatech/widget/DownloadDialog$2;->this$0:Lcom/viatech/widget/DownloadDialog;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onDownloadEnd(Lcom/viatech/util/DownloadTask;Z)V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
.line 66
|
||
|
iget-object v0, p0, Lcom/viatech/widget/DownloadDialog$2;->this$0:Lcom/viatech/widget/DownloadDialog;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/widget/DownloadDialog;->access$300(Lcom/viatech/widget/DownloadDialog;)Lcom/viatech/widget/DownloadDialog$DownloadDialogListener;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 67
|
||
|
if-eqz p2, :cond_1
|
||
|
|
||
|
invoke-virtual {p1}, Lcom/viatech/util/DownloadTask;->getFilePath()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 68
|
||
|
:goto_0
|
||
|
iget-object v2, p0, Lcom/viatech/widget/DownloadDialog$2;->this$0:Lcom/viatech/widget/DownloadDialog;
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/widget/DownloadDialog;->access$300(Lcom/viatech/widget/DownloadDialog;)Lcom/viatech/widget/DownloadDialog$DownloadDialogListener;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {v2, v0}, Lcom/viatech/widget/DownloadDialog$DownloadDialogListener;->onDownloadEnd(Ljava/lang/String;)V
|
||
|
|
||
|
.line 70
|
||
|
:cond_0
|
||
|
invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
.line 71
|
||
|
iput v1, v2, Landroid/os/Message;->what:I
|
||
|
|
||
|
.line 72
|
||
|
if-eqz p2, :cond_2
|
||
|
|
||
|
move v0, v1
|
||
|
|
||
|
:goto_1
|
||
|
iput v0, v2, Landroid/os/Message;->arg1:I
|
||
|
|
||
|
.line 73
|
||
|
iget-object v0, p0, Lcom/viatech/widget/DownloadDialog$2;->this$0:Lcom/viatech/widget/DownloadDialog;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/widget/DownloadDialog;->access$400(Lcom/viatech/widget/DownloadDialog;)Landroid/os/Handler;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0, v2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
|
||
|
|
||
|
.line 74
|
||
|
return-void
|
||
|
|
||
|
.line 67
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 72
|
||
|
:cond_2
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_1
|
||
|
.end method
|
||
|
|
||
|
.method public onDownloadProgress(Lcom/viatech/util/DownloadTask;I)V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 78
|
||
|
invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 79
|
||
|
iput p2, v0, Landroid/os/Message;->arg1:I
|
||
|
|
||
|
.line 80
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
iput v1, v0, Landroid/os/Message;->what:I
|
||
|
|
||
|
.line 81
|
||
|
iget-object v1, p0, Lcom/viatech/widget/DownloadDialog$2;->this$0:Lcom/viatech/widget/DownloadDialog;
|
||
|
|
||
|
invoke-static {v1}, Lcom/viatech/widget/DownloadDialog;->access$400(Lcom/viatech/widget/DownloadDialog;)Landroid/os/Handler;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
|
||
|
|
||
|
.line 82
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public onDownloadStart(Lcom/viatech/util/DownloadTask;)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 62
|
||
|
return-void
|
||
|
.end method
|