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.
266 lines
7.7 KiB
266 lines
7.7 KiB
.class Lcom/viatech/gallery/GalleryView$1; |
|
.super Landroid/os/Handler; |
|
.source "GalleryView.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/viatech/gallery/GalleryView; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/gallery/GalleryView;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 97 |
|
iput-object p1, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public handleMessage(Landroid/os/Message;)V |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v3, 0x0 |
|
|
|
.line 100 |
|
iget v0, p1, Landroid/os/Message;->what:I |
|
|
|
packed-switch v0, :pswitch_data_0 |
|
|
|
.line 134 |
|
:cond_0 |
|
:goto_0 |
|
return-void |
|
|
|
.line 102 |
|
:pswitch_0 |
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object; |
|
|
|
check-cast v0, Ljava/util/List; |
|
|
|
.line 103 |
|
iget-object v1, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/GalleryView;->access$000(Lcom/viatech/gallery/GalleryView;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1}, Ljava/util/List;->clear()V |
|
|
|
.line 104 |
|
iget-object v1, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/GalleryView;->access$000(Lcom/viatech/gallery/GalleryView;)Ljava/util/List; |
|
|
|
move-result-object v1 |
|
|
|
invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z |
|
|
|
.line 105 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$000(Lcom/viatech/gallery/GalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I |
|
|
|
move-result v0 |
|
|
|
if-lez v0, :cond_1 |
|
|
|
.line 106 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$100(Lcom/viatech/gallery/GalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
const/16 v1, 0x8 |
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 112 |
|
:goto_1 |
|
const-string v0, "Vpai_PhoneFilesView" |
|
|
|
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/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v2}, Lcom/viatech/gallery/GalleryView;->access$000(Lcom/viatech/gallery/GalleryView;)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 113 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
iget-object v0, v0, Lcom/viatech/gallery/GalleryView;->mGridViewFileAdapter:Lcom/viatech/gallery/FileGridListAdapter; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/FileGridListAdapter;->notifyDataSetChanged()V |
|
|
|
.line 115 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0, v3}, Lcom/viatech/gallery/GalleryView;->access$202(Lcom/viatech/gallery/GalleryView;Z)Z |
|
|
|
.line 116 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$300(Lcom/viatech/gallery/GalleryView;)Ljava/util/List; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v0}, Ljava/util/List;->clear()V |
|
|
|
.line 117 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$400(Lcom/viatech/gallery/GalleryView;)V |
|
|
|
.line 118 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v1}, Lcom/viatech/gallery/GalleryView;->access$200(Lcom/viatech/gallery/GalleryView;)Z |
|
|
|
move-result v1 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/gallery/GalleryView;->access$500(Lcom/viatech/gallery/GalleryView;Z)V |
|
|
|
.line 120 |
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I |
|
|
|
const/16 v1, 0xe |
|
|
|
if-lt v0, v1, :cond_0 |
|
|
|
.line 121 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/GalleryView;->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 108 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$100(Lcom/viatech/gallery/GalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V |
|
|
|
.line 109 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$100(Lcom/viatech/gallery/GalleryView;)Landroid/widget/TextView; |
|
|
|
move-result-object v0 |
|
|
|
iget-object v1, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-virtual {v1}, Lcom/viatech/gallery/GalleryView;->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 :goto_1 |
|
|
|
.line 125 |
|
:pswitch_1 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$600(Lcom/viatech/gallery/GalleryView;)Landroid/app/ProgressDialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 128 |
|
:pswitch_2 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-static {v0}, Lcom/viatech/gallery/GalleryView;->access$600(Lcom/viatech/gallery/GalleryView;)Landroid/app/ProgressDialog; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 131 |
|
:pswitch_3 |
|
iget-object v0, p0, Lcom/viatech/gallery/GalleryView$1;->this$0:Lcom/viatech/gallery/GalleryView; |
|
|
|
invoke-virtual {v0}, Lcom/viatech/gallery/GalleryView;->refresh()V |
|
|
|
goto/16 :goto_0 |
|
|
|
.line 100 |
|
nop |
|
|
|
:pswitch_data_0 |
|
.packed-switch 0x3e6 |
|
:pswitch_0 |
|
:pswitch_1 |
|
:pswitch_2 |
|
:pswitch_3 |
|
.end packed-switch |
|
.end method
|
|
|