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.
100 lines
2.0 KiB
100 lines
2.0 KiB
2 years ago
|
.class public Lcom/viatech/widget/VPaiViewPager;
|
||
|
.super Landroid/support/v4/view/ViewPager;
|
||
|
.source "VPaiViewPager.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private mSlideEnable:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroid/content/Context;)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 13
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
invoke-direct {p0, p1, v0}, Lcom/viatech/widget/VPaiViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||
|
|
||
|
.line 14
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 17
|
||
|
invoke-direct {p0, p1, p2}, Landroid/support/v4/view/ViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
||
|
|
||
|
.line 10
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-boolean v0, p0, Lcom/viatech/widget/VPaiViewPager;->mSlideEnable:Z
|
||
|
|
||
|
.line 18
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 36
|
||
|
iget-boolean v0, p0, Lcom/viatech/widget/VPaiViewPager;->mSlideEnable:Z
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 37
|
||
|
invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 39
|
||
|
:goto_0
|
||
|
return v0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 26
|
||
|
iget-boolean v0, p0, Lcom/viatech/widget/VPaiViewPager;->mSlideEnable:Z
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 27
|
||
|
invoke-super {p0, p1}, Landroid/support/v4/view/ViewPager;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
.line 29
|
||
|
:goto_0
|
||
|
return v0
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public setSlideEnable(Z)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 21
|
||
|
iput-boolean p1, p0, Lcom/viatech/widget/VPaiViewPager;->mSlideEnable:Z
|
||
|
|
||
|
.line 22
|
||
|
return-void
|
||
|
.end method
|