.class Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2; .super Landroid/os/Handler; .source "JpgAndMp4DirScannerActivity.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; # direct methods .method constructor (Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)V .locals 0 .prologue .line 153 iput-object p1, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-direct {p0}, Landroid/os/Handler;->()V return-void .end method # virtual methods .method public handleMessage(Landroid/os/Message;)V .locals 7 .prologue const/4 v1, 0x1 const/4 v2, 0x0 .line 156 iget v0, p1, Landroid/os/Message;->what:I packed-switch v0, :pswitch_data_0 .line 183 :cond_0 :goto_0 return-void .line 158 :pswitch_0 iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object; check-cast v0, Ljava/lang/String; .line 159 new-instance v3, Ljava/io/File; invoke-direct {v3, v0}, Ljava/io/File;->(Ljava/lang/String;)V .line 160 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$100(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Ljava/util/ArrayList; move-result-object v0 invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z .line 161 invoke-virtual {v3}, Ljava/io/File;->getParentFile()Ljava/io/File; move-result-object v3 .line 163 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$200(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Ljava/util/ArrayList; move-result-object v0 invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; move-result-object v4 :cond_1 invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_2 invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/io/File; .line 164 invoke-virtual {v3}, Ljava/io/File;->getName()Ljava/lang/String; move-result-object v5 invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String; move-result-object v6 invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v5 if-eqz v5, :cond_1 invoke-virtual {v3}, Ljava/io/File;->getParentFile()Ljava/io/File; move-result-object v5 invoke-virtual {v5}, Ljava/io/File;->getName()Ljava/lang/String; move-result-object v5 invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File; move-result-object v0 invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String; move-result-object v0 invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_1 move v0, v1 .line 169 :goto_1 if-nez v0, :cond_0 .line 170 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$200(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Ljava/util/ArrayList; move-result-object v0 invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z .line 171 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$000(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$JpgAndMp4DirItemAdapter; move-result-object v0 invoke-virtual {v0}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$JpgAndMp4DirItemAdapter;->notifyDataSetChanged()V goto :goto_0 .line 175 :pswitch_1 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0, v1}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$302(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;Z)Z .line 176 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; iget-object v1, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v1}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$300(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Z move-result v1 invoke-static {v0, v1}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$400(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;Z)V goto :goto_0 .line 179 :pswitch_2 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v0, v2}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$302(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;Z)Z .line 180 iget-object v0, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; iget-object v1, p0, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity$2;->this$0:Lcom/viatech/gallery/JpgAndMp4DirScannerActivity; invoke-static {v1}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$300(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;)Z move-result v1 invoke-static {v0, v1}, Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;->access$400(Lcom/viatech/gallery/JpgAndMp4DirScannerActivity;Z)V goto/16 :goto_0 :cond_2 move v0, v2 goto :goto_1 .line 156 nop :pswitch_data_0 .packed-switch 0x1 :pswitch_0 :pswitch_1 :pswitch_2 .end packed-switch .end method