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

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/dailydetail/TideDetailActivity;->m()V
.end annotation

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


# instance fields
.field final synthetic a:Landroid/widget/RelativeLayout;

.field final synthetic b:Lcom/moji/mjweather/weather/view/Day15Hour24HorizontalScrollView;

.field final synthetic c:Landroid/widget/ImageView;

.field final synthetic d:I

.field final synthetic e:Lcom/moji/mjweather/dailydetail/TideDetailActivity;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/dailydetail/TideDetailActivity;Landroid/widget/RelativeLayout;Lcom/moji/mjweather/weather/view/Day15Hour24HorizontalScrollView;Landroid/widget/ImageView;I)V
    .locals 0

    .line 625
    iput-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->e:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    iput-object p2, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->a:Landroid/widget/RelativeLayout;

    iput-object p3, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->b:Lcom/moji/mjweather/weather/view/Day15Hour24HorizontalScrollView;

    iput-object p4, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->c:Landroid/widget/ImageView;

    iput p5, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->d:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    .line 630
    invoke-static {}, Lcom/moji/skinshop/util/Util;->d()Z

    move-result p1

    if-nez p1, :cond_0

    return-void

    .line 633
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {p1}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result p1

    const/4 v0, 0x0

    if-nez p1, :cond_1

    .line 634
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->b:Lcom/moji/mjweather/weather/view/Day15Hour24HorizontalScrollView;

    invoke-virtual {p1, v0, v0}, Lcom/moji/mjweather/weather/view/Day15Hour24HorizontalScrollView;->scrollTo(II)V

    .line 635
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->a:Landroid/widget/RelativeLayout;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 636
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->c:Landroid/widget/ImageView;

    const v0, 0x7f0805cc

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 637
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->TTIDE_DETAIL_CLOSE:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    goto :goto_0

    .line 639
    :cond_1
    new-instance p1, Landroid/os/Message;

    invoke-direct {p1}, Landroid/os/Message;-><init>()V

    .line 640
    iput v0, p1, Landroid/os/Message;->what:I

    .line 641
    iget v1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->d:I

    iput v1, p1, Landroid/os/Message;->arg1:I

    .line 642
    iget-object v1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->e:Lcom/moji/mjweather/dailydetail/TideDetailActivity;

    invoke-static {v1}, Lcom/moji/mjweather/dailydetail/TideDetailActivity;->j(Lcom/moji/mjweather/dailydetail/TideDetailActivity;)Landroid/os/Handler;

    move-result-object v1

    const-wide/16 v2, 0x1f4

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

    .line 643
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {p1, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 644
    iget-object p1, p0, Lcom/moji/mjweather/dailydetail/TideDetailActivity$9;->c:Landroid/widget/ImageView;

    const v0, 0x7f0801ac

    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 645
    invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;

    move-result-object p1

    sget-object v0, Lcom/moji/statistics/EVENT_TAG;->TTIDE_DETAIL_SHOW:Lcom/moji/statistics/EVENT_TAG;

    invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;

    :goto_0
    return-void
.end method
