今奥全景相机
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.

178 lines
3.9 KiB

.class Lcom/viatech/VPaiMainView$a;
.super Landroid/support/v4/view/PagerAdapter;
.source "VPaiMainView.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/viatech/VPaiMainView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2
name = "a"
.end annotation
# instance fields
.field final synthetic a:Lcom/viatech/VPaiMainView;
# direct methods
.method private constructor <init>(Lcom/viatech/VPaiMainView;)V
.locals 0
.prologue
.line 504
iput-object p1, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-direct {p0}, Landroid/support/v4/view/PagerAdapter;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lcom/viatech/VPaiMainView;Lcom/viatech/VPaiMainView$1;)V
.locals 0
.prologue
.line 504
invoke-direct {p0, p1}, Lcom/viatech/VPaiMainView$a;-><init>(Lcom/viatech/VPaiMainView;)V
return-void
.end method
# virtual methods
.method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
.locals 1
.prologue
.line 518
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
aget-object v0, v0, p2
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
.line 519
return-void
.end method
.method public getCount()I
.locals 1
.prologue
.line 513
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
array-length v0, v0
return v0
.end method
.method public getItemPosition(Ljava/lang/Object;)I
.locals 1
.prologue
.line 523
if-nez p1, :cond_0
const/4 v0, -0x2
:goto_0
return v0
:cond_0
invoke-super {p0, p1}, Landroid/support/v4/view/PagerAdapter;->getItemPosition(Ljava/lang/Object;)I
move-result v0
goto :goto_0
.end method
.method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
.locals 1
.prologue
.line 528
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
aget-object v0, v0, p2
if-eqz v0, :cond_0
.line 529
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
move-result v0
if-lt p2, v0, :cond_1
.line 530
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
aget-object v0, v0, p2
invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
.line 536
:cond_0
:goto_0
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
aget-object v0, v0, p2
return-object v0
.line 532
:cond_1
iget-object v0, p0, Lcom/viatech/VPaiMainView$a;->a:Lcom/viatech/VPaiMainView;
invoke-static {v0}, Lcom/viatech/VPaiMainView;->a(Lcom/viatech/VPaiMainView;)[Lcom/viatech/widget/IPagerView;
move-result-object v0
aget-object v0, v0, p2
invoke-virtual {p1, v0, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V
goto :goto_0
.end method
.method public isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z
.locals 1
.prologue
.line 508
if-ne p1, p2, :cond_0
const/4 v0, 0x1
:goto_0
return v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method