.class public Lcom/viatech/VPaiMainView; .super Ljava/lang/Object; .source "VPaiMainView.java" # interfaces .implements Landroid/view/View$OnClickListener; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/viatech/VPaiMainView$a; } .end annotation # static fields .field private static a:I .field private static b:I .field private static c:I .field private static d:I .field private static e:I # instance fields .field private f:Landroid/app/Activity; .field private g:Landroid/view/LayoutInflater; .field private h:Lcom/viatech/VPaiMainView$a; .field private i:Lcom/viatech/widget/VPaiViewPager; .field private j:Lcom/viatech/widget/IPagerView; .field private k:[Lcom/viatech/widget/IPagerView; .field private l:[Lcom/viatech/widget/TabPageView; .field private m:I .field public mGallery:Lcom/viatech/gallery/GalleryContainer; .field private n:[I .field private o:Lcom/viatech/camera/CameraControlView; .field private p:Landroid/view/View; .field private q:Landroid/view/View; .field private r:Landroid/view/View; .field private s:Z .field private t:Landroid/support/v4/view/ViewPager$OnPageChangeListener; # direct methods .method static constructor ()V .locals 1 .prologue .line 56 const/4 v0, 0x0 sput v0, Lcom/viatech/VPaiMainView;->a:I .line 57 const/4 v0, 0x1 sput v0, Lcom/viatech/VPaiMainView;->b:I .line 58 const/4 v0, 0x2 sput v0, Lcom/viatech/VPaiMainView;->c:I .line 59 const/4 v0, 0x3 sput v0, Lcom/viatech/VPaiMainView;->d:I .line 60 const/4 v0, 0x4 sput v0, Lcom/viatech/VPaiMainView;->e:I return-void .end method .method public constructor (Landroid/content/Context;)V .locals 1 .prologue .line 148 invoke-direct {p0}, Ljava/lang/Object;->()V .line 82 const/4 v0, 0x0 iput-boolean v0, p0, Lcom/viatech/VPaiMainView;->s:Z .line 84 new-instance v0, Lcom/viatech/VPaiMainView$1; invoke-direct {v0, p0}, Lcom/viatech/VPaiMainView$1;->(Lcom/viatech/VPaiMainView;)V iput-object v0, p0, Lcom/viatech/VPaiMainView;->t:Landroid/support/v4/view/ViewPager$OnPageChangeListener; .line 149 check-cast p1, Landroid/app/Activity; iput-object p1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; .line 150 invoke-direct {p0}, Lcom/viatech/VPaiMainView;->e()V .line 151 return-void .end method .method static synthetic a()I .locals 1 .prologue .line 51 sget v0, Lcom/viatech/VPaiMainView;->b:I return v0 .end method .method static synthetic a(Lcom/viatech/VPaiMainView;Landroid/view/View;)Landroid/view/View; .locals 0 .prologue .line 51 iput-object p1, p0, Lcom/viatech/VPaiMainView;->q:Landroid/view/View; return-object p1 .end method .method static synthetic a(Lcom/viatech/VPaiMainView;Lcom/viatech/widget/IPagerView;)Lcom/viatech/widget/IPagerView; .locals 0 .prologue .line 51 iput-object p1, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; return-object p1 .end method .method private a(ILcom/viatech/widget/IPagerView;)V .locals 4 .prologue .line 295 iget v0, p0, Lcom/viatech/VPaiMainView;->m:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Lcom/viatech/VPaiMainView;->m:I .line 296 iget-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; aput-object p2, v0, p1 .line 298 iget-object v0, p0, Lcom/viatech/VPaiMainView;->h:Lcom/viatech/VPaiMainView$a; invoke-virtual {v0}, Lcom/viatech/VPaiMainView$a;->notifyDataSetChanged()V .line 300 invoke-virtual {p2}, Lcom/viatech/widget/IPagerView;->getPaddingLeft()I move-result v0 sget v1, Lcom/viatech/VPaiApplication;->d:I .line 302 invoke-virtual {p2}, Lcom/viatech/widget/IPagerView;->getPaddingRight()I move-result v2 .line 303 invoke-virtual {p2}, Lcom/viatech/widget/IPagerView;->getPaddingBottom()I move-result v3 .line 299 invoke-virtual {p2, v0, v1, v2, v3}, Lcom/viatech/widget/IPagerView;->setPadding(IIII)V .line 304 return-void .end method .method static synthetic a(Lcom/viatech/VPaiMainView;ILcom/viatech/widget/IPagerView;)V .locals 0 .prologue .line 51 invoke-direct {p0, p1, p2}, Lcom/viatech/VPaiMainView;->a(ILcom/viatech/widget/IPagerView;)V return-void .end method .method static synthetic a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; return-object v0 .end method .method static synthetic b()I .locals 1 .prologue .line 51 sget v0, Lcom/viatech/VPaiMainView;->a:I return v0 .end method .method static synthetic b(Lcom/viatech/VPaiMainView;Landroid/view/View;)Landroid/view/View; .locals 0 .prologue .line 51 iput-object p1, p0, Lcom/viatech/VPaiMainView;->p:Landroid/view/View; return-object p1 .end method .method static synthetic b(Lcom/viatech/VPaiMainView;)Lcom/viatech/widget/IPagerView; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; return-object v0 .end method .method static synthetic c()I .locals 1 .prologue .line 51 sget v0, Lcom/viatech/VPaiMainView;->c:I return v0 .end method .method static synthetic c(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/TabPageView; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; return-object v0 .end method .method static synthetic d()I .locals 1 .prologue .line 51 sget v0, Lcom/viatech/VPaiMainView;->d:I return v0 .end method .method static synthetic d(Lcom/viatech/VPaiMainView;)Landroid/app/Activity; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; return-object v0 .end method .method static synthetic e(Lcom/viatech/VPaiMainView;)Landroid/view/View; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->p:Landroid/view/View; return-object v0 .end method .method private e()V .locals 6 .prologue const/4 v2, 0x3 const/4 v1, 0x0 .line 308 sget-boolean v0, Lcom/viatech/a;->q:Z if-nez v0, :cond_0 .line 309 sput v1, Lcom/viatech/VPaiMainView;->c:I .line 310 const/4 v0, 0x1 sput v0, Lcom/viatech/VPaiMainView;->b:I .line 311 const/4 v0, 0x2 sput v0, Lcom/viatech/VPaiMainView;->d:I .line 312 sput v2, Lcom/viatech/VPaiMainView;->a:I .line 313 sput v2, Lcom/viatech/VPaiMainView;->e:I .line 315 :cond_0 sget v0, Lcom/viatech/VPaiMainView;->e:I new-array v0, v0, [Lcom/viatech/widget/IPagerView; iput-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; .line 316 sget v0, Lcom/viatech/VPaiMainView;->e:I new-array v0, v0, [Lcom/viatech/widget/TabPageView; iput-object v0, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; .line 317 sget v0, Lcom/viatech/VPaiMainView;->e:I new-array v0, v0, [I iput-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I .line 320 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const-string v2, "layout_inflater" invoke-virtual {v0, v2}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/LayoutInflater; iput-object v0, p0, Lcom/viatech/VPaiMainView;->g:Landroid/view/LayoutInflater; .line 321 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v2, 0x7f0c0276 invoke-virtual {v0, v2}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 iput-object v0, p0, Lcom/viatech/VPaiMainView;->r:Landroid/view/View; .line 324 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-static {v0}, Lcom/viatech/util/OTGSupportPhoneManager;->create(Landroid/content/Context;)V .line 325 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-static {v0}, Lcom/viatech/camera/RemoteCameraConnectManager;->create(Landroid/content/Context;)V .line 329 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V new-instance v2, Lcom/viatech/VPaiMainView$4; invoke-direct {v2, p0}, Lcom/viatech/VPaiMainView$4;->(Lcom/viatech/VPaiMainView;)V const-wide/16 v4, 0x3e8 invoke-virtual {v0, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z .line 338 iget-object v2, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; sget v3, Lcom/viatech/VPaiMainView;->b:I iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v4, 0x7f0c0278 invoke-virtual {v0, v4}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/viatech/widget/TabPageView; aput-object v0, v2, v3 .line 339 iget-object v2, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; sget v3, Lcom/viatech/VPaiMainView;->c:I iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v4, 0x7f0c0279 invoke-virtual {v0, v4}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/viatech/widget/TabPageView; aput-object v0, v2, v3 .line 340 iget-object v2, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; sget v3, Lcom/viatech/VPaiMainView;->d:I iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v4, 0x7f0c027a invoke-virtual {v0, v4}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/viatech/widget/TabPageView; aput-object v0, v2, v3 .line 341 iget-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I sget v2, Lcom/viatech/VPaiMainView;->b:I const v3, 0x7f0701a1 aput v3, v0, v2 .line 342 iget-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I sget v2, Lcom/viatech/VPaiMainView;->c:I const v3, 0x7f0701a4 aput v3, v0, v2 .line 343 iget-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I sget v2, Lcom/viatech/VPaiMainView;->d:I const v3, 0x7f0701a2 aput v3, v0, v2 .line 346 sget-boolean v0, Lcom/viatech/a;->q:Z if-eqz v0, :cond_1 .line 347 iget-object v2, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; sget v3, Lcom/viatech/VPaiMainView;->a:I iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v4, 0x7f0c0277 invoke-virtual {v0, v4}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/viatech/widget/TabPageView; aput-object v0, v2, v3 .line 348 iget-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I sget v2, Lcom/viatech/VPaiMainView;->a:I const v3, 0x7f0701a3 aput v3, v0, v2 .line 351 :cond_1 iget-object v2, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; array-length v3, v2 move v0, v1 :goto_0 if-ge v0, v3, :cond_2 aget-object v1, v2, v0 .line 352 invoke-virtual {v1, p0}, Lcom/viatech/widget/TabPageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V .line 351 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 355 :cond_2 new-instance v0, Lcom/viatech/camera/CameraControlView; iget-object v1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-direct {v0, v1}, Lcom/viatech/camera/CameraControlView;->(Landroid/content/Context;)V iput-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; .line 356 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; iget-object v1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-virtual {v0, p0, v1}, Lcom/viatech/camera/CameraControlView;->init(Lcom/viatech/VPaiMainView;Landroid/app/Activity;)V .line 357 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; sget v1, Lcom/viatech/VPaiApplication;->d:I int-to-float v1, v1 invoke-virtual {v0, v1}, Lcom/viatech/camera/CameraControlView;->setY(F)V .line 358 iget v0, p0, Lcom/viatech/VPaiMainView;->m:I add-int/lit8 v0, v0, 0x1 iput v0, p0, Lcom/viatech/VPaiMainView;->m:I .line 361 iget-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; sget v1, Lcom/viatech/VPaiMainView;->b:I iget-object v2, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; aput-object v2, v0, v1 .line 365 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; const v1, 0x7f0c0275 invoke-virtual {v0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View; move-result-object v0 check-cast v0, Lcom/viatech/widget/VPaiViewPager; iput-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; .line 366 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; sget v1, Lcom/viatech/VPaiMainView;->e:I add-int/lit8 v1, v1, -0x1 invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiViewPager;->setOffscreenPageLimit(I)V .line 367 new-instance v0, Lcom/viatech/VPaiMainView$a; const/4 v1, 0x0 invoke-direct {v0, p0, v1}, Lcom/viatech/VPaiMainView$a;->(Lcom/viatech/VPaiMainView;Lcom/viatech/VPaiMainView$1;)V iput-object v0, p0, Lcom/viatech/VPaiMainView;->h:Lcom/viatech/VPaiMainView$a; .line 368 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; iget-object v1, p0, Lcom/viatech/VPaiMainView;->h:Lcom/viatech/VPaiMainView$a; invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V .line 369 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; iget-object v1, p0, Lcom/viatech/VPaiMainView;->t:Landroid/support/v4/view/ViewPager$OnPageChangeListener; invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V .line 370 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; sget v1, Lcom/viatech/VPaiMainView;->b:I invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiViewPager;->setCurrentItem(I)V .line 373 return-void .end method .method static synthetic f(Lcom/viatech/VPaiMainView;)Landroid/view/View; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->q:Landroid/view/View; return-object v0 .end method .method private f()V .locals 4 .prologue .line 389 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V new-instance v1, Lcom/viatech/VPaiMainView$5; invoke-direct {v1, p0}, Lcom/viatech/VPaiMainView$5;->(Lcom/viatech/VPaiMainView;)V const-wide/16 v2, 0x64 invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z .line 467 return-void .end method .method private g()V .locals 4 .prologue .line 470 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V new-instance v1, Lcom/viatech/VPaiMainView$6; invoke-direct {v1, p0}, Lcom/viatech/VPaiMainView$6;->(Lcom/viatech/VPaiMainView;)V const-wide/16 v2, 0x96 invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z .line 482 return-void .end method .method static synthetic g(Lcom/viatech/VPaiMainView;)[I .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->n:[I return-object v0 .end method .method static synthetic h(Lcom/viatech/VPaiMainView;)Landroid/view/LayoutInflater; .locals 1 .prologue .line 51 iget-object v0, p0, Lcom/viatech/VPaiMainView;->g:Landroid/view/LayoutInflater; return-object v0 .end method .method private h()V .locals 4 .prologue .line 485 new-instance v0, Landroid/os/Handler; invoke-direct {v0}, Landroid/os/Handler;->()V new-instance v1, Lcom/viatech/VPaiMainView$7; invoke-direct {v1, p0}, Lcom/viatech/VPaiMainView$7;->(Lcom/viatech/VPaiMainView;)V const-wide/16 v2, 0xa invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z .line 496 return-void .end method # virtual methods .method public getGalleryLocationOnScreen([I)V .locals 5 .prologue const/4 v4, 0x1 const/4 v3, 0x0 .line 541 iget-object v0, p0, Lcom/viatech/VPaiMainView;->l:[Lcom/viatech/widget/TabPageView; sget v1, Lcom/viatech/VPaiMainView;->c:I aget-object v0, v0, v1 .line 542 invoke-virtual {v0, p1}, Lcom/viatech/widget/TabPageView;->getLocationOnScreen([I)V .line 543 aget v1, p1, v3 invoke-virtual {v0}, Lcom/viatech/widget/TabPageView;->getWidth()I move-result v2 div-int/lit8 v2, v2, 0x2 add-int/2addr v1, v2 aput v1, p1, v3 .line 544 aget v1, p1, v4 invoke-virtual {v0}, Lcom/viatech/widget/TabPageView;->getHeight()I move-result v0 div-int/lit8 v0, v0, 0x2 add-int/2addr v0, v1 aput v0, p1, v4 .line 545 const-string v0, "VPai_VPaiMainView" new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "getGalleryLocationOnScreen() location[0]=" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 aget v2, p1, v3 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v1 const-string v2, ",location[1]=" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v1 aget v2, p1, v4 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 546 return-void .end method .method public initNetworkListener()V .locals 1 .prologue .line 376 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->initNetworkListener()V .line 377 return-void .end method .method public onAcitvityResume()V .locals 2 .prologue .line 181 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; invoke-virtual {v0}, Lcom/viatech/widget/VPaiViewPager;->getCurrentItem()I move-result v0 .line 182 iget-object v1, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; aget-object v0, v1, v0 .line 183 if-eqz v0, :cond_0 iget-boolean v1, v0, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v1, :cond_0 .line 184 invoke-virtual {v0}, Lcom/viatech/widget/IPagerView;->onAcitvityResume()V .line 186 :cond_0 return-void .end method .method public onActivityDestroy()V .locals 5 .prologue .line 189 iget-boolean v0, p0, Lcom/viatech/VPaiMainView;->s:Z if-eqz v0, :cond_0 .line 202 :goto_0 return-void .line 192 :cond_0 const/4 v0, 0x1 iput-boolean v0, p0, Lcom/viatech/VPaiMainView;->s:Z .line 193 iget-object v1, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; array-length v2, v1 const/4 v0, 0x0 :goto_1 if-ge v0, v2, :cond_2 aget-object v3, v1, v0 .line 194 if-eqz v3, :cond_1 iget-boolean v4, v3, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v4, :cond_1 .line 195 invoke-virtual {v3}, Lcom/viatech/widget/IPagerView;->onActivityDestroy()V .line 193 :cond_1 add-int/lit8 v0, v0, 0x1 goto :goto_1 .line 198 :cond_2 invoke-static {}, Lcom/viatech/util/OnlineUpgradeManager;->destory()V .line 199 invoke-static {}, Lcom/viatech/util/HttpRequestManager;->destory()V .line 200 invoke-static {}, Lcom/viatech/util/HttpDownloadManager;->destory()V .line 201 invoke-static {}, Lcom/viatech/camera/RemoteCameraConnectManager;->destory()V goto :goto_0 .end method .method public onActivityPause()V .locals 5 .prologue .line 171 iget-object v1, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; array-length v2, v1 const/4 v0, 0x0 :goto_0 if-ge v0, v2, :cond_1 aget-object v3, v1, v0 .line 172 if-eqz v3, :cond_0 iget-boolean v4, v3, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v4, :cond_0 .line 173 invoke-virtual {v3}, Lcom/viatech/widget/IPagerView;->onActivityPause()V .line 171 :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 176 :cond_1 return-void .end method .method public onActivityResult(IILandroid/content/Intent;)V .locals 1 .prologue .line 263 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; iget-boolean v0, v0, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v0, :cond_0 .line 264 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; invoke-virtual {v0, p1, p2, p3}, Lcom/viatech/widget/IPagerView;->onActivityResult(IILandroid/content/Intent;)V .line 266 :cond_0 return-void .end method .method public onActivityStart()V .locals 5 .prologue .line 205 iget-object v1, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; array-length v2, v1 const/4 v0, 0x0 :goto_0 if-ge v0, v2, :cond_1 aget-object v3, v1, v0 .line 206 if-eqz v3, :cond_0 iget-boolean v4, v3, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v4, :cond_0 .line 207 invoke-virtual {v3}, Lcom/viatech/widget/IPagerView;->onActivityStart()V .line 205 :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 210 :cond_1 return-void .end method .method public onActivityStop()V .locals 5 .prologue .line 213 iget-object v1, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; array-length v2, v1 const/4 v0, 0x0 :goto_0 if-ge v0, v2, :cond_1 aget-object v3, v1, v0 .line 214 if-eqz v3, :cond_0 iget-boolean v4, v3, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v4, :cond_0 .line 215 invoke-virtual {v3}, Lcom/viatech/widget/IPagerView;->onActivityStop()V .line 213 :cond_0 add-int/lit8 v0, v0, 0x1 goto :goto_0 .line 218 :cond_1 return-void .end method .method public onBackPressed()Z .locals 7 .prologue const/4 v6, 0x0 .line 221 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; invoke-virtual {v0}, Lcom/viatech/widget/IPagerView;->onBackPressed()Z move-result v0 if-nez v0, :cond_1 .line 222 :cond_0 new-instance v0, Lcom/viatech/widget/VPaiDialog$Builder; iget-object v1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-direct {v0, v1}, Lcom/viatech/widget/VPaiDialog$Builder;->(Landroid/content/Context;)V .line 223 const v1, 0x7f07014c invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder; .line 224 iget-object v1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-virtual {v1}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources; move-result-object v1 const v2, 0x7f07014b const/4 v3, 0x1 new-array v3, v3, [Ljava/lang/Object; iget-object v4, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-virtual {v4}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources; move-result-object v4 const v5, 0x7f070046 invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String; move-result-object v4 aput-object v4, v3, v6 invoke-virtual {v1, v2, v3}, Landroid/content/res/Resources;->getString(I[Ljava/lang/Object;)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Lcom/viatech/widget/VPaiDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; .line 225 const v1, 0x7f07012d new-instance v2, Lcom/viatech/VPaiMainView$2; invoke-direct {v2, p0}, Lcom/viatech/VPaiMainView$2;->(Lcom/viatech/VPaiMainView;)V invoke-virtual {v0, v1, v2}, Lcom/viatech/widget/VPaiDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; .line 250 const v1, 0x7f07005c new-instance v2, Lcom/viatech/VPaiMainView$3; invoke-direct {v2, p0}, Lcom/viatech/VPaiMainView$3;->(Lcom/viatech/VPaiMainView;)V invoke-virtual {v0, v1, v2}, Lcom/viatech/widget/VPaiDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; .line 256 invoke-virtual {v0}, Lcom/viatech/widget/VPaiDialog$Builder;->create()Landroid/app/AlertDialog; move-result-object v0 .line 257 invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V .line 259 :cond_1 return v6 .end method .method public onClick(Landroid/view/View;)V .locals 1 .prologue .line 270 invoke-virtual {p1}, Landroid/view/View;->getId()I move-result v0 packed-switch v0, :pswitch_data_0 .line 286 :goto_0 return-void .line 272 :pswitch_0 sget v0, Lcom/viatech/VPaiMainView;->a:I invoke-virtual {p0, v0}, Lcom/viatech/VPaiMainView;->setCurrentItem(I)V goto :goto_0 .line 275 :pswitch_1 sget v0, Lcom/viatech/VPaiMainView;->c:I invoke-virtual {p0, v0}, Lcom/viatech/VPaiMainView;->setCurrentItem(I)V goto :goto_0 .line 278 :pswitch_2 sget v0, Lcom/viatech/VPaiMainView;->b:I invoke-virtual {p0, v0}, Lcom/viatech/VPaiMainView;->setCurrentItem(I)V goto :goto_0 .line 281 :pswitch_3 sget v0, Lcom/viatech/VPaiMainView;->d:I invoke-virtual {p0, v0}, Lcom/viatech/VPaiMainView;->setCurrentItem(I)V goto :goto_0 .line 270 :pswitch_data_0 .packed-switch 0x7f0c0277 :pswitch_0 :pswitch_2 :pswitch_1 :pswitch_3 .end packed-switch .end method .method public onCreateOptionsMenu(Landroid/view/MenuInflater;Landroid/view/Menu;)Z .locals 2 .prologue .line 154 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; if-eqz v0, :cond_1 .line 155 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; iget-boolean v0, v0, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v0, :cond_0 .line 156 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; iget-object v1, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-virtual {v1}, Landroid/app/Activity;->getMenuInflater()Landroid/view/MenuInflater; move-result-object v1 invoke-virtual {v0, v1, p2}, Lcom/viatech/widget/IPagerView;->onCreateOptionsMenu(Landroid/view/MenuInflater;Landroid/view/Menu;)Z .line 161 :cond_0 :goto_0 const/4 v0, 0x1 return v0 .line 159 :cond_1 iget-object v0, p0, Lcom/viatech/VPaiMainView;->f:Landroid/app/Activity; invoke-virtual {v0}, Landroid/app/Activity;->getMenuInflater()Landroid/view/MenuInflater; move-result-object v0 const/high16 v1, 0x7f0e0000 invoke-virtual {v0, v1, p2}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V goto :goto_0 .end method .method public onKeyDown(ILandroid/view/KeyEvent;)Z .locals 1 .prologue .line 555 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; if-eqz v0, :cond_0 .line 556 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0, p1, p2}, Lcom/viatech/camera/CameraControlView;->onKeyDown(ILandroid/view/KeyEvent;)Z move-result v0 .line 558 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public onKeyUp(ILandroid/view/KeyEvent;)Z .locals 1 .prologue .line 562 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; if-eqz v0, :cond_0 .line 563 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0, p1, p2}, Lcom/viatech/camera/CameraControlView;->onKeyUp(ILandroid/view/KeyEvent;)Z move-result v0 .line 565 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public onOptionsItemSelected(Landroid/view/MenuItem;)Z .locals 1 .prologue .line 165 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; iget-boolean v0, v0, Lcom/viatech/widget/IPagerView;->mInitialized:Z if-eqz v0, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->j:Lcom/viatech/widget/IPagerView; invoke-virtual {v0, p1}, Lcom/viatech/widget/IPagerView;->onOptionsItemSelected(Landroid/view/MenuItem;)Z move-result v0 if-eqz v0, :cond_0 .line 166 const/4 v0, 0x1 .line 167 :goto_0 return v0 :cond_0 const/4 v0, 0x0 goto :goto_0 .end method .method public onScreenEvent(Z)V .locals 1 .prologue .line 549 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; if-eqz v0, :cond_0 .line 550 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0, p1}, Lcom/viatech/camera/CameraControlView;->onScreenEvent(Z)V .line 552 :cond_0 return-void .end method .method public setCurrentItem(I)V .locals 2 .prologue .line 289 if-ltz p1, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; array-length v0, v0 if-ge p1, v0, :cond_0 iget-object v0, p0, Lcom/viatech/VPaiMainView;->k:[Lcom/viatech/widget/IPagerView; aget-object v0, v0, p1 if-eqz v0, :cond_0 .line 290 iget-object v0, p0, Lcom/viatech/VPaiMainView;->i:Lcom/viatech/widget/VPaiViewPager; const/4 v1, 0x1 invoke-virtual {v0, p1, v1}, Lcom/viatech/widget/VPaiViewPager;->setCurrentItem(IZ)V .line 292 :cond_0 return-void .end method .method public setNaviBarVisibility(I)V .locals 1 .prologue const/16 v2, 0x8 .line 499 iget-object v0, p0, Lcom/viatech/VPaiMainView;->r:Landroid/view/View; if-eqz v0, :cond_0 .line 500 iget-object v0, p0, Lcom/viatech/VPaiMainView;->r:Landroid/view/View; invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V .line 502 :cond_0 return-void .end method .method public setupDelay()V .locals 1 .prologue .line 380 iget-object v0, p0, Lcom/viatech/VPaiMainView;->o:Lcom/viatech/camera/CameraControlView; invoke-virtual {v0}, Lcom/viatech/camera/CameraControlView;->setupDelay()V .line 381 invoke-direct {p0}, Lcom/viatech/VPaiMainView;->h()V .line 382 invoke-direct {p0}, Lcom/viatech/VPaiMainView;->f()V .line 383 sget-boolean v0, Lcom/viatech/a;->q:Z if-eqz v0, :cond_0 .line 384 invoke-direct {p0}, Lcom/viatech/VPaiMainView;->g()V .line 386 :cond_0 return-void .end method