.class Lcom/viatech/VPaiMainView$5; .super Ljava/lang/Object; .source "VPaiMainView.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/viatech/VPaiMainView;->f()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x0 name = null .end annotation # instance fields .field final synthetic a:Lcom/viatech/VPaiMainView; # direct methods .method constructor (Lcom/viatech/VPaiMainView;)V .locals 0 .prologue .line 389 iput-object p1, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public run()V .locals 5 .prologue const v4, 0x7f0c02b6 .line 392 const-string v0, "VPai_VPaiMainView" const-string v1, "## setupGallery ->" invoke-static {v0, v1}, Lcom/viatech/util/Util;->debugTimeUP(Ljava/lang/String;Ljava/lang/String;)V .line 394 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v1, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v1}, Lcom/viatech/VPaiMainView;->h(Lcom/viatech/VPaiMainView;)Landroid/view/LayoutInflater; move-result-object v1 const v2, 0x7f0300a6 const/4 v3, 0x0 invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View; move-result-object v1 invoke-static {v0, v1}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;Landroid/view/View;)Landroid/view/View; .line 395 sget-boolean v0, Lcom/viatech/a;->r:Z if-nez v0, :cond_0 .line 396 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v0}, Lcom/viatech/VPaiMainView;->f(Lcom/viatech/VPaiMainView;)Landroid/view/View; move-result-object v0 const v1, 0x7f0c02b7 invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Landroid/widget/RadioButton; .line 397 const/16 v1, 0x8 invoke-virtual {v0, v1}, Landroid/widget/RadioButton;->setVisibility(I)V .line 398 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v0}, Lcom/viatech/VPaiMainView;->f(Lcom/viatech/VPaiMainView;)Landroid/view/View; move-result-object v0 invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Landroid/widget/RadioButton; .line 401 :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v0}, Lcom/viatech/VPaiMainView;->f(Lcom/viatech/VPaiMainView;)Landroid/view/View; move-result-object v0 const v1, 0x7f0c02b5 invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Landroid/widget/RadioGroup; .line 402 iget-object v1, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v1}, Lcom/viatech/VPaiMainView;->f(Lcom/viatech/VPaiMainView;)Landroid/view/View; move-result-object v1 const v2, 0x7f0c02b4 invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v1 check-cast v1, Landroid/widget/ImageView; .line 403 iget-object v2, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v2}, Lcom/viatech/VPaiMainView;->f(Lcom/viatech/VPaiMainView;)Landroid/view/View; move-result-object v2 const v3, 0x7f0c02b8 invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View; move-result-object v2 check-cast v2, Landroid/widget/TextView; .line 404 new-instance v3, Lcom/viatech/VPaiMainView$5$1; invoke-direct {v3, p0}, Lcom/viatech/VPaiMainView$5$1;->(Lcom/viatech/VPaiMainView$5;)V invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V .line 411 new-instance v1, Lcom/viatech/VPaiMainView$5$2; invoke-direct {v1, p0, v2}, Lcom/viatech/VPaiMainView$5$2;->(Lcom/viatech/VPaiMainView$5;Landroid/widget/TextView;)V invoke-virtual {v2, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V .line 426 new-instance v1, Lcom/viatech/VPaiMainView$5$3; invoke-direct {v1, p0, v0}, Lcom/viatech/VPaiMainView$5$3;->(Lcom/viatech/VPaiMainView$5;Landroid/widget/RadioGroup;)V invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V .line 439 new-instance v1, Lcom/viatech/VPaiMainView$5$4; invoke-direct {v1, p0}, Lcom/viatech/VPaiMainView$5$4;->(Lcom/viatech/VPaiMainView$5;)V invoke-virtual {v0, v1}, Landroid/widget/RadioGroup;->setOnCheckedChangeListener(Landroid/widget/RadioGroup$OnCheckedChangeListener;)V .line 456 invoke-virtual {v0, v4}, Landroid/widget/RadioGroup;->check(I)V .line 457 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; new-instance v1, Lcom/viatech/gallery/GalleryContainer; iget-object v3, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {v3}, Lcom/viatech/VPaiMainView;->d(Lcom/viatech/VPaiMainView;)Landroid/app/Activity; move-result-object v3 invoke-direct {v1, v3}, Lcom/viatech/gallery/GalleryContainer;->(Landroid/content/Context;)V iput-object v1, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; .line 458 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v0, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; invoke-virtual {v0}, Lcom/viatech/gallery/GalleryContainer;->initView()V .line 459 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v0, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; iget-object v1, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-virtual {v0, v1}, Lcom/viatech/gallery/GalleryContainer;->setParentView(Lcom/viatech/VPaiMainView;)V .line 460 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v0, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; invoke-virtual {v0}, Lcom/viatech/gallery/GalleryContainer;->initData()V .line 461 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v0, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; invoke-virtual {v0}, Lcom/viatech/gallery/GalleryContainer;->showLocalGallery()V .line 462 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v0, v0, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; invoke-virtual {v0, v2}, Lcom/viatech/gallery/GalleryContainer;->setControlGalleryChooseUI(Landroid/widget/TextView;)V .line 463 iget-object v0, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; invoke-static {}, Lcom/viatech/VPaiMainView;->c()I move-result v1 iget-object v2, p0, Lcom/viatech/VPaiMainView$5;->a:Lcom/viatech/VPaiMainView; iget-object v2, v2, Lcom/viatech/VPaiMainView;->mGallery:Lcom/viatech/gallery/GalleryContainer; invoke-static {v0, v1, v2}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;ILcom/viatech/widget/IPagerView;)V .line 464 const-string v0, "VPai_VPaiMainView" const-string v1, "## setupGallery <-" invoke-static {v0, v1}, Lcom/viatech/util/Util;->debugTimeUP(Ljava/lang/String;Ljava/lang/String;)V .line 465 return-void .end method