91 lines
2.2 KiB
Smali
91 lines
2.2 KiB
Smali
.class public Lcom/moji/recyclerviewpager/FeedRecyclerViewPager;
|
|
.super Lcom/moji/recyclerviewpager/RecyclerViewPager;
|
|
.source "FeedRecyclerViewPager.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 13
|
|
invoke-direct {p0, p1}, Lcom/moji/recyclerviewpager/RecyclerViewPager;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 17
|
|
invoke-direct {p0, p1, p2}, Lcom/moji/recyclerviewpager/RecyclerViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 21
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/moji/recyclerviewpager/RecyclerViewPager;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
.line 26
|
|
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 29
|
|
:pswitch_0
|
|
invoke-virtual {p0}, Lcom/moji/recyclerviewpager/FeedRecyclerViewPager;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-interface {v0, v1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 33
|
|
:cond_0
|
|
:pswitch_1
|
|
invoke-virtual {p0}, Lcom/moji/recyclerviewpager/FeedRecyclerViewPager;->getParent()Landroid/view/ViewParent;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v0, v1}, Landroid/view/ViewParent;->requestDisallowInterceptTouchEvent(Z)V
|
|
|
|
.line 36
|
|
:goto_0
|
|
invoke-super {p0, p1}, Lcom/moji/recyclerviewpager/RecyclerViewPager;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_0
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|