82 lines
2.4 KiB
Smali
82 lines
2.4 KiB
Smali
.class Lcom/moji/mjweather/TabPropertyFragment$1;
|
|
.super Ljava/lang/Object;
|
|
.source "TabPropertyFragment.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/View$OnTouchListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/TabPropertyFragment;->a(Landroid/view/View;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/scrollview/ScrollViewWithListener;
|
|
|
|
.field final synthetic b:Lcom/moji/mjweather/TabPropertyFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/TabPropertyFragment;Lcom/moji/scrollview/ScrollViewWithListener;)V
|
|
.locals 0
|
|
|
|
.line 129
|
|
iput-object p1, p0, Lcom/moji/mjweather/TabPropertyFragment$1;->b:Lcom/moji/mjweather/TabPropertyFragment;
|
|
|
|
iput-object p2, p0, Lcom/moji/mjweather/TabPropertyFragment$1;->a:Lcom/moji/scrollview/ScrollViewWithListener;
|
|
|
|
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 1
|
|
|
|
.line 132
|
|
iget-object p1, p0, Lcom/moji/mjweather/TabPropertyFragment$1;->a:Lcom/moji/scrollview/ScrollViewWithListener;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/scrollview/ScrollViewWithListener;->getScrollY()I
|
|
|
|
move-result p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
if-lez p1, :cond_0
|
|
|
|
.line 133
|
|
iget-object p1, p0, Lcom/moji/mjweather/TabPropertyFragment$1;->b:Lcom/moji/mjweather/TabPropertyFragment;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjweather/TabPropertyFragment;->a(Lcom/moji/mjweather/TabPropertyFragment;)Lcom/moji/mjweather/assshop/view/DragTopLayout;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Lcom/moji/mjweather/assshop/view/DragTopLayout;->c(Z)Lcom/moji/mjweather/assshop/view/DragTopLayout;
|
|
|
|
goto :goto_0
|
|
|
|
.line 135
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/moji/mjweather/TabPropertyFragment$1;->b:Lcom/moji/mjweather/TabPropertyFragment;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjweather/TabPropertyFragment;->a(Lcom/moji/mjweather/TabPropertyFragment;)Lcom/moji/mjweather/assshop/view/DragTopLayout;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/mjweather/assshop/view/DragTopLayout;->c(Z)Lcom/moji/mjweather/assshop/view/DragTopLayout;
|
|
|
|
:goto_0
|
|
return p2
|
|
.end method
|