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.
709 lines
25 KiB
709 lines
25 KiB
.class Lcom/viatech/gallery/RemoteGalleryView$1; |
|
.super Landroid/os/Handler; |
|
.source "RemoteGalleryView.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/viatech/gallery/RemoteGalleryView; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/RemoteGalleryView;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 275 |
|
iput-object p1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public handleMessage(Landroid/os/Message;)V |
|
.locals 7 |
|
|
|
.prologue |
|
const/16 v6, 0x3ed |
|
|
|
const/16 v4, 0x8 |
|
|
|
const/4 v3, 0x1 |
|
|
|
const/4 v2, 0x4 |
|
|
|
const/4 v5, 0x0 |
|
|
|
.line 278 |
|
iget v0, p1, Landroid/os/Message;->what:I |
|
|
|
packed-switch v0, :pswitch_data_0 |
|
|
|
.line 370 |
|
:cond_0 |
|
:goto_0 |
|
:pswitch_0 |
|
return-void |
|
|
|
.line 280 |
|
:pswitch_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
const/16 v1, 0x3e6 |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 281 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
invoke-virtual {v0, v6}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 282 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/gallery/RemoteGalleryView;->access$402(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 283 |
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object; |
|
|
|
check-cast v0, Ljava/util/List; |
|
|
|
.line 284 |
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$500(Lcom/viatech/gallery/RemoteGalleryView;)Lcom/viatech/gallery/FileScanner; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1, v0}, Lcom/viatech/gallery/FileScanner;->generateHeaderId(Ljava/util/List;)V |
|
|
|
.line 285 |
|
const-string v1, "Vpai_RemoteGalleryView" |
|
|
|
new-instance v2, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v3, "SCAN_FINISHED size=" |
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v2 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I |
|
|
|
move-result v0 |
|
|
|
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 286 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
goto :goto_0 |
|
|
|
.line 289 |
|
:pswitch_2 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
const/16 v1, 0x3ea |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 290 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 291 |
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object; |
|
|
|
check-cast v0, Ljava/util/List; |
|
|
|
.line 292 |
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/List;->clear()V |
|
|
|
.line 293 |
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z |
|
|
|
.line 294 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I |
|
|
|
move-result v0 |
|
|
|
if-lez v0, :cond_1 |
|
|
|
.line 295 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 296 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/RemoteGalleryView;->access$902(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 302 |
|
:goto_1 |
|
const-string v0, "Vpai_RemoteGalleryView" |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "SCAN_FINISHED_END size=" |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v2}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v2 |
|
|
|
invoke-interface {v2}, Ljava/util/List;->size()I |
|
|
|
move-result v2 |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 303 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/RemoteGalleryView;->refreshFileList()V |
|
|
|
.line 304 |
|
invoke-static {}, Lcom/viatech/gallery/RemoteGalleryView;->access$1100()Lcom/viatech/gallery/RemoteGalleryView$RemoteOnDownloadListener; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v1, v1, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
iget-object v2, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v2}, Lcom/viatech/gallery/RemoteGalleryView;->access$1000(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/Map; |
|
|
|
move-result-object v2 |
|
|
|
iget-object v3, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v3, v3, Lcom/viatech/gallery/RemoteGalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
iget-object v4, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v0, v1, v2, v3, v4}, Lcom/viatech/gallery/RemoteGalleryView$RemoteOnDownloadListener;->init(Landroid/os/Handler;Ljava/util/Map;Lcom/viatech/gallery/FileGridListAdapter;Lcom/viatech/gallery/RemoteGalleryView;)V |
|
|
|
.line 305 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/RemoteGalleryView;->access$1202(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 306 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$1300(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V |
|
|
|
.line 307 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$1400(Lcom/viatech/gallery/RemoteGalleryView;)V |
|
|
|
.line 308 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1200(Lcom/viatech/gallery/RemoteGalleryView;)Z |
|
|
|
move-result v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1500(Lcom/viatech/gallery/RemoteGalleryView;Z)V |
|
|
|
.line 309 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileGridListAdapter;->notifyDataSetChanged()V |
|
|
|
.line 310 |
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I |
|
|
|
const/16 v1, 0xe |
|
|
|
if-lt v0, v1, :cond_0 |
|
|
|
.line 311 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/RemoteGalleryView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/app/Activity; |
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->invalidateOptionsMenu()V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 298 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/gallery/RemoteGalleryView;->access$902(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 299 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 300 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/gallery/RemoteGalleryView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v1 |
|
|
|
const v2, 0x7f070127 |
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
goto/16 :goto_1 |
|
|
|
.line 314 |
|
:pswitch_3 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 317 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {}, Lcom/viatech/util/HttpDownloadManager;->instance()Lcom/viatech/util/HttpDownloadManager; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v1}, Lcom/viatech/util/HttpDownloadManager;->getDownloadInfos()Ljava/util/Map; |
|
|
|
move-result-object v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1002(Lcom/viatech/gallery/RemoteGalleryView;Ljava/util/Map;)Ljava/util/Map; |
|
|
|
.line 318 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileGridListAdapter;->notifyDataSetChanged()V |
|
|
|
.line 319 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 322 |
|
:pswitch_4 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 325 |
|
:pswitch_5 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
const/16 v1, 0x3ec |
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 326 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V |
|
|
|
.line 327 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileGridListAdapter;->notifyDataSetChanged()V |
|
|
|
.line 328 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/RemoteGalleryView;->access$402(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 329 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 330 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 331 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/gallery/RemoteGalleryView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v1 |
|
|
|
const v2, 0x7f070127 |
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 334 |
|
:pswitch_6 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mHandler:Landroid/os/Handler; |
|
|
|
invoke-virtual {v0, v6}, Landroid/os/Handler;->removeMessages(I)V |
|
|
|
.line 335 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$400(Lcom/viatech/gallery/RemoteGalleryView;)Z |
|
|
|
move-result v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 336 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 337 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 338 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$600(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/gallery/RemoteGalleryView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v1 |
|
|
|
const v2, 0x7f070059 |
|
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 342 |
|
:pswitch_7 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 346 |
|
:pswitch_8 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 347 |
|
iget v0, p1, Landroid/os/Message;->arg1:I |
|
|
|
if-nez v0, :cond_2 |
|
|
|
.line 348 |
|
const v0, 0x7f0701b1 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
.line 353 |
|
:goto_2 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v5}, Lcom/viatech/gallery/RemoteGalleryView;->access$1202(Lcom/viatech/gallery/RemoteGalleryView;Z)Z |
|
|
|
.line 354 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1200(Lcom/viatech/gallery/RemoteGalleryView;)Z |
|
|
|
move-result v1 |
|
|
|
invoke-virtual {v0, v1}, Lcom/viatech/gallery/RemoteGalleryView;->setVisibilityBottomBar(Z)V |
|
|
|
.line 355 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$800(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1300(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v0, v1}, Ljava/util/List;->removeAll(Ljava/util/Collection;)Z |
|
|
|
.line 356 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/RemoteGalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileGridListAdapter;->notifyDataSetChanged()V |
|
|
|
.line 357 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$1300(Lcom/viatech/gallery/RemoteGalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V |
|
|
|
.line 358 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$1400(Lcom/viatech/gallery/RemoteGalleryView;)V |
|
|
|
.line 359 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1200(Lcom/viatech/gallery/RemoteGalleryView;)Z |
|
|
|
move-result v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/RemoteGalleryView;->access$1500(Lcom/viatech/gallery/RemoteGalleryView;Z)V |
|
|
|
.line 360 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/RemoteGalleryView;->getContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Landroid/app/Activity; |
|
|
|
invoke-virtual {v0}, Landroid/app/Activity;->invalidateOptionsMenu()V |
|
|
|
.line 361 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 350 |
|
:cond_2 |
|
const v0, 0x7f0701b0 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto :goto_2 |
|
|
|
.line 364 |
|
:pswitch_9 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/gallery/RemoteGalleryView;->access$1602(Lcom/viatech/gallery/RemoteGalleryView;I)I |
|
|
|
.line 365 |
|
iget-object v0, p0, Lcom/viatech/gallery/RemoteGalleryView$1;->this$0:Lcom/viatech/gallery/RemoteGalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/RemoteGalleryView;->access$700(Lcom/viatech/gallery/RemoteGalleryView;)Landroid/widget/ProgressBar; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V |
|
|
|
.line 366 |
|
const v0, 0x7f0701b0 |
|
|
|
invoke-static {v0}, Lcom/viatech/VPaiApplication;->b(I)V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 278 |
|
nop |
|
|
|
:pswitch_data_0 |
|
.packed-switch 0x3e6 |
|
:pswitch_1 |
|
:pswitch_3 |
|
:pswitch_4 |
|
:pswitch_0 |
|
:pswitch_2 |
|
:pswitch_0 |
|
:pswitch_5 |
|
:pswitch_6 |
|
:pswitch_7 |
|
:pswitch_8 |
|
:pswitch_9 |
|
.end packed-switch |
|
.end method
|
|
|