.class Lcom/moji/mjweather/weather/view/WeatherAndShortView$2;
.super Ljava/lang/Object;
.source "WeatherAndShortView.java"

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


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/moji/mjweather/weather/view/WeatherAndShortView;->d(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/mjweather/weather/view/WeatherAndShortView;


# direct methods
.method constructor <init>(Lcom/moji/mjweather/weather/view/WeatherAndShortView;)V
    .locals 0

    .line 538
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/WeatherAndShortView$2;->a:Lcom/moji/mjweather/weather/view/WeatherAndShortView;

    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 541
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p2

    const/4 v0, 0x3

    if-eq p2, v0, :cond_0

    packed-switch p2, :pswitch_data_0

    goto :goto_1

    .line 546
    :pswitch_0
    invoke-virtual {p1}, Landroid/view/View;->performClick()Z

    goto :goto_0

    .line 543
    :pswitch_1
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/WeatherAndShortView$2;->a:Lcom/moji/mjweather/weather/view/WeatherAndShortView;

    invoke-static {p1}, Lcom/moji/mjweather/weather/view/WeatherAndShortView;->b(Lcom/moji/mjweather/weather/view/WeatherAndShortView;)Lcom/moji/mjweather/shorttime/view/ShortTimeCurveView;

    move-result-object p1

    const p2, 0x3f333333    # 0.7f

    invoke-virtual {p1, p2}, Lcom/moji/mjweather/shorttime/view/ShortTimeCurveView;->setAlpha(F)V

    goto :goto_1

    .line 548
    :cond_0
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/WeatherAndShortView$2;->a:Lcom/moji/mjweather/weather/view/WeatherAndShortView;

    invoke-static {p1}, Lcom/moji/mjweather/weather/view/WeatherAndShortView;->b(Lcom/moji/mjweather/weather/view/WeatherAndShortView;)Lcom/moji/mjweather/shorttime/view/ShortTimeCurveView;

    move-result-object p1

    const/high16 p2, 0x3f800000    # 1.0f

    invoke-virtual {p1, p2}, Lcom/moji/mjweather/shorttime/view/ShortTimeCurveView;->setAlpha(F)V

    :goto_1
    const/4 p1, 0x0

    return p1

    nop

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