.class Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;
.super Ljava/lang/Object;
.source "ObservableScrollView.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/mjweather/dailydetail/ObservableScrollView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)V
    .locals 0

    .line 142
    iput-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    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 3

    .line 147
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    packed-switch p1, :pswitch_data_0

    goto/16 :goto_0

    .line 163
    :pswitch_0
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->c(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->a(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Lcom/moji/mjweather/dailydetail/ObservableScrollView$OnScrollListener;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 164
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p2}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p2

    const/4 v0, 0x2

    invoke-virtual {p2, v0}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto :goto_0

    .line 155
    :pswitch_1
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-virtual {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->performClick()Z

    .line 156
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->c(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->a(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Lcom/moji/mjweather/dailydetail/ObservableScrollView$OnScrollListener;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 157
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p2}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p2

    const/4 v0, 0x1

    invoke-virtual {p2, v0}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object p2

    const-wide/16 v0, 0xc8

    invoke-virtual {p1, p2, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    .line 158
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p1

    const/16 p2, 0x64

    invoke-virtual {p1, p2}, Landroid/os/Handler;->removeMessages(I)V

    .line 159
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p1

    iget-object p2, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p2}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->d(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/os/Handler;

    move-result-object p2

    const/16 v2, 0x63

    invoke-virtual {p2, v2}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object p2

    invoke-virtual {p1, p2, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    goto :goto_0

    .line 150
    :pswitch_2
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->c(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Landroid/view/View;

    move-result-object p1

    if-eqz p1, :cond_0

    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/ObservableScrollView$2;->a:Lcom/moji/mjweather/dailydetail/ObservableScrollView;

    invoke-static {p1}, Lcom/moji/mjweather/dailydetail/ObservableScrollView;->a(Lcom/moji/mjweather/dailydetail/ObservableScrollView;)Lcom/moji/mjweather/dailydetail/ObservableScrollView$OnScrollListener;

    move-result-object p1

    :cond_0
    :goto_0
    const/4 p1, 0x0

    return p1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method
