.class Lcom/viatech/camera/CameraControlView$2$1; .super Lcom/viatech/gallery/FileScanner; .source "CameraControlView.java" # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/camera/CameraControlView$2;->handleMessage(Landroid/os/Message;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic this$1:Lcom/viatech/camera/CameraControlView$2; # direct methods .method constructor (Lcom/viatech/camera/CameraControlView$2;)V .locals 0 .prologue .line 572 iput-object p1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; invoke-direct {p0}, Lcom/viatech/gallery/FileScanner;->()V return-void .end method # virtual methods .method public onResult(ILjava/lang/String;Ljava/util/ArrayList;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/lang/String;", "Ljava/util/ArrayList", "<", "Lcom/viatech/gallery/FileInfo;", ">;)V" } .end annotation .prologue .line 575 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v0, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3300(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileScanner; move-result-object v0 invoke-virtual {v0, p3}, Lcom/viatech/gallery/FileScanner;->generateHeaderId(Ljava/util/List;)V .line 576 return-void .end method .method public onResultList(Ljava/util/List;)V .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List", "<", "Lcom/viatech/gallery/FileInfo;", ">;)V" } .end annotation .prologue const/16 v4, 0x140 .line 580 if-eqz p1, :cond_4 invoke-interface {p1}, Ljava/util/List;->size()I move-result v0 if-lez v0, :cond_4 .line 581 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; const/4 v0, 0x0 invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/viatech/gallery/FileInfo; invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$3402(Lcom/viatech/camera/CameraControlView;Lcom/viatech/gallery/FileInfo;)Lcom/viatech/gallery/FileInfo; .line 582 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v0, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3400(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileInfo; move-result-object v0 iget v0, v0, Lcom/viatech/gallery/FileInfo;->fileType:I const/4 v1, 0x2 if-ne v0, v1, :cond_2 .line 583 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v0, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3400(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileInfo; move-result-object v0 invoke-virtual {v0}, Lcom/viatech/gallery/FileInfo;->getFullPath()Ljava/lang/String; move-result-object v0 .line 585 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v1 invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v1 if-eqz v1, :cond_1 .line 586 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$3502(Lcom/viatech/camera/CameraControlView;Ljava/lang/String;)Ljava/lang/String; .line 593 :goto_0 const-string v1, "Vpai_CameraControlView" new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, " mFileScanner() video Path=" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 const-string v3, "...loadLocalThumbnailUrl:" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v3, v3, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v3}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v3 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 594 invoke-static {}, Lcom/viatech/common/ThumbnailCacheManager;->instance()Lcom/viatech/common/ThumbnailCacheManager; move-result-object v1 const/4 v2, 0x3 invoke-virtual {v1, v0, v0, v2}, Lcom/viatech/common/ThumbnailCacheManager;->getThumbnail(Ljava/lang/String;Ljava/lang/String;I)Landroid/graphics/Bitmap; .line 596 invoke-static {}, Lcom/viatech/common/ThumbnailCacheManager;->instance()Lcom/viatech/common/ThumbnailCacheManager; move-result-object v0 new-instance v1, Lcom/viatech/camera/CameraControlView$2$1$1; invoke-direct {v1, p0}, Lcom/viatech/camera/CameraControlView$2$1$1;->(Lcom/viatech/camera/CameraControlView$2$1;)V invoke-virtual {v0, v1}, Lcom/viatech/common/ThumbnailCacheManager;->addThumbnailCacheListener(Lcom/viatech/common/ThumbnailCacheManager$ThumbnailCacheListener;)V .line 631 :cond_0 :goto_1 return-void .line 588 :cond_1 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v1 invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_0 .line 591 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$3502(Lcom/viatech/camera/CameraControlView;Ljava/lang/String;)Ljava/lang/String; goto :goto_0 .line 615 :cond_2 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "file:// " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$3400(Lcom/viatech/camera/CameraControlView;)Lcom/viatech/gallery/FileInfo; move-result-object v1 invoke-virtual {v1}, Lcom/viatech/gallery/FileInfo;->getFullPath()Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 .line 616 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v1 invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result v1 if-eqz v1, :cond_3 .line 617 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$3502(Lcom/viatech/camera/CameraControlView;Ljava/lang/String;)Ljava/lang/String; .line 624 :goto_2 const-string v1, "Vpai_CameraControlView" new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, " mFileScanner() photo Path=" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 const-string v3, "...loadLocalThumbnailUrl:" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v3, v3, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v3}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v3 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I .line 625 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-virtual {v1}, Lcom/viatech/camera/CameraControlView;->getContext()Landroid/content/Context; move-result-object v1 invoke-static {v1}, Lcom/viatech/util/VPaiPicasso;->localPicasso(Landroid/content/Context;)Lcom/squareup/picasso/Picasso; move-result-object v1 invoke-virtual {v1, v0}, Lcom/squareup/picasso/Picasso;->load(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator; move-result-object v0 invoke-virtual {v0, v4, v4}, Lcom/squareup/picasso/RequestCreator;->resize(II)Lcom/squareup/picasso/RequestCreator; move-result-object v0 invoke-virtual {v0}, Lcom/squareup/picasso/RequestCreator;->centerCrop()Lcom/squareup/picasso/RequestCreator; move-result-object v0 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0, v1}, Lcom/squareup/picasso/RequestCreator;->into(Lcom/squareup/picasso/Target;)V goto/16 :goto_1 .line 619 :cond_3 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1}, Lcom/viatech/camera/CameraControlView;->access$3500(Lcom/viatech/camera/CameraControlView;)Ljava/lang/String; move-result-object v1 invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_0 .line 622 iget-object v1, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v1, v1, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v1, v0}, Lcom/viatech/camera/CameraControlView;->access$3502(Lcom/viatech/camera/CameraControlView;Ljava/lang/String;)Ljava/lang/String; goto :goto_2 .line 628 :cond_4 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v0, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; const/4 v1, 0x0 invoke-static {v0, v1}, Lcom/viatech/camera/CameraControlView;->access$3402(Lcom/viatech/camera/CameraControlView;Lcom/viatech/gallery/FileInfo;)Lcom/viatech/gallery/FileInfo; .line 629 iget-object v0, p0, Lcom/viatech/camera/CameraControlView$2$1;->this$1:Lcom/viatech/camera/CameraControlView$2; iget-object v0, v0, Lcom/viatech/camera/CameraControlView$2;->this$0:Lcom/viatech/camera/CameraControlView; invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$3200(Lcom/viatech/camera/CameraControlView;)Lde/hdodenhof/circleimageview/CircleImageView; move-result-object v0 const v1, 0x7f0201c5 invoke-virtual {v0, v1}, Lde/hdodenhof/circleimageview/CircleImageView;->setImageResource(I)V goto/16 :goto_1 .end method