.class public Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;
.super Landroid/view/View;
.source "Forecast15DaysCurveView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncCalculator;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncDataSetter;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$GestureListener;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;,
        Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;
    }
.end annotation


# instance fields
.field private A:I

.field private B:I

.field private C:I

.field private D:I

.field private E:Landroid/graphics/Paint;

.field private F:Landroid/graphics/Paint;

.field private G:Landroid/graphics/Paint;

.field private H:Landroid/graphics/Paint;

.field private I:Landroid/graphics/Paint;

.field private J:Landroid/graphics/Paint;

.field private K:Landroid/graphics/Paint;

.field private L:Landroid/graphics/Paint;

.field private M:Landroid/graphics/Paint;

.field private N:Landroid/graphics/Paint;

.field private O:Landroid/graphics/Paint;

.field private P:I

.field private Q:I

.field private R:I

.field private S:I

.field private T:I

.field private U:I

.field private V:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private W:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/graphics/Point;",
            ">;"
        }
    .end annotation
.end field

.field private final a:Ljava/lang/Object;

.field private aa:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroid/graphics/Point;",
            ">;"
        }
    .end annotation
.end field

.field private ab:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;",
            ">;"
        }
    .end annotation
.end field

.field private ac:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;",
            ">;"
        }
    .end annotation
.end field

.field private ad:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;",
            ">;"
        }
    .end annotation
.end field

.field private ae:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;",
            ">;"
        }
    .end annotation
.end field

.field private af:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;",
            ">;"
        }
    .end annotation
.end field

.field private ag:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;",
            ">;"
        }
    .end annotation
.end field

.field private ah:Landroid/graphics/Path;

.field private ai:Ljava/text/SimpleDateFormat;

.field private aj:Ljava/util/Calendar;

.field private ak:[Ljava/lang/String;

.field private al:I

.field private am:Landroid/graphics/RectF;

.field private an:Z

.field private ao:Z

.field private ap:J

.field private aq:Landroid/view/GestureDetector;

.field private ar:Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;

.field private as:I

.field private at:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private au:Landroid/graphics/BitmapFactory$Options;

.field private av:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private aw:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

.field private b:F

.field private c:Ljava/util/Vector;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Vector<",
            "Lcom/moji/mjweather/weather/entity/ForecastPoint;",
            ">;"
        }
    .end annotation
.end field

.field private d:Ljava/util/Vector;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Vector<",
            "Lcom/moji/mjweather/weather/entity/ForecastPoint;",
            ">;"
        }
    .end annotation
.end field

.field private e:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;",
            ">;"
        }
    .end annotation
.end field

.field private f:Landroid/graphics/Path;

.field private g:Landroid/graphics/Path;

.field private h:F

.field private i:F

.field private j:F

.field private k:F

.field private l:I

.field private m:I

.field private n:I

.field private o:I

.field private p:I

.field private q:I

.field private r:I

.field private s:I

.field private t:I

.field private u:I

.field private v:I

.field private w:I

.field private x:I

.field private y:I

.field private z:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 133
    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 137
    invoke-direct {p0, p1, p2, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 142
    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    .line 64
    new-instance p2, Ljava/lang/Object;

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

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a:Ljava/lang/Object;

    .line 66
    new-instance p2, Ljava/util/Vector;

    invoke-direct {p2}, Ljava/util/Vector;-><init>()V

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    .line 67
    new-instance p2, Ljava/util/Vector;

    invoke-direct {p2}, Ljava/util/Vector;-><init>()V

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    const/4 p2, 0x0

    .line 70
    iput p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->h:F

    const/high16 p2, 0x3f800000    # 1.0f

    .line 71
    iput p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    const/4 p2, 0x1

    .line 122
    iput-boolean p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ao:Z

    .line 143
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/content/Context;)V

    return-void
.end method

.method private a(F)I
    .locals 1

    .line 768
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    mul-float p1, p1, v0

    const/high16 v0, 0x3f000000    # 0.5f

    add-float/2addr p1, v0

    float-to-int p1, p1

    return p1
.end method

.method private a(IZ)I
    .locals 1

    .line 715
    new-instance v0, Lcom/moji/base/WeatherDrawable;

    invoke-direct {v0, p1}, Lcom/moji/base/WeatherDrawable;-><init>(I)V

    .line 716
    invoke-virtual {v0, p2}, Lcom/moji/base/WeatherDrawable;->a(Z)I

    move-result p1

    return p1
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)I
    .locals 0

    .line 60
    iget p0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    return p0
.end method

.method private a(D)Ljava/lang/String;
    .locals 1

    const/4 v0, 0x0

    .line 326
    invoke-static {p1, p2, v0}, Lcom/moji/preferences/units/UNIT_TEMP;->getValueStringByCurrentUnitTemp(DZ)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private a(Landroid/content/Context;)V
    .locals 5

    .line 147
    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string v1, "MM/dd"

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v2

    iget-object v2, v2, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    .line 148
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f03002b

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ak:[Ljava/lang/String;

    const/4 v0, -0x1

    .line 149
    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->as:I

    const/high16 v0, 0x41f00000    # 30.0f

    .line 150
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    const/high16 v1, 0x42aa0000    # 85.0f

    .line 151
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->x:I

    const/high16 v1, 0x41200000    # 10.0f

    .line 152
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->o:I

    .line 153
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->q:I

    const/high16 v1, 0x41700000    # 15.0f

    .line 154
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->r:I

    const/high16 v1, 0x40000000    # 2.0f

    .line 155
    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->p:I

    const/high16 v2, 0x40400000    # 3.0f

    .line 156
    invoke-direct {p0, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    int-to-float v2, v2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b:F

    const/high16 v2, 0x41800000    # 16.0f

    .line 157
    invoke-direct {p0, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->z:I

    .line 158
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->y:I

    const/high16 v0, 0x3f800000    # 1.0f

    .line 159
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    .line 160
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i()V

    .line 161
    new-instance v0, Landroid/graphics/Path;

    invoke-direct {v0}, Landroid/graphics/Path;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f:Landroid/graphics/Path;

    .line 162
    new-instance v0, Landroid/graphics/Path;

    invoke-direct {v0}, Landroid/graphics/Path;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->g:Landroid/graphics/Path;

    .line 163
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f:Landroid/graphics/Path;

    sget-object v2, Landroid/graphics/Path$FillType;->WINDING:Landroid/graphics/Path$FillType;

    invoke-virtual {v0, v2}, Landroid/graphics/Path;->setFillType(Landroid/graphics/Path$FillType;)V

    .line 164
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->g:Landroid/graphics/Path;

    sget-object v2, Landroid/graphics/Path$FillType;->WINDING:Landroid/graphics/Path$FillType;

    invoke-virtual {v0, v2}, Landroid/graphics/Path;->setFillType(Landroid/graphics/Path$FillType;)V

    .line 165
    new-instance v0, Landroid/graphics/RectF;

    const/4 v2, 0x0

    invoke-direct {v0, v2, v2, v2, v2}, Landroid/graphics/RectF;-><init>(FFFF)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    .line 166
    new-instance v0, Landroid/view/GestureDetector;

    new-instance v2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$GestureListener;

    const/4 v3, 0x0

    invoke-direct {v2, p0, v3}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$GestureListener;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$1;)V

    new-instance v3, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    invoke-direct {v0, p1, v2, v3}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;Landroid/os/Handler;)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aq:Landroid/view/GestureDetector;

    const/4 p1, 0x0

    .line 167
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    .line 168
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 169
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->av:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 170
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    .line 171
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    .line 172
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    .line 173
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ac:Ljava/util/List;

    .line 174
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ab:Ljava/util/List;

    .line 175
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    .line 176
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    .line 177
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    .line 178
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ag:Ljava/util/List;

    .line 179
    new-instance v0, Landroid/graphics/Path;

    invoke-direct {v0}, Landroid/graphics/Path;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ah:Landroid/graphics/Path;

    .line 182
    new-instance v0, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->au:Landroid/graphics/BitmapFactory$Options;

    .line 183
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    const/16 v2, 0x78

    if-ge v0, v2, :cond_0

    const/high16 v0, 0x42f00000    # 120.0f

    .line 184
    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    int-to-float v2, v2

    div-float/2addr v0, v2

    cmpl-float v1, v0, v1

    if-ltz v1, :cond_0

    .line 186
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->au:Landroid/graphics/BitmapFactory$Options;

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, v1, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    .line 189
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->au:Landroid/graphics/BitmapFactory$Options;

    iput-boolean p1, v0, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    return-void
.end method

.method private a(Landroid/graphics/Canvas;FFZ)V
    .locals 1

    if-eqz p4, :cond_0

    .line 730
    iget-object p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    const v0, -0x6b645f

    invoke-virtual {p4, v0}, Landroid/graphics/Paint;->setColor(I)V

    goto :goto_0

    .line 732
    :cond_0
    iget-object p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    const/4 v0, -0x1

    invoke-virtual {p4, v0}, Landroid/graphics/Paint;->setColor(I)V

    .line 734
    :goto_0
    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b:F

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, p3, p4, v0}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/Path;Landroid/graphics/Paint;)V
    .locals 0

    .line 458
    invoke-virtual {p1, p2, p3}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Landroid/graphics/PointF;Ljava/lang/String;Landroid/graphics/Paint;Z)V
    .locals 0

    if-eqz p5, :cond_0

    const/16 p5, 0x80

    .line 721
    invoke-virtual {p4, p5}, Landroid/graphics/Paint;->setAlpha(I)V

    goto :goto_0

    :cond_0
    const/16 p5, 0xff

    .line 723
    invoke-virtual {p4, p5}, Landroid/graphics/Paint;->setAlpha(I)V

    .line 725
    :goto_0
    iget p5, p2, Landroid/graphics/PointF;->x:F

    iget p2, p2, Landroid/graphics/PointF;->y:F

    invoke-virtual {p1, p3, p5, p2, p4}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;)V
    .locals 3

    .line 749
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    return-void

    .line 752
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 753
    iget-boolean v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->d:Z

    if-eqz v0, :cond_1

    .line 754
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    const/16 v1, 0x80

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V

    .line 755
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    goto :goto_0

    .line 757
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    const/16 v1, 0xff

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V

    .line 758
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    .line 760
    :goto_0
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, p1}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    .line 761
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->c:Ljava/lang/String;

    iget-object v1, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->b:Landroid/graphics/PointF;

    iget v1, v1, Landroid/graphics/PointF;->x:F

    iget-object p2, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->b:Landroid/graphics/PointF;

    iget p2, p2, Landroid/graphics/PointF;->y:F

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, p2, v2}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    return-void
.end method

