93 lines
2.3 KiB
Smali
93 lines
2.3 KiB
Smali
.class Lcom/moji/index/IndexFragment$14;
|
|
.super Ljava/lang/Object;
|
|
.source "IndexFragment.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnTouchListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/index/IndexFragment;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/index/IndexFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/index/IndexFragment;)V
|
|
.locals 0
|
|
|
|
.line 657
|
|
iput-object p1, p0, Lcom/moji/index/IndexFragment$14;->a:Lcom/moji/index/IndexFragment;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
|
|
.locals 2
|
|
|
|
.line 660
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 661
|
|
invoke-virtual {p1}, Landroid/view/View;->performClick()Z
|
|
|
|
.line 662
|
|
iget-object p1, p0, Lcom/moji/index/IndexFragment$14;->a:Lcom/moji/index/IndexFragment;
|
|
|
|
invoke-static {p1}, Lcom/moji/index/IndexFragment;->g(Lcom/moji/index/IndexFragment;)Lcom/moji/scrollview/ScrollViewMonitor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/moji/scrollview/ScrollViewMonitor;->a()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 663
|
|
:cond_0
|
|
invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
.line 664
|
|
iget-object p1, p0, Lcom/moji/index/IndexFragment$14;->a:Lcom/moji/index/IndexFragment;
|
|
|
|
iget-object p2, p0, Lcom/moji/index/IndexFragment$14;->a:Lcom/moji/index/IndexFragment;
|
|
|
|
invoke-static {p2}, Lcom/moji/index/IndexFragment;->g(Lcom/moji/index/IndexFragment;)Lcom/moji/scrollview/ScrollViewMonitor;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2}, Lcom/moji/scrollview/ScrollViewMonitor;->getScrollY()I
|
|
|
|
move-result p2
|
|
|
|
invoke-static {p1, p2}, Lcom/moji/index/IndexFragment;->a(Lcom/moji/index/IndexFragment;I)I
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|