.method private a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;)V
    .locals 3

    .line 738
    iget-boolean v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->c:Z

    if-eqz v0, :cond_0

    .line 739
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->H:Landroid/graphics/Paint;

    const/16 v1, 0x80

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V

    goto :goto_0

    .line 741
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->H:Landroid/graphics/Paint;

    const/16 v1, 0xff

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAlpha(I)V

    .line 743
    :goto_0
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->b:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_1

    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->a:Landroid/graphics/RectF;

    if-eqz v0, :cond_1

    .line 744
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->b:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    iget-object p2, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->a:Landroid/graphics/RectF;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->H:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v1, p2, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/RectF;Landroid/graphics/Paint;)V

    :cond_1
    return-void
.end method

.method private a(Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;)V
    .locals 3

    .line 702
    iget-object v0, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 703
    iget-object v0, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0e08ee

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 704
    iget-object v0, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->c:Ljava/lang/String;

    goto :goto_0

    .line 705
    :cond_0
    iget-object v0, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0e08ed

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 706
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0e08ef

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->c:Ljava/lang/String;

    goto :goto_0

    .line 708
    :cond_1
    iget-object v0, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    iput-object v0, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->c:Ljava/lang/String;

    .line 710
    :goto_0
    iget p1, p1, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiLevel:I

    invoke-static {p1}, Lcom/moji/base/AqiValueProvider;->a(I)I

    move-result p1

    invoke-static {p1}, Lcom/moji/tool/Utils;->a(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    :cond_2
    return-void
.end method

.method private a(Ljava/lang/String;IFZ)V
    .locals 4

    .line 680
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    .line 681
    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 682
    iput-boolean p4, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 683
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x4

    if-ge v1, v2, :cond_0

    .line 684
    new-instance p1, Landroid/graphics/PointF;

    add-int/2addr p2, p2

    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    add-int/2addr p2, p4

    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->B:I

    sub-int/2addr p2, p4

    shr-int/lit8 p2, p2, 0x1

    int-to-float p2, p2

    invoke-direct {p1, p3, p2}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 685
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ac:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 686
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v3, 0x5

    if-ge v1, v3, :cond_1

    .line 687
    new-instance p1, Landroid/graphics/PointF;

    add-int/2addr p2, p2

    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    add-int/2addr p2, p4

    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->B:I

    sub-int/2addr p2, p4

    shr-int/lit8 p2, p2, 0x1

    int-to-float p2, p2

    invoke-direct {p1, p3, p2}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 688
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 690
    :cond_1
    new-instance v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v1, p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    const/4 v3, 0x0

    .line 691
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 692
    iput-boolean p4, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 693
    new-instance p4, Landroid/graphics/PointF;

    add-int/2addr p2, p2

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    add-int/2addr p2, v3

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->B:I

    sub-int/2addr p2, v3

    shr-int/lit8 p2, p2, 0x1

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->q:I

    mul-int/lit8 v3, v3, 0x3

    div-int/2addr v3, v2

    sub-int/2addr p2, v3

    int-to-float p2, p2

    invoke-direct {p4, p3, p2}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object p4, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 694
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {p2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 695
    invoke-virtual {p1, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 696
    new-instance p1, Landroid/graphics/PointF;

    iget-object p2, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    iget p2, p2, Landroid/graphics/PointF;->y:F

    iget p4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    int-to-float p4, p4

    add-float/2addr p2, p4

    invoke-direct {p1, p3, p2}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 697
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_0
    return-void
.end method

.method private a(Ljava/util/List;Landroid/graphics/Path;)V
    .locals 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Landroid/graphics/Point;",
            ">;",
            "Landroid/graphics/Path;",
            ")V"
        }
    .end annotation

    .line 492
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 493
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 494
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 495
    invoke-virtual {p2}, Landroid/graphics/Path;->reset()V

    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 496
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v5

    if-ge v4, v5, :cond_1

    .line 498
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v5

    add-int/lit8 v5, v5, -0x1

    if-ne v4, v5, :cond_0

    goto :goto_1

    .line 501
    :cond_0
    new-instance v5, Landroid/graphics/Point;

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Landroid/graphics/Point;

    iget v6, v6, Landroid/graphics/Point;->x:I

    add-int/lit8 v7, v4, 0x1

    invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->x:I

    add-int/2addr v6, v8

    div-int/lit8 v6, v6, 0x2

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->y:I

    invoke-interface {p1, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    add-int/2addr v4, v8

    div-int/lit8 v4, v4, 0x2

    invoke-direct {v5, v6, v4}, Landroid/graphics/Point;-><init>(II)V

    .line 503
    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move v4, v7

    goto :goto_0

    :cond_1
    :goto_1
    const/4 v4, 0x0

    .line 505
    :goto_2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v5

    if-ge v4, v5, :cond_3

    .line 507
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v5

    add-int/lit8 v5, v5, -0x1

    if-ne v4, v5, :cond_2

    goto :goto_3

    .line 510
    :cond_2
    new-instance v5, Landroid/graphics/Point;

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Landroid/graphics/Point;

    iget v6, v6, Landroid/graphics/Point;->x:I

    add-int/lit8 v7, v4, 0x1

    invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->x:I

    add-int/2addr v6, v8

    div-int/lit8 v6, v6, 0x2

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->y:I

    invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    add-int/2addr v4, v8

    div-int/lit8 v4, v4, 0x2

    invoke-direct {v5, v6, v4}, Landroid/graphics/Point;-><init>(II)V

    .line 512
    invoke-interface {v1, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    move v4, v7

    goto :goto_2

    :cond_3
    :goto_3
    const/4 v4, 0x0

    .line 514
    :goto_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v5

    if-ge v4, v5, :cond_5

    if-eqz v4, :cond_4

    .line 515
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v5

    add-int/lit8 v5, v5, -0x1

    if-eq v4, v5, :cond_4

    .line 516
    new-instance v5, Landroid/graphics/Point;

    invoke-direct {v5}, Landroid/graphics/Point;-><init>()V

    .line 517
    new-instance v6, Landroid/graphics/Point;

    invoke-direct {v6}, Landroid/graphics/Point;-><init>()V

    .line 518
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->x:I

    add-int/lit8 v8, v4, -0x1

    invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->x:I

    sub-int/2addr v7, v9

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->x:I

    add-int/2addr v7, v9

    iput v7, v5, Landroid/graphics/Point;->x:I

    .line 519
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->y:I

    invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->y:I

    sub-int/2addr v7, v9

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->y:I

    add-int/2addr v7, v9

    iput v7, v5, Landroid/graphics/Point;->y:I

    .line 520
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->x:I

    invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->x:I

    sub-int/2addr v7, v9

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Landroid/graphics/Point;

    iget v9, v9, Landroid/graphics/Point;->x:I

    add-int/2addr v7, v9

    iput v7, v6, Landroid/graphics/Point;->x:I

    .line 521
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Landroid/graphics/Point;

    iget v7, v7, Landroid/graphics/Point;->y:I

    invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    sub-int/2addr v7, v8

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Landroid/graphics/Point;

    iget v8, v8, Landroid/graphics/Point;->y:I

    add-int/2addr v7, v8

    iput v7, v6, Landroid/graphics/Point;->y:I

    .line 522
    invoke-interface {v2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 523
    invoke-interface {v2, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_4
    add-int/lit8 v4, v4, 0x1

    goto/16 :goto_4

    .line 526
    :cond_5
    :goto_5
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ge v3, v0, :cond_9

    if-nez v3, :cond_6

    .line 528
    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->x:I

    int-to-float v0, v0

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v1, v1

    invoke-virtual {p2, v0, v1}, Landroid/graphics/Path;->moveTo(FF)V

    .line 529
    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->x:I

    int-to-float v0, v0

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v1, v1

    add-int/lit8 v4, v3, 0x1

    .line 530
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/graphics/Point;

    iget v5, v5, Landroid/graphics/Point;->x:I

    int-to-float v5, v5

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->y:I

    int-to-float v4, v4

    .line 529
    invoke-virtual {p2, v0, v1, v5, v4}, Landroid/graphics/Path;->quadTo(FFFF)V

    goto/16 :goto_6

    .line 531
    :cond_6
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x2

    if-ge v3, v0, :cond_7

    mul-int/lit8 v0, v3, 0x2

    add-int/lit8 v1, v0, -0x1

    .line 532
    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->x:I

    int-to-float v6, v4

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v7, v1

    .line 533
    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    int-to-float v8, v1

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->y:I

    int-to-float v9, v0

    add-int/lit8 v0, v3, 0x1

    .line 534
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    int-to-float v10, v1

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->y:I

    int-to-float v11, v0

    move-object v5, p2

    .line 532
    invoke-virtual/range {v5 .. v11}, Landroid/graphics/Path;->cubicTo(FFFFFF)V

    goto :goto_6

    .line 535
    :cond_7
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x2

    if-ne v3, v0, :cond_8

    .line 536
    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->x:I

    int-to-float v0, v0

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v1, v1

    invoke-virtual {p2, v0, v1}, Landroid/graphics/Path;->moveTo(FF)V

    .line 537
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Point;

    iget v0, v0, Landroid/graphics/Point;->x:I

    int-to-float v0, v0

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v1, v1

    add-int/lit8 v4, v3, 0x1

    .line 538
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/graphics/Point;

    iget v5, v5, Landroid/graphics/Point;->x:I

    int-to-float v5, v5

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/graphics/Point;

    iget v4, v4, Landroid/graphics/Point;->y:I

    int-to-float v4, v4

    .line 537
    invoke-virtual {p2, v0, v1, v5, v4}, Landroid/graphics/Path;->quadTo(FFFF)V

    :cond_8
    :goto_6
    add-int/lit8 v3, v3, 0x1

    goto/16 :goto_5

    :cond_9
    return-void
.end method

.method private a(Ljava/util/Vector;Ljava/util/Vector;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Vector<",
            "Lcom/moji/mjweather/weather/entity/ForecastPoint;",
            ">;",
            "Ljava/util/Vector<",
            "Lcom/moji/mjweather/weather/entity/ForecastPoint;",
            ">;)V"
        }
    .end annotation

    .line 337
    invoke-virtual {p1}, Ljava/util/Vector;->size()I

    move-result v0

    invoke-virtual {p2}, Ljava/util/Vector;->size()I

    move-result v1

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    const v1, -0x800001

    const v2, 0x7f7fffff    # Float.MAX_VALUE

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v0, :cond_2

    .line 339
    invoke-virtual {p1, v3}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    .line 340
    invoke-virtual {p2, v3}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    .line 341
    iget v6, v4, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    cmpl-float v6, v6, v1

    if-lez v6, :cond_0

    .line 342
    iget v1, v4, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    .line 344
    :cond_0
    iget v4, v5, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    cmpg-float v4, v4, v2

    if-gez v4, :cond_1

    .line 345
    iget v2, v5, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 348
    :cond_2
    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    .line 349
    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->h:F

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Ljava/util/List;Ljava/util/TimeZone;)Z
    .locals 0

    .line 60
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b(Ljava/util/List;Ljava/util/TimeZone;)Z

    move-result p0

    return p0
.end method

.method static synthetic b(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;
    .locals 0

    .line 60
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ar:Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;

    return-object p0
.end method

.method private b()V
    .locals 3

    .line 273
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncCalculator;

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncCalculator;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    sget-object v1, Lcom/moji/tool/thread/ThreadType;->CPU_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 v2, 0x0

    new-array v2, v2, [Ljava/lang/Void;

    invoke-virtual {v0, v1, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncCalculator;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    return-void
.end method

.method private b(Ljava/util/List;Ljava/util/TimeZone;)Z
    .locals 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;",
            ">;",
            "Ljava/util/TimeZone;",
            ")Z"
        }
    .end annotation

    .line 217
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a:Ljava/lang/Object;

    monitor-enter v0

    .line 218
    :try_start_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->av:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 219
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v3, 0x7f03002b

    invoke-virtual {v1, v3}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ak:[Ljava/lang/String;

    .line 220
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    invoke-virtual {v1, p2}, Ljava/text/SimpleDateFormat;->setTimeZone(Ljava/util/TimeZone;)V

    const/high16 v1, 0x3f800000    # 1.0f

    .line 221
    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    const/4 v1, 0x0

    .line 222
    iput v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->h:F

    .line 223
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->clear()V

    .line 224
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    invoke-virtual {v1}, Ljava/util/Vector;->clear()V

    .line 225
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v1

    iget-object v1, v1, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    invoke-static {p2, v1}, Ljava/util/Calendar;->getInstance(Ljava/util/TimeZone;Ljava/util/Locale;)Ljava/util/Calendar;

    move-result-object v1

    const/4 v3, 0x2

    .line 226
    invoke-virtual {v1, v3}, Ljava/util/Calendar;->setFirstDayOfWeek(I)V

    const/16 v4, 0xb

    .line 227
    invoke-virtual {v1, v4, v2}, Ljava/util/Calendar;->set(II)V

    const/16 v4, 0xc

    .line 228
    invoke-virtual {v1, v4, v2}, Ljava/util/Calendar;->set(II)V

    const/16 v4, 0xd

    .line 229
    invoke-virtual {v1, v4, v2}, Ljava/util/Calendar;->set(II)V

    const/16 v4, 0xe

    .line 230
    invoke-virtual {v1, v4, v2}, Ljava/util/Calendar;->set(II)V

    .line 231
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v4

    iget-object v4, v4, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;

    invoke-static {p2, v4}, Ljava/util/Calendar;->getInstance(Ljava/util/TimeZone;Ljava/util/Locale;)Ljava/util/Calendar;

    move-result-object p2

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aj:Ljava/util/Calendar;

    .line 232
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aj:Ljava/util/Calendar;

    invoke-virtual {p2, v3}, Ljava/util/Calendar;->setFirstDayOfWeek(I)V

    .line 233
    invoke-virtual {v1}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v3

    const/4 p2, 0x0

    if-eqz p1, :cond_0

    .line 236
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_0

    .line 237
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    .line 238
    invoke-interface {p2, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    const/4 p1, 0x1

    if-eqz p2, :cond_3

    .line 240
    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_3

    const/4 v1, 0x0

    const/4 v5, 0x0

    .line 241
    :goto_0
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v6

    if-ge v2, v6, :cond_4

    .line 242
    invoke-interface {p2, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    .line 243
    new-instance v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    int-to-float v8, v2

    iget v9, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mTemperatureHigh:I

    int-to-float v9, v9

    invoke-direct {v7, v8, v9}, Lcom/moji/mjweather/weather/entity/ForecastPoint;-><init>(FF)V

    .line 244
    iget v9, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mTemperatureHigh:I

    int-to-double v9, v9

    invoke-direct {p0, v9, v10}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(D)Ljava/lang/String;

    move-result-object v9

    iput-object v9, v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;->c:Ljava/lang/String;

    .line 245
    iget-wide v9, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    iput-wide v9, v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;->d:J

    .line 246
    new-instance v9, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    iget v10, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mTemperatureLow:I

    int-to-float v10, v10

    invoke-direct {v9, v8, v10}, Lcom/moji/mjweather/weather/entity/ForecastPoint;-><init>(FF)V

    .line 247
    iget v8, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mTemperatureLow:I

    int-to-double v10, v8

    invoke-direct {p0, v10, v11}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(D)Ljava/lang/String;

    move-result-object v8

    iput-object v8, v9, Lcom/moji/mjweather/weather/entity/ForecastPoint;->c:Ljava/lang/String;

    .line 248
    iget-wide v10, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    iput-wide v10, v9, Lcom/moji/mjweather/weather/entity/ForecastPoint;->d:J

    .line 249
    iget-wide v10, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    cmp-long v8, v10, v3

    if-ltz v8, :cond_1

    if-nez v5, :cond_1

    .line 251
    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    const/4 v5, 0x1

    :cond_1
    if-nez v1, :cond_2

    .line 253
    iget-object v6, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mAqiDescription:Ljava/lang/String;

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_2

    const/4 v1, 0x1

    .line 256
    :cond_2
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    invoke-virtual {v6, v7}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z

    .line 257
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    invoke-virtual {v6, v9}, Ljava/util/Vector;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_3
    const/4 v1, 0x0

    :cond_4
    if-eqz p2, :cond_5

    .line 261
    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_5

    .line 262
    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    .line 263
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->av:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p2, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 264
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c()Z

    goto :goto_1

    .line 266
    :cond_5
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->av:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {p2, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 268
    :goto_1
    monitor-exit v0

    return v1

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method static synthetic c(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)Ljava/util/ArrayList;
    .locals 0

    .line 60
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    return-object p0
.end method

.method private c()Z
    .locals 20

    move-object/from16 v1, p0

    .line 278
    iget-object v2, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a:Ljava/lang/Object;

    monitor-enter v2

    .line 279
    :try_start_0
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getWidth()I

    move-result v0

    iput v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    .line 280
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getHeight()I

    move-result v0

    iput v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    .line 281
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    const/4 v3, 0x0

    if-lez v0, :cond_4

    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    if-gtz v0, :cond_0

    goto/16 :goto_1

    .line 284
    :cond_0
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    if-eqz v0, :cond_3

    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_1

    goto/16 :goto_0

    .line 288
    :cond_1
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0, v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 289
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 290
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ac:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 291
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ab:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 292
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 293
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 294
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 295
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ag:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 296
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ah:Landroid/graphics/Path;

    invoke-virtual {v0}, Landroid/graphics/Path;->reset()V

    .line 297
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 298
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 299
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    iget-object v4, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    invoke-direct {v1, v0, v4}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Ljava/util/Vector;Ljava/util/Vector;)V

    .line 300
    invoke-direct/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e()V

    .line 301
    invoke-direct/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f()V

    .line 302
    invoke-direct/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->h()V

    .line 303
    invoke-direct/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d()V

    .line 304
    invoke-direct/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->g()V

    .line 306
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v0, v0

    iget v4, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    int-to-float v4, v4

    iget v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->k:F

    mul-float v4, v4, v5

    add-float/2addr v0, v4

    .line 307
    iget v4, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v4, v4

    iget-object v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    const/4 v6, 0x1

    sub-int/2addr v5, v6

    int-to-float v5, v5

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->k:F

    mul-float v5, v5, v7

    add-float/2addr v4, v5

    .line 308
    iget v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v5, v5

    sub-float/2addr v0, v5

    iget v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v5, v5

    sub-float v5, v4, v5

    div-float/2addr v0, v5

    .line 309
    new-instance v5, Landroid/graphics/LinearGradient;

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v8, v7

    const/4 v9, 0x0

    const/4 v11, 0x0

    const/4 v15, 0x4

    new-array v12, v15, [I

    fill-array-data v12, :array_0

    new-array v13, v15, [F

    const/16 v16, 0x0

    aput v16, v13, v3

    aput v0, v13, v6

    const/16 v17, 0x2

    aput v0, v13, v17

    const/high16 v18, 0x3f800000    # 1.0f

    const/16 v19, 0x3

    aput v18, v13, v19

    sget-object v14, Landroid/graphics/Shader$TileMode;->MIRROR:Landroid/graphics/Shader$TileMode;

    move-object v7, v5

    move v10, v4

    invoke-direct/range {v7 .. v14}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 310
    new-instance v14, Landroid/graphics/LinearGradient;

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v8, v7

    const/4 v9, 0x0

    const/4 v11, 0x0

    new-array v12, v15, [I

    fill-array-data v12, :array_1

    new-array v13, v15, [F

    aput v16, v13, v3

    aput v0, v13, v6

    aput v0, v13, v17

    aput v18, v13, v19

    sget-object v0, Landroid/graphics/Shader$TileMode;->MIRROR:Landroid/graphics/Shader$TileMode;

    move-object v7, v14

    move v10, v4

    move-object v3, v14

    move-object v14, v0

    invoke-direct/range {v7 .. v14}, Landroid/graphics/LinearGradient;-><init>(FFFF[I[FLandroid/graphics/Shader$TileMode;)V

    .line 311
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    invoke-virtual {v0, v5}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 312
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 314
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    iget-object v3, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f:Landroid/graphics/Path;

    invoke-direct {v1, v0, v3}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Ljava/util/List;Landroid/graphics/Path;)V

    .line 315
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    iget-object v3, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->g:Landroid/graphics/Path;

    invoke-direct {v1, v0, v3}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Ljava/util/List;Landroid/graphics/Path;)V

    .line 316
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0, v6}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 317
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aw:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    if-eqz v0, :cond_2

    .line 318
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aw:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    invoke-interface {v0}, Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;->a()V

    const/4 v0, 0x0

    .line 319
    iput-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aw:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    .line 321
    :cond_2
    monitor-exit v2

    return v6

    .line 285
    :cond_3
    :goto_0
    monitor-exit v2

    return v3

    .line 282
    :cond_4
    :goto_1
    monitor-exit v2

    return v3

    :catchall_0
    move-exception v0

    .line 321
    monitor-exit v2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0

    :array_0
    .array-data 4
        -0x7f1134d6
        -0x7f1134d6
        -0x1134d6
        -0x1134d6
    .end array-data

    :array_1
    .array-data 4
        -0x7f793325
        -0x7f793325
        -0x793325
        -0x793325
    .end array-data
.end method

.method private d()V
    .locals 3

    .line 353
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->m:I

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->n:I

    sub-int/2addr v0, v1

    int-to-float v0, v0

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->h:F

    sub-float/2addr v1, v2

    div-float/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->j:F

    return-void
.end method

.method static synthetic d(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)Z
    .locals 0

    .line 60
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c()Z

    move-result p0

    return p0
.end method

.method private e()V
    .locals 2

    .line 357
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-eqz v0, :cond_0

    .line 358
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    div-int/2addr v0, v1

    int-to-float v0, v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->k:F

    .line 359
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    shl-int/lit8 v1, v1, 0x1

    div-int/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    :cond_0
    return-void
.end method

.method private f()V
    .locals 4

    const/4 v0, 0x0

    .line 463
    :goto_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    .line 464
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->l:I

    int-to-float v1, v1

    int-to-float v2, v0

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->k:F

    mul-float v2, v2, v3

    add-float/2addr v1, v2

    .line 465
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    float-to-int v1, v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method private g()V
    .locals 12

    .line 473
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b:F

    const/high16 v1, 0x40400000    # 3.0f

    mul-float v0, v0, v1

    neg-float v0, v0

    .line 474
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b:F

    const/high16 v2, 0x40c00000    # 6.0f

    mul-float v1, v1, v2

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 475
    :goto_0
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    invoke-virtual {v4}, Ljava/util/Vector;->size()I

    move-result v4

    const v5, 0x7f0e0911

    const/4 v6, 0x1

    if-ge v3, v4, :cond_1

    .line 476
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v4

    int-to-float v4, v4

    .line 477
    iget v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    iget-object v8, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    invoke-virtual {v8, v3}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    iget v8, v8, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    sub-float/2addr v7, v8

    iget v8, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->j:F

    mul-float v7, v7, v8

    iget v8, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->n:I

    int-to-float v8, v8

    add-float/2addr v7, v8

    .line 478
    iget-object v8, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    new-instance v9, Landroid/graphics/Point;

    float-to-int v10, v4

    float-to-int v11, v7

    invoke-direct {v9, v10, v11}, Landroid/graphics/Point;-><init>(II)V

    invoke-virtual {v8, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 479
    iget-object v8, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    new-instance v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    new-instance v10, Landroid/graphics/PointF;

    add-float/2addr v7, v0

    invoke-direct {v10, v4, v7}, Landroid/graphics/PointF;-><init>(FF)V

    new-instance v4, Ljava/lang/StringBuilder;

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

    iget-object v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->c:Ljava/util/Vector;

    .line 480
    invoke-virtual {v7, v3}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    iget-object v7, v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;->c:Ljava/lang/String;

    invoke-virtual {v4, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v7

    invoke-virtual {v7, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    iget v5, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    if-ge v3, v5, :cond_0

    goto :goto_1

    :cond_0
    const/4 v6, 0x0

    :goto_1
    invoke-direct {v9, p0, v10, v4, v6}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Landroid/graphics/PointF;Ljava/lang/String;Z)V

    .line 479
    invoke-interface {v8, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 482
    :goto_2
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    invoke-virtual {v3}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v0, v3, :cond_3

    .line 483
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    int-to-float v3, v3

    .line 484
    iget v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->i:F

    iget-object v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    invoke-virtual {v7, v0}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    iget v7, v7, Lcom/moji/mjweather/weather/entity/ForecastPoint;->b:F

    sub-float/2addr v4, v7

    iget v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->j:F

    mul-float v4, v4, v7

    iget v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->n:I

    int-to-float v7, v7

    add-float/2addr v4, v7

    .line 485
    iget-object v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    new-instance v8, Landroid/graphics/Point;

    float-to-int v9, v3

    float-to-int v10, v4

    invoke-direct {v8, v9, v10}, Landroid/graphics/Point;-><init>(II)V

    invoke-virtual {v7, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 486
    iget-object v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    new-instance v8, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    new-instance v9, Landroid/graphics/PointF;

    add-float/2addr v4, v1

    invoke-direct {v9, v3, v4}, Landroid/graphics/PointF;-><init>(FF)V

    new-instance v3, Ljava/lang/StringBuilder;

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

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->d:Ljava/util/Vector;

    .line 487
    invoke-virtual {v4, v0}, Ljava/util/Vector;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/moji/mjweather/weather/entity/ForecastPoint;

    iget-object v4, v4, Lcom/moji/mjweather/weather/entity/ForecastPoint;->c:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iget v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    if-ge v0, v4, :cond_2

    const/4 v4, 0x1

    goto :goto_3

    :cond_2
    const/4 v4, 0x0

    :goto_3
    invoke-direct {v8, p0, v9, v3, v4}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Landroid/graphics/PointF;Ljava/lang/String;Z)V

    .line 486
    invoke-interface {v7, v8}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_3
    return-void
.end method

.method private h()V
    .locals 16

    move-object/from16 v1, p0

    .line 544
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    if-eqz v0, :cond_b

    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_b

    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v2, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v0, v2, :cond_0

    goto/16 :goto_8

    .line 547
    :cond_0
    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    .line 548
    iget-object v2, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    invoke-virtual {v2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v2

    .line 549
    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v3

    const-wide/32 v5, 0x5265c00

    sub-long/2addr v3, v5

    .line 550
    invoke-virtual {v0, v3, v4}, Ljava/util/Date;->setTime(J)V

    .line 551
    iget-object v3, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    invoke-virtual {v3, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v3

    .line 552
    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v4

    const-wide/32 v6, 0xa4cb800

    add-long/2addr v4, v6

    .line 553
    invoke-virtual {v0, v4, v5}, Ljava/util/Date;->setTime(J)V

    .line 554
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    const-string v0, ""

    .line 557
    iget-object v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    const/4 v6, 0x0

    const/4 v7, 0x1

    if-le v5, v7, :cond_1

    .line 558
    iget-object v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v5, v7}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/Integer;

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v5

    iget-object v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v8, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/Integer;

    invoke-virtual {v8}, Ljava/lang/Integer;->intValue()I

    move-result v8

    sub-int/2addr v5, v8

    iput v5, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    :cond_1
    const/4 v5, 0x0

    .line 564
    :goto_0
    iget-object v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v8}, Ljava/util/ArrayList;->size()I

    move-result v8

    if-ge v5, v8, :cond_a

    .line 565
    iget-object v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v8, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/Integer;

    invoke-virtual {v8}, Ljava/lang/Integer;->intValue()I

    move-result v8

    int-to-float v8, v8

    .line 566
    new-instance v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v9, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    .line 567
    iget v10, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->o:I

    .line 568
    iget v11, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    if-ge v5, v11, :cond_2

    const/4 v11, 0x1

    goto :goto_1

    :cond_2
    const/4 v11, 0x0

    .line 569
    :goto_1
    iput-boolean v11, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 570
    iget-object v12, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ai:Ljava/text/SimpleDateFormat;

    new-instance v13, Ljava/util/Date;

    iget-object v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v14, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v14

    check-cast v14, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-wide v14, v14, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    invoke-direct {v13, v14, v15}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v12, v13}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v12

    if-lez v5, :cond_3

    .line 571
    invoke-virtual {v12, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

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

    move-result-object v0

    sget-object v13, Lcom/moji/statistics/EVENT_TAG;->FORCAST_DATAIL_TIME_ERROR:Lcom/moji/statistics/EVENT_TAG;

    const-string v14, ""

    const/4 v15, 0x2

    new-array v15, v15, [Ljava/lang/Object;

    iget-object v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    add-int/lit8 v6, v5, -0x1

    invoke-interface {v7, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-wide v6, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v6

    const/4 v7, 0x0

    aput-object v6, v15, v7

    iget-object v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v6, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-wide v6, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    invoke-static {v6, v7}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v6

    const/4 v7, 0x1

    aput-object v6, v15, v7

    invoke-static {v15}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v6

    invoke-virtual {v0, v13, v14, v6}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;

    .line 575
    :cond_3
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aj:Ljava/util/Calendar;

    iget-object v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v6, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-wide v6, v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mPredictDate:J

    invoke-virtual {v0, v6, v7}, Ljava/util/Calendar;->setTimeInMillis(J)V

    .line 580
    invoke-virtual {v2, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 581
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v6, 0x7f0e095d

    invoke-virtual {v0, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    :goto_2
    const/4 v6, 0x1

    goto :goto_3

    .line 582
    :cond_4
    invoke-virtual {v3, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 583
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v6, 0x7f0e0acf

    invoke-virtual {v0, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    goto :goto_2

    .line 584
    :cond_5
    invoke-virtual {v4, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 585
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v6, 0x7f0e0963

    invoke-virtual {v0, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    goto :goto_2

    .line 587
    :cond_6
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aj:Ljava/util/Calendar;

    const/4 v6, 0x7

    invoke-virtual {v0, v6}, Ljava/util/Calendar;->get(I)I

    move-result v0

    const/4 v6, 0x1

    sub-int/2addr v0, v6

    .line 588
    iget-object v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ak:[Ljava/lang/String;

    aget-object v0, v7, v0

    iput-object v0, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 590
    :goto_3
    new-instance v0, Landroid/graphics/PointF;

    add-int v7, v10, v10

    iget v13, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->s:I

    add-int/2addr v7, v13

    iget v13, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->A:I

    sub-int/2addr v7, v13

    shr-int/2addr v7, v6

    int-to-float v6, v7

    invoke-direct {v0, v8, v6}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object v0, v9, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 591
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ab:Ljava/util/List;

    invoke-interface {v0, v9}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 593
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    .line 594
    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->s:I

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->p:I

    add-int/2addr v6, v7

    add-int/2addr v10, v6

    .line 595
    iput-object v12, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 596
    new-instance v6, Landroid/graphics/PointF;

    add-int v7, v10, v10

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    add-int/2addr v7, v9

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->C:I

    sub-int/2addr v7, v9

    const/4 v9, 0x1

    shr-int/2addr v7, v9

    int-to-float v7, v7

    invoke-direct {v6, v8, v7}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object v6, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 597
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 598
    iget-object v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v6, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 600
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->q:I

    add-int/2addr v0, v6

    add-int/2addr v10, v0

    .line 601
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-object v0, v0, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mConditionDay:Ljava/lang/String;

    invoke-direct {v1, v0, v10, v8, v11}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Ljava/lang/String;IFZ)V

    .line 603
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->p:I

    add-int/2addr v0, v6

    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    add-int/2addr v0, v6

    add-int/2addr v10, v0

    .line 604
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;

    const/4 v6, 0x0

    invoke-direct {v0, v1, v6}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$1;)V

    .line 605
    new-instance v7, Landroid/graphics/RectF;

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    const/4 v13, 0x1

    shr-int/2addr v9, v13

    int-to-float v9, v9

    sub-float v9, v8, v9

    int-to-float v14, v10

    iget v15, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    shr-int/2addr v15, v13

    int-to-float v13, v15

    add-float/2addr v13, v8

    iget v15, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    add-int/2addr v15, v10

    int-to-float v15, v15

    invoke-direct {v7, v9, v14, v13, v15}, Landroid/graphics/RectF;-><init>(FFFF)V

    iput-object v7, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->a:Landroid/graphics/RectF;

    .line 607
    :try_start_0
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v7

    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v9, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget v9, v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mIconDay:I

    const/4 v13, 0x1

    invoke-direct {v1, v9, v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(IZ)I

    move-result v9

    iget-object v13, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->au:Landroid/graphics/BitmapFactory$Options;

    invoke-static {v7, v9, v13}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v7

    iput-object v7, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->b:Landroid/graphics/Bitmap;

    .line 608
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->c:Z

    .line 609
    iget-object v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    invoke-interface {v7, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_4

    :catch_0
    move-exception v0

    const-string v7, "Forecast15DaysCurveView"

    .line 611
    invoke-static {v7, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 614
    :goto_4
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    add-int/2addr v10, v0

    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->r:I

    add-int/2addr v10, v0

    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    add-int/2addr v10, v0

    iput v10, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->n:I

    .line 615
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->n:I

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->x:I

    add-int/2addr v0, v7

    iput v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->m:I

    .line 617
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;

    invoke-direct {v0, v1, v6}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$1;)V

    .line 618
    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->m:I

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->r:I

    add-int/2addr v7, v9

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    add-int/2addr v7, v9

    .line 619
    new-instance v9, Landroid/graphics/RectF;

    iget v10, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    const/4 v13, 0x1

    shr-int/2addr v10, v13

    int-to-float v10, v10

    sub-float v10, v8, v10

    int-to-float v14, v7

    iget v15, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    shr-int/2addr v15, v13

    int-to-float v13, v15

    add-float/2addr v13, v8

    iget v15, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    add-int/2addr v15, v7

    int-to-float v15, v15

    invoke-direct {v9, v10, v14, v13, v15}, Landroid/graphics/RectF;-><init>(FFFF)V

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->a:Landroid/graphics/RectF;

    .line 621
    :try_start_1
    invoke-virtual/range {p0 .. p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    iget-object v10, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v10, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget v10, v10, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mIconNight:I
    :try_end_1
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_2

    const/4 v13, 0x0

    :try_start_2
    invoke-direct {v1, v10, v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(IZ)I

    move-result v10

    iget-object v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->au:Landroid/graphics/BitmapFactory$Options;

    invoke-static {v9, v10, v14}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v9

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->b:Landroid/graphics/Bitmap;

    .line 622
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;->c:Z

    .line 623
    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    invoke-interface {v9, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_2
    .catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_6

    :catch_1
    move-exception v0

    goto :goto_5

    :catch_2
    move-exception v0

    const/4 v13, 0x0

    :goto_5
    const-string v9, "Forecast15DaysCurveView"

    .line 625
    invoke-static {v9, v0}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 628
    :goto_6
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->w:I

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->p:I

    add-int/2addr v0, v9

    add-int/2addr v7, v0

    .line 629
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-object v0, v0, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mConditionNight:Ljava/lang/String;

    invoke-direct {v1, v0, v7, v8, v11}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Ljava/lang/String;IFZ)V

    .line 631
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->q:I

    add-int/2addr v0, v9

    add-int/2addr v7, v0

    .line 632
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    .line 633
    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v9, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-object v9, v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mWindDirDay:Ljava/lang/String;

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 634
    new-instance v9, Landroid/graphics/PointF;

    add-int v10, v7, v7

    iget v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    add-int/2addr v10, v14

    iget v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->C:I

    sub-int/2addr v10, v14

    const/4 v14, 0x1

    shr-int/2addr v10, v14

    int-to-float v10, v10

    invoke-direct {v9, v8, v10}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 635
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 636
    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v9, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 638
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->p:I

    add-int/2addr v0, v9

    add-int/2addr v7, v0

    .line 639
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    invoke-direct {v0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;)V

    .line 640
    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v9, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-object v9, v9, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mWindLevelDay:Ljava/lang/String;

    iget-object v10, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v10, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    iget-wide v14, v10, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;->mWindSpeedDays:D

    invoke-static {v9, v14, v15}, Lcom/moji/preferences/units/UNIT_SPEED;->getWindDescription(Ljava/lang/String;D)Ljava/lang/String;

    move-result-object v9

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    .line 641
    new-instance v9, Landroid/graphics/PointF;

    add-int v10, v7, v7

    iget v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    add-int/2addr v10, v14

    iget v14, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->C:I

    sub-int/2addr v10, v14

    const/4 v14, 0x1

    shr-int/2addr v10, v14

    int-to-float v10, v10

    invoke-direct {v9, v8, v10}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    .line 642
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    .line 643
    iget-object v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v9, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 645
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;

    invoke-direct {v0, v1, v6}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$1;)V

    .line 646
    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->q:I

    add-int/2addr v6, v9

    add-int/2addr v7, v6

    .line 647
    iget-object v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->e:Ljava/util/List;

    invoke-interface {v6, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;

    invoke-direct {v1, v6, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;)V

    .line 648
    iget-object v6, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    if-eqz v6, :cond_7

    iget-object v6, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->c:Ljava/lang/String;

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-nez v6, :cond_7

    .line 649
    iget v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->y:I

    const/4 v9, 0x1

    shr-int/2addr v6, v9

    int-to-float v6, v6

    sub-float v6, v8, v6

    .line 650
    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->y:I

    int-to-float v9, v9

    add-float/2addr v9, v6

    .line 652
    iput-boolean v11, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->d:Z

    .line 653
    iget-object v10, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    float-to-int v6, v6

    float-to-int v9, v9

    iget v11, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->z:I

    add-int/2addr v11, v7

    invoke-virtual {v10, v6, v7, v9, v11}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 654
    new-instance v6, Landroid/graphics/PointF;

    iget-object v7, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v7}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;

    move-result-object v7

    iget v7, v7, Landroid/graphics/Rect;->top:I

    iget-object v9, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->a:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v9}, Landroid/graphics/drawable/Drawable;->getBounds()Landroid/graphics/Rect;

    move-result-object v9

    iget v9, v9, Landroid/graphics/Rect;->bottom:I

    add-int/2addr v7, v9

    iget v9, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->D:I

    sub-int/2addr v7, v9

    const/4 v9, 0x1

    shr-int/2addr v7, v9

    int-to-float v7, v7

    invoke-direct {v6, v8, v7}, Landroid/graphics/PointF;-><init>(FF)V

    iput-object v6, v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;->b:Landroid/graphics/PointF;

    .line 655
    iget-object v6, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ag:Ljava/util/List;

    invoke-interface {v6, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 658
    :cond_7
    iget v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    if-lez v0, :cond_8

    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v6, 0x1

    sub-int/2addr v0, v6

    if-eq v5, v0, :cond_9

    .line 659
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ah:Landroid/graphics/Path;

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    mul-int v7, v7, v5

    iget v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    add-int/2addr v7, v8

    int-to-float v7, v7

    iget v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    int-to-float v8, v8

    invoke-virtual {v0, v7, v8}, Landroid/graphics/Path;->moveTo(FF)V

    .line 660
    iget-object v0, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ah:Landroid/graphics/Path;

    iget v7, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    mul-int v7, v7, v5

    iget v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    add-int/2addr v7, v8

    int-to-float v7, v7

    iget v8, v1, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    int-to-float v8, v8

    invoke-virtual {v0, v7, v8}, Landroid/graphics/Path;->lineTo(FF)V

    goto :goto_7

    :cond_8
    const/4 v6, 0x1

    :cond_9
    :goto_7
    add-int/lit8 v5, v5, 0x1

    move-object v0, v12

    const/4 v6, 0x0

    const/4 v7, 0x1

    goto/16 :goto_0

    :cond_a
    return-void

    :cond_b
    :goto_8
    return-void
.end method

.method private i()V
    .locals 6

    .line 778
    new-instance v0, Landroid/graphics/Paint;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    .line 779
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setDither(Z)V

    .line 780
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 781
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    const/high16 v2, 0x3f800000    # 1.0f

    invoke-direct {p0, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v3

    int-to-float v3, v3

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 782
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    const v3, -0x1f2e83

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 784
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    .line 785
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setDither(Z)V

    .line 786
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    sget-object v3, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 787
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    invoke-direct {p0, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 788
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    const v2, -0x591c01

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 790
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    .line 791
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 792
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->G:Landroid/graphics/Paint;

    const/4 v2, -0x1

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 794
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    const/high16 v0, 0x41600000    # 14.0f

    .line 795
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    .line 796
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->v:I

    int-to-float v3, v3

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 797
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->as:I

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 798
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    sget-object v3, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 799
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    invoke-virtual {v0}, Landroid/graphics/Paint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;

    move-result-object v0

    .line 800
    iget v3, v0, Landroid/graphics/Paint$FontMetricsInt;->bottom:I

    iget v0, v0, Landroid/graphics/Paint$FontMetricsInt;->top:I

    add-int/2addr v3, v0

    iput v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->B:I

    .line 802
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    const/high16 v0, 0x41800000    # 16.0f

    .line 803
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->s:I

    .line 804
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->s:I

    int-to-float v3, v3

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 805
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 806
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 807
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    invoke-virtual {v0}, Landroid/graphics/Paint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;

    move-result-object v0

    .line 808
    iget v2, v0, Landroid/graphics/Paint$FontMetricsInt;->bottom:I

    iget v0, v0, Landroid/graphics/Paint$FontMetricsInt;->top:I

    add-int/2addr v2, v0

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->A:I

    .line 810
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    const/high16 v0, 0x41400000    # 12.0f

    .line 811
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    .line 812
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->t:I

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 813
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->as:I

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 814
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 815
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    invoke-virtual {v0}, Landroid/graphics/Paint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;

    move-result-object v0

    .line 816
    iget v2, v0, Landroid/graphics/Paint$FontMetricsInt;->bottom:I

    iget v0, v0, Landroid/graphics/Paint$FontMetricsInt;->top:I

    add-int/2addr v2, v0

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->C:I

    .line 818
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    const/high16 v0, 0x41300000    # 11.0f

    .line 819
    invoke-direct {p0, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->u:I

    .line 820
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->u:I

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 821
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->as:I

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 822
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Align;->CENTER:Landroid/graphics/Paint$Align;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 823
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    invoke-virtual {v0}, Landroid/graphics/Paint;->getFontMetricsInt()Landroid/graphics/Paint$FontMetricsInt;

    move-result-object v0

    .line 824
    iget v2, v0, Landroid/graphics/Paint$FontMetricsInt;->bottom:I

    iget v0, v0, Landroid/graphics/Paint$FontMetricsInt;->top:I

    add-int/2addr v2, v0

    iput v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->D:I

    .line 826
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->H:Landroid/graphics/Paint;

    .line 828
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    .line 829
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 830
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    const/high16 v2, 0x3f000000    # 0.5f

    invoke-direct {p0, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v2

    int-to-float v2, v2

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 831
    new-instance v0, Landroid/graphics/DashPathEffect;

    const/4 v2, 0x2

    new-array v3, v2, [F

    iget v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    mul-int/lit8 v4, v4, 0x2

    int-to-float v4, v4

    const/4 v5, 0x0

    aput v4, v3, v5

    iget v4, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    mul-int/lit8 v4, v4, 0x2

    int-to-float v2, v4

    aput v2, v3, v1

    const/4 v2, 0x0

    invoke-direct {v0, v3, v2}, Landroid/graphics/DashPathEffect;-><init>([FF)V

    .line 832
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    invoke-virtual {v2, v0}, Landroid/graphics/Paint;->setPathEffect(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;

    .line 833
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f060237

    invoke-static {v2, v3}, Landroid/support/v4/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result v2

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 835
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->K:Landroid/graphics/Paint;

    .line 836
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->K:Landroid/graphics/Paint;

    sget-object v2, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 837
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->K:Landroid/graphics/Paint;

    const/high16 v2, 0x12000000

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setColor(I)V

    .line 839
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v1}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->I:Landroid/graphics/Paint;

    .line 840
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->I:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 841
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->I:Landroid/graphics/Paint;

    const/high16 v1, 0x3f400000    # 0.75f

    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(F)I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 842
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->I:Landroid/graphics/Paint;

    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v3}, Landroid/support/v4/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    return-void
.end method


# virtual methods
.method public a(II)V
    .locals 0

    .line 773
    iput p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->P:I

    .line 774
    iput p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->Q:I

    return-void
.end method

.method public a(Ljava/util/List;Ljava/util/TimeZone;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/weatherprovider/data/ForecastDayList$ForecastDay;",
            ">;",
            "Ljava/util/TimeZone;",
            ")V"
        }
    .end annotation

    .line 212
    new-instance v0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncDataSetter;

    invoke-direct {v0, p0, p1, p2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncDataSetter;-><init>(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;Ljava/util/List;Ljava/util/TimeZone;)V

    sget-object p1, Lcom/moji/tool/thread/ThreadType;->CPU_THREAD:Lcom/moji/tool/thread/ThreadType;

    const/4 p2, 0x0

    new-array p2, p2, [Ljava/lang/Void;

    invoke-virtual {v0, p1, p2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AsyncDataSetter;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    return-void
.end method

.method public a()Z
    .locals 1

    .line 364
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 14

    .line 377
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f:Landroid/graphics/Path;

    if-nez v0, :cond_0

    return-void

    .line 378
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    if-nez v0, :cond_1

    return-void

    .line 381
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->av:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    if-nez v0, :cond_2

    return-void

    .line 385
    :cond_2
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 386
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 388
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->getHeight()I

    move-result v0

    .line 389
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    if-eq v0, v1, :cond_3

    const-string v1, "Forecast15DaysCurveView"

    .line 390
    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "onDraw but viewHeight changed  oldViewHeight:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v3, " newViewHeight:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->e(Ljava/lang/String;Ljava/lang/String;)V

    .line 391
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->P:I

    iget v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->P:I

    invoke-virtual {p0, v1, v0, v2, v0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->onSizeChanged(IIII)V

    .line 393
    :cond_3
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a:Ljava/lang/Object;

    monitor-enter v0

    const/4 v2, 0x0

    .line 394
    :try_start_0
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    const/4 v7, 0x1

    shr-int/2addr v1, v7

    int-to-float v3, v1

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    int-to-float v4, v1

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->U:I

    shr-int/2addr v1, v7

    int-to-float v5, v1

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->I:Landroid/graphics/Paint;

    move-object v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 395
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->f:Landroid/graphics/Path;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->E:Landroid/graphics/Paint;

    invoke-direct {p0, p1, v1, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/Path;Landroid/graphics/Paint;)V

    .line 396
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->g:Landroid/graphics/Path;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->F:Landroid/graphics/Paint;

    invoke-direct {p0, p1, v1, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/Path;Landroid/graphics/Paint;)V

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 398
    :goto_0
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v2, v3, :cond_5

    .line 399
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->W:Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/graphics/Point;

    .line 400
    iget v4, v3, Landroid/graphics/Point;->x:I

    int-to-float v4, v4

    iget v3, v3, Landroid/graphics/Point;->y:I

    int-to-float v3, v3

    iget v5, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    if-ge v2, v5, :cond_4

    const/4 v5, 0x1

    goto :goto_1

    :cond_4
    const/4 v5, 0x0

    :goto_1
    invoke-direct {p0, p1, v4, v3, v5}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;FFZ)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_5
    const/4 v2, 0x0

    .line 402
    :goto_2
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v2, v3, :cond_7

    .line 403
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aa:Ljava/util/ArrayList;

    invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/graphics/Point;

    .line 404
    iget v4, v3, Landroid/graphics/Point;->x:I

    int-to-float v4, v4

    iget v3, v3, Landroid/graphics/Point;->y:I

    int-to-float v3, v3

    iget v5, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->T:I

    if-ge v2, v5, :cond_6

    const/4 v5, 0x1

    goto :goto_3

    :cond_6
    const/4 v5, 0x0

    :goto_3
    invoke-direct {p0, p1, v4, v3, v5}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;FFZ)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_2

    :cond_7
    const/4 v2, 0x0

    .line 406
    :goto_4
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ac:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_8

    .line 407
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ac:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    .line 408
    iget-object v10, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    iget-object v11, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    iget-object v12, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->L:Landroid/graphics/Paint;

    iget-boolean v13, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    move-object v8, p0

    move-object v9, p1

    invoke-direct/range {v8 .. v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/PointF;Ljava/lang/String;Landroid/graphics/Paint;Z)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_4

    :cond_8
    const/4 v2, 0x0

    .line 410
    :goto_5
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_9

    .line 411
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ad:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    .line 412
    iget-object v10, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    iget-object v11, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    iget-object v12, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->N:Landroid/graphics/Paint;

    iget-boolean v13, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    move-object v8, p0

    move-object v9, p1

    invoke-direct/range {v8 .. v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/PointF;Ljava/lang/String;Landroid/graphics/Paint;Z)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_5

    .line 414
    :cond_9
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    iget v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->as:I

    invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V

    const/4 v2, 0x0

    .line 415
    :goto_6
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_a

    .line 416
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ae:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    .line 417
    iget-object v10, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    iget-object v11, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    iget-object v12, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->O:Landroid/graphics/Paint;

    iget-boolean v13, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    move-object v8, p0

    move-object v9, p1

    invoke-direct/range {v8 .. v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/PointF;Ljava/lang/String;Landroid/graphics/Paint;Z)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_6

    :cond_a
    const/4 v2, 0x0

    .line 419
    :goto_7
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ab:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_b

    .line 420
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ab:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;

    .line 421
    iget-object v10, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->a:Landroid/graphics/PointF;

    iget-object v11, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->b:Ljava/lang/String;

    iget-object v12, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->M:Landroid/graphics/Paint;

    iget-boolean v13, v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$TextContent;->c:Z

    move-object v8, p0

    move-object v9, p1

    invoke-direct/range {v8 .. v13}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Landroid/graphics/PointF;Ljava/lang/String;Landroid/graphics/Paint;Z)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_7

    :cond_b
    const/4 v2, 0x0

    .line 423
    :goto_8
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_c

    .line 424
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->af:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;

    .line 425
    invoke-direct {p0, p1, v3}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$WeatherIcon;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_8

    .line 427
    :cond_c
    :goto_9
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ag:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_d

    .line 428
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ag:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;

    .line 429
    invoke-direct {p0, p1, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$AQIText;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_9

    .line 432
    :cond_d
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ah:Landroid/graphics/Path;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->J:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    .line 436
    iget-boolean v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    if-nez v1, :cond_e

    iget-boolean v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ao:Z

    if-nez v1, :cond_11

    .line 437
    :cond_e
    iget-wide v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ap:J

    const-wide/16 v3, 0x0

    cmp-long v5, v1, v3

    if-gtz v5, :cond_f

    .line 438
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v1

    iput-wide v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ap:J

    .line 440
    :cond_f
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->K:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawRect(Landroid/graphics/RectF;Landroid/graphics/Paint;)V

    .line 441
    iget-boolean p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    if-nez p1, :cond_11

    .line 442
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v1

    iget-wide v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ap:J

    const/4 p1, 0x0

    sub-long/2addr v1, v3

    const-wide/16 v3, 0x32

    cmp-long p1, v1, v3

    if-lez p1, :cond_10

    .line 444
    iput-boolean v7, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ao:Z

    const-wide/16 v1, -0x1

    .line 445
    iput-wide v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ap:J

    .line 446
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    const/4 v1, 0x0

    iput v1, p1, Landroid/graphics/RectF;->left:F

    .line 447
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    iput v1, p1, Landroid/graphics/RectF;->right:F

    .line 448
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->postInvalidate()V

    goto :goto_a

    :cond_10
    const/4 p1, 0x0

    sub-long/2addr v3, v1

    .line 450
    invoke-static {v3, v4}, Ljava/lang/Math;->abs(J)J

    move-result-wide v1

    invoke-virtual {p0, v1, v2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->postInvalidateDelayed(J)V

    .line 454
    :cond_11
    :goto_a
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method protected onMeasure(II)V
    .locals 1

    .line 205
    invoke-super {p0, p1, p2}, Landroid/view/View;->onMeasure(II)V

    .line 206
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->P:I

    invoke-static {v0, p1}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->resolveSize(II)I

    move-result p1

    .line 207
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->Q:I

    invoke-static {v0, p2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->resolveSize(II)I

    move-result p2

    .line 208
    invoke-virtual {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->setMeasuredDimension(II)V

    return-void
.end method

.method protected onSizeChanged(IIII)V
    .locals 0

    .line 194
    iget p3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    if-ne p1, p3, :cond_0

    iget p3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    if-eq p2, p3, :cond_1

    .line 195
    :cond_0
    iput p2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->S:I

    .line 196
    iput p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->R:I

    .line 197
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    const/4 p3, 0x0

    iput p3, p1, Landroid/graphics/RectF;->top:F

    .line 198
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    int-to-float p2, p2

    iput p2, p1, Landroid/graphics/RectF;->bottom:F

    .line 199
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->b()V

    :cond_1
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 4

    .line 853
    invoke-super {p0, p1}, Landroid/view/View;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    .line 854
    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    const/4 v2, 0x1

    if-lez v1, :cond_2

    .line 855
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aq:Landroid/view/GestureDetector;

    invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

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

    move-result v0

    const/4 v1, 0x3

    const/4 v3, 0x0

    if-eq v0, v1, :cond_0

    packed-switch v0, :pswitch_data_0

    goto :goto_1

    .line 870
    :pswitch_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->performClick()Z

    goto :goto_0

    .line 858
    :pswitch_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result p1

    .line 859
    iget v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    int-to-float v0, v0

    div-float/2addr p1, v0

    float-to-double v0, p1

    invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D

    move-result-wide v0

    double-to-int p1, v0

    if-ltz p1, :cond_1

    .line 860
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge p1, v0, :cond_1

    .line 861
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->V:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    int-to-float p1, p1

    .line 862
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    shr-int/2addr v1, v2

    int-to-float v1, v1

    sub-float/2addr p1, v1

    iput p1, v0, Landroid/graphics/RectF;->left:F

    .line 863
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->am:Landroid/graphics/RectF;

    iget v0, v0, Landroid/graphics/RectF;->left:F

    iget v1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->al:I

    int-to-float v1, v1

    add-float/2addr v0, v1

    iput v0, p1, Landroid/graphics/RectF;->right:F

    .line 864
    iput-boolean v2, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    .line 865
    iput-boolean v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ao:Z

    .line 866
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->invalidate()V

    goto :goto_1

    .line 872
    :cond_0
    :goto_0
    iput-boolean v3, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    .line 873
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->postInvalidate()V

    :cond_1
    :goto_1
    const/4 v0, 0x1

    :cond_2
    return v0

    nop

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

.method protected onVisibilityChanged(Landroid/view/View;I)V
    .locals 0
    .param p1    # Landroid/view/View;
        .annotation build Landroid/support/annotation/NonNull;
        .end annotation
    .end param

    .line 912
    invoke-super {p0, p1, p2}, Landroid/view/View;->onVisibilityChanged(Landroid/view/View;I)V

    if-eqz p2, :cond_0

    const/4 p1, 0x1

    .line 914
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ao:Z

    const/4 p1, 0x0

    .line 915
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->an:Z

    :cond_0
    return-void
.end method

.method public setDay15ViewListener(Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;)V
    .locals 0

    .line 932
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->ar:Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView$Day15ViewListener;

    return-void
.end method

.method public setOnCalculateReadyListener(Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;)V
    .locals 1

    .line 368
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    if-eqz v0, :cond_0

    if-eqz p1, :cond_0

    .line 369
    invoke-interface {p1}, Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;->a()V

    goto :goto_0

    .line 371
    :cond_0
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Forecast15DaysCurveView;->aw:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    :goto_0
    return-void
.end method
