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


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;,
        Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;,
        Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;,
        Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;,
        Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;,
        Lcom/moji/mjweather/weather/view/Today24HourView$AsyncCalculator;,
        Lcom/moji/mjweather/weather/view/Today24HourView$AsyncDataSetter;
    }
.end annotation


# instance fields
.field private A:I

.field private B:I

.field private C:I

.field private D:I

.field private E:I

.field private F:I

.field private G:I

.field private H:I

.field private I:I

.field private J:I

.field private K:I

.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 final a:Ljava/lang/Object;

.field private aA:I

.field private aB:Landroid/graphics/Rect;

.field private aC:I

.field private aD:I

.field private aE:I

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

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

.field private aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

.field private aa:Ljava/lang/String;

.field private ab:Ljava/util/Calendar;

.field private ac:Ljava/util/Calendar;

.field private ad:Landroid/graphics/Rect;

.field private ae:Landroid/graphics/Rect;

.field private af:Landroid/graphics/RectF;

.field private ag:Ljava/util/TimeZone;

.field private ah:Ljava/text/SimpleDateFormat;

.field private ai:Ljava/text/SimpleDateFormat;

.field private aj:Landroid/support/v4/util/ArrayMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/support/v4/util/ArrayMap<",
            "Ljava/lang/Integer;",
            "Landroid/graphics/Bitmap;",
            ">;"
        }
    .end annotation
.end field

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

.field private al:J

.field private am:J

.field private an:J

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

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

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

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

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

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

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

.field private av:I

.field private aw:I

.field private ax:I

.field private ay:I

.field private az:I

.field private b:Landroid/graphics/Paint;

.field private c:Landroid/graphics/Paint;

.field private d:Landroid/graphics/Paint;

.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/Path;

.field private l:Landroid/graphics/Path;

.field private m:Z

.field private n:Z

.field private o:Z

.field private p:Z

.field private q:I

.field private r:I

.field private s:F

.field private t:F

.field private u:F

.field private v:F

.field private w:F

.field private x:F

.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 139
    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;-><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 143
    invoke-direct {p0, p1, p2, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;-><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 2

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

    .line 54
    new-instance v0, Ljava/lang/Object;

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

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

    const/4 v0, 0x0

    .line 68
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->o:Z

    .line 71
    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->q:I

    const/4 v1, 0x1

    .line 72
    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    .line 80
    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    .line 81
    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    .line 149
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method private a(FFF)F
    .locals 1

    cmpg-float v0, p3, p1

    if-gez v0, :cond_0

    goto :goto_0

    :cond_0
    cmpl-float p1, p3, p2

    if-lez p1, :cond_1

    move p1, p2

    goto :goto_0

    :cond_1
    move p1, p3

    :goto_0
    return p1
.end method

.method private a(Ljava/util/ArrayList;F)F
    .locals 16
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Landroid/graphics/PointF;",
            ">;F)F"
        }
    .end annotation

    move-object/from16 v0, p1

    const/4 v2, 0x0

    if-eqz v0, :cond_3

    .line 988
    :try_start_0
    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-lez v3, :cond_3

    const/4 v3, 0x0

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

    move-result-object v4

    check-cast v4, Landroid/graphics/PointF;

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

    cmpg-float v4, p2, v4

    if-gez v4, :cond_0

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

    move-result-object v0

    check-cast v0, Landroid/graphics/PointF;

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

    :goto_0
    move v2, v0

    goto/16 :goto_1

    .line 991
    :cond_0
    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->size()I

    move-result v4

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

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

    move-result-object v4

    check-cast v4, Landroid/graphics/PointF;

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

    cmpl-float v4, p2, v4

    if-lez v4, :cond_1

    .line 992
    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->size()I

    move-result v1

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

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

    move-result-object v0

    check-cast v0, Landroid/graphics/PointF;

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

    goto :goto_0

    .line 994
    :cond_1
    invoke-virtual/range {p1 .. p1}, Ljava/util/ArrayList;->size()I

    move-result v4

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

    if-ge v3, v4, :cond_3

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

    move-result-object v4

    check-cast v4, Landroid/graphics/PointF;

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

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

    move-result-object v5

    check-cast v5, Landroid/graphics/PointF;

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

    add-int/lit8 v3, v3, 0x1

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

    move-result-object v6

    check-cast v6, Landroid/graphics/PointF;

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

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

    move-result-object v7

    check-cast v7, Landroid/graphics/PointF;

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

    cmpg-float v8, p2, v6

    if-gtz v8, :cond_1

    cmpl-float v8, p2, v4

    if-ltz v8, :cond_1

    cmpl-float v0, v7, v5

    if-eqz v0, :cond_2

    sub-float v0, p2, v4

    sub-float/2addr v6, v4

    div-float/2addr v0, v6

    float-to-double v3, v5

    const/high16 v1, 0x3f800000    # 1.0f

    sub-float/2addr v1, v0

    float-to-double v8, v1

    const-wide/high16 v10, 0x4008000000000000L    # 3.0

    .line 1002
    invoke-static {v8, v9, v10, v11}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v12
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v3, v3, v12

    const/high16 v6, 0x40400000    # 3.0f

    mul-float v5, v5, v6

    mul-float v5, v5, v0

    float-to-double v12, v5

    const-wide/high16 v14, 0x4000000000000000L    # 2.0

    :try_start_1
    invoke-static {v8, v9, v14, v15}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v8
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    invoke-static {v12, v13}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v12, v12, v8

    const/4 v5, 0x0

    add-double/2addr v3, v12

    mul-float v6, v6, v7

    mul-float v6, v6, v1

    float-to-double v5, v6

    float-to-double v0, v0

    .line 1003
    :try_start_2
    invoke-static {v0, v1, v14, v15}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v8
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v5, v5, v8

    const/4 v8, 0x0

    add-double/2addr v3, v5

    float-to-double v5, v7

    :try_start_3
    invoke-static {v0, v1, v10, v11}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v0
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    invoke-static {v5, v6}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v5, v5, v0

    add-double/2addr v3, v5

    double-to-float v0, v3

    goto/16 :goto_0

    :cond_2
    move v2, v5

    goto :goto_1

    :catch_0
    move-exception v0

    const-string v1, "Today24HourView"

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

    :cond_3
    :goto_1
    return v2
.end method

.method private a(I)I
    .locals 1

    if-ltz p1, :cond_0

    .line 389
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->W:[I

    array-length v0, v0

    if-ge p1, v0, :cond_0

    .line 390
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->W:[I

    aget p1, v0, p1

    return p1

    .line 392
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->W:[I

    const/4 v0, 0x0

    aget p1, p1, v0

    return p1
.end method

.method private a(III)I
    .locals 0

    if-ge p3, p1, :cond_0

    goto :goto_0

    :cond_0
    if-le p3, p2, :cond_1

    move p1, p2

    goto :goto_0

    :cond_1
    move p1, p3

    :goto_0
    return p1
.end method

.method private a(IJ)I
    .locals 1

    const/16 v0, 0x393

    if-ne p1, v0, :cond_0

    const p1, 0x7f080766

    return p1

    :cond_0
    const/16 v0, 0x394

    if-ne p1, v0, :cond_1

    const p1, 0x7f080767

    return p1

    .line 1026
    :cond_1
    new-instance v0, Lcom/moji/base/WeatherDrawable;

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

    .line 1027
    invoke-direct {p0, p2, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->b(J)Z

    move-result p1

    invoke-virtual {v0, p1}, Lcom/moji/base/WeatherDrawable;->a(Z)I

    move-result p1

    return p1
.end method

.method private a(JZ)I
    .locals 3

    .line 539
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

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

    .line 540
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

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

    .line 541
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    const/16 p2, 0xc

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

    move-result p1

    const/16 v0, 0x37

    if-le p1, v0, :cond_0

    .line 543
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    const/16 v1, 0xb

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

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v1, v0}, Ljava/util/Calendar;->set(II)V

    :cond_0
    if-nez p3, :cond_1

    .line 546
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    const/4 p3, 0x0

    invoke-virtual {p1, p2, p3}, Ljava/util/Calendar;->set(II)V

    .line 547
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    const/16 v0, 0xd

    invoke-virtual {p1, v0, p3}, Ljava/util/Calendar;->set(II)V

    .line 548
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    const/16 v1, 0xe

    invoke-virtual {p1, v1, p3}, Ljava/util/Calendar;->set(II)V

    .line 550
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    invoke-virtual {p1, p2, p3}, Ljava/util/Calendar;->set(II)V

    .line 551
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    invoke-virtual {p1, v0, p3}, Ljava/util/Calendar;->set(II)V

    .line 552
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    invoke-virtual {p1, v1, p3}, Ljava/util/Calendar;->set(II)V

    .line 555
    :cond_1
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    invoke-virtual {p1, p2}, Ljava/util/Calendar;->compareTo(Ljava/util/Calendar;)I

    move-result p1

    return p1
.end method

.method private a(Landroid/content/Context;F)I
    .locals 0

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

    move-result-object p1

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

    move-result-object p1

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

    mul-float p2, p2, p1

    const/high16 p1, 0x3f000000    # 0.5f

    add-float/2addr p2, p1

    float-to-int p1, p2

    return p1
.end method

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

    .line 48
    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    return p1
.end method

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

    .line 48
    invoke-direct {p0, p1, p2, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(III)I

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Today24HourView;Landroid/content/Context;F)I
    .locals 0

    .line 48
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p0

    return p0
.end method

.method private a(Z)I
    .locals 0

    if-eqz p1, :cond_0

    const/16 p1, 0x80

    goto :goto_0

    :cond_0
    const/16 p1, 0xff

    :goto_0
    return p1
.end method

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

    .line 48
    iput-wide p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->al:J

    return-wide p1
.end method

.method private a(FFFF)Landroid/graphics/PointF;
    .locals 4

    .line 935
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->G:I

    int-to-float v0, v0

    .line 936
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    sub-float/2addr v1, p3

    const/4 v2, 0x0

    cmpg-float v3, p1, v2

    if-lez v3, :cond_1

    cmpg-float p3, p3, v2

    if-lez p3, :cond_1

    cmpg-float p3, p4, v2

    if-gtz p3, :cond_0

    goto :goto_0

    .line 941
    :cond_0
    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    shr-int/lit8 p3, p3, 0x2

    int-to-float p3, p3

    add-float/2addr p1, p3

    add-float/2addr p2, p2

    .line 942
    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->I:I

    int-to-float p3, p3

    sub-float/2addr p2, p3

    const/high16 p3, 0x40000000    # 2.0f

    div-float/2addr p2, p3

    add-float/2addr p2, p4

    .line 943
    invoke-direct {p0, v0, v1, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result p1

    .line 944
    new-instance p3, Landroid/graphics/PointF;

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

    return-object p3

    .line 938
    :cond_1
    :goto_0
    new-instance p1, Landroid/graphics/PointF;

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

    return-object p1
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Today24HourView;)Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

    return-object p0
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Today24HourView;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 48
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aa:Ljava/lang/String;

    return-object p1
.end method

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

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

    move-result-object v0

    const v1, 0x7f0e08ee

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

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_0

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

    move-result-object v0

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

    move-result-object v0

    const-string v1, ""

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

    move-result-object p1

    return-object p1

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

    move-result-object v0

    const v1, 0x7f0e08ed

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

    move-result-object v0

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

    move-result v0

    if-eqz v0, :cond_1

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

    move-result-object p1

    const v0, 0x7f0e08ef

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

    move-result-object p1

    return-object p1

    :cond_1
    return-object p1
.end method

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

    .line 48
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    return-object p1
.end method

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

    .line 48
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ag:Ljava/util/TimeZone;

    return-object p1
.end method

.method private a(FF)V
    .locals 2

    cmpl-float v0, p1, p2

    if-eqz v0, :cond_1

    cmpg-float v0, p1, p2

    if-gez v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 868
    :goto_0
    iget-boolean v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->p:Z

    if-eq v0, v1, :cond_1

    sub-float p2, p1, p2

    invoke-static {p2}, Ljava/lang/Math;->abs(F)F

    move-result p2

    const/high16 v1, 0x40000000    # 2.0f

    cmpl-float p2, p2, v1

    if-lez p2, :cond_1

    .line 869
    iput-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->p:Z

    :cond_1
    float-to-int p2, p1

    .line 872
    iput p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aC:I

    .line 873
    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result p1

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->T:I

    int-to-float p2, p2

    div-float/2addr p1, p2

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    sub-float/2addr p2, v0

    mul-float p1, p1, p2

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->G:I

    int-to-float p2, p2

    add-float/2addr p1, p2

    .line 875
    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    int-to-float v1, v1

    sub-float/2addr v0, v1

    invoke-direct {p0, p2, v0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result p1

    float-to-int p1, p1

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    return-void
.end method

.method private a(FLjava/lang/String;Z)V
    .locals 3

    .line 414
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {v0, p2}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v0

    .line 415
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    int-to-float v1, v1

    .line 416
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    invoke-direct {p0, p1, v1, v0, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFFF)Landroid/graphics/PointF;

    move-result-object p1

    .line 418
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;

    const/4 v1, 0x0

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

    .line 419
    iput-object p2, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->a:Ljava/lang/String;

    .line 420
    new-instance p2, Landroid/graphics/PointF;

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

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

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

    iput-object p2, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->b:Landroid/graphics/PointF;

    .line 421
    iput-boolean p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->c:Z

    .line 422
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq:Ljava/util/List;

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

    return-void
.end method

.method private a(ILcom/moji/mjweather/weather/view/Today24HourView$IconRect;)V
    .locals 5

    if-eqz p2, :cond_2

    .line 755
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->right:I

    iget-object v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->left:I

    if-ne v0, v1, :cond_0

    goto :goto_0

    .line 758
    :cond_0
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->b(I)Landroid/graphics/Bitmap;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 759
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_1

    .line 760
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->right:I

    iget-object v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->left:I

    add-int/2addr v0, v1

    shr-int/lit8 v0, v0, 0x1

    .line 761
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    shr-int/lit8 v1, v1, 0x1

    sub-int/2addr v0, v1

    .line 762
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v1, v0

    .line 763
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    sub-int/2addr v3, v4

    shr-int/lit8 v3, v3, 0x1

    add-int/2addr v2, v3

    .line 764
    new-instance v3, Landroid/graphics/Rect;

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v4, v2

    invoke-direct {v3, v0, v2, v1, v4}, Landroid/graphics/Rect;-><init>(IIII)V

    iput-object v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    .line 765
    iput-object p1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    :cond_1
    return-void

    :cond_2
    :goto_0
    return-void
.end method

.method private a(ILjava/lang/String;I)V
    .locals 5

    .line 397
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;

    const/4 v1, 0x0

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

    .line 398
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->W:[I

    array-length v1, v1

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

    add-int/lit8 v2, p3, -0x1

    const/4 v3, 0x0

    invoke-direct {p0, v3, v1, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(III)I

    move-result v1

    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(I)I

    move-result v1

    .line 399
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    sub-int/2addr v2, v1

    .line 400
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v1, p1

    .line 401
    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    .line 402
    new-instance v4, Landroid/graphics/Rect;

    invoke-direct {v4, p1, v2, v1, v3}, Landroid/graphics/Rect;-><init>(IIII)V

    iput-object v4, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

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

    move-result-object v3

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

    move-result p3

    invoke-static {v3, p3}, Landroid/support/v4/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result p3

    iput p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->f:I

    .line 404
    iget-object p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget p3, p3, Landroid/graphics/Rect;->left:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->U:I

    add-int/2addr p3, v3

    iput p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->b:I

    .line 405
    iget-object p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget p3, p3, Landroid/graphics/Rect;->right:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->U:I

    sub-int/2addr p3, v3

    iput p3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->c:I

    .line 407
    iget-object p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {p3, p2}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result p3

    .line 408
    new-instance v3, Landroid/graphics/PointF;

    add-int/2addr p1, v1

    int-to-float p1, p1

    sub-float/2addr p1, p3

    const/high16 p3, 0x40000000    # 2.0f

    div-float/2addr p1, p3

    int-to-float p3, v2

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    sub-float/2addr p3, v1

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

    iput-object v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->d:Landroid/graphics/PointF;

    .line 409
    iput-object p2, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->e:Ljava/lang/String;

    .line 410
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    return-void
.end method

.method private a(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 8

    .line 173
    invoke-static {}, Lcom/moji/tool/DeviceTool;->b()I

    move-result p2

    iput p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->R:I

    .line 174
    new-instance p2, Landroid/graphics/Paint;

    const/4 p3, 0x1

    invoke-direct {p2, p3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    .line 175
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    const/high16 v0, 0x41600000    # 14.0f

    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p2, v1}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 176
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    const/high16 v1, -0x1000000

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

    .line 177
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    sget-object v1, Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align;

    invoke-virtual {p2, v1}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V

    .line 178
    new-instance p2, Landroid/graphics/Paint;

    invoke-direct {p2, p3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    .line 179
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    const/high16 v1, 0x41300000    # 11.0f

    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    int-to-float v1, v1

    invoke-virtual {p2, v1}, Landroid/graphics/Paint;->setTextSize(F)V

    .line 180
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    const/4 v1, -0x1

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

    .line 181
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    invoke-virtual {p2}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object p2

    .line 182
    iget v2, p2, Landroid/graphics/Paint$FontMetrics;->descent:F

    iget v3, p2, Landroid/graphics/Paint$FontMetrics;->ascent:F

    sub-float/2addr v2, v3

    const/high16 v3, 0x40000000    # 2.0f

    div-float/2addr v2, v3

    iget p2, p2, Landroid/graphics/Paint$FontMetrics;->descent:F

    sub-float/2addr v2, p2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->u:F

    .line 183
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {p2}, Landroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;

    move-result-object p2

    .line 184
    iget v2, p2, Landroid/graphics/Paint$FontMetrics;->descent:F

    iget v4, p2, Landroid/graphics/Paint$FontMetrics;->ascent:F

    sub-float/2addr v2, v4

    div-float/2addr v2, v3

    iget p2, p2, Landroid/graphics/Paint$FontMetrics;->descent:F

    sub-float/2addr v2, p2

    iput v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    const/high16 p2, 0x41c80000    # 25.0f

    .line 185
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v2

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

    .line 187
    iput p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    const/4 v2, 0x0

    .line 188
    iput v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->q:I

    const/high16 v4, 0x3f800000    # 1.0f

    .line 189
    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v4

    iput v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    .line 190
    new-instance v4, Landroid/graphics/Paint;

    invoke-direct {v4, p3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    .line 191
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    invoke-virtual {v4, p3}, Landroid/graphics/Paint;->setDither(Z)V

    .line 192
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    sget-object v5, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 193
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    const/16 v5, 0xc8

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

    .line 194
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    int-to-float v5, v5

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 195
    new-instance v4, Landroid/graphics/Paint;

    invoke-direct {v4, p3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->c:Landroid/graphics/Paint;

    .line 196
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->c:Landroid/graphics/Paint;

    sget-object v5, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 197
    new-instance v4, Landroid/graphics/Paint;

    invoke-direct {v4, p3}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->d:Landroid/graphics/Paint;

    .line 198
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->d:Landroid/graphics/Paint;

    sget-object v5, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 199
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->d:Landroid/graphics/Paint;

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    int-to-float v5, v5

    invoke-virtual {v4, v5}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 201
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v4

    iput v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->E:I

    const/high16 v4, 0x42640000    # 57.0f

    .line 202
    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v4

    iput v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->F:I

    .line 203
    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->E:I

    iput v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    const/high16 v4, 0x41200000    # 10.0f

    .line 204
    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->G:I

    .line 205
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->V:I

    .line 206
    new-instance v5, Landroid/graphics/Path;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

    .line 207
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

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

    .line 208
    new-instance v5, Landroid/graphics/Path;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    .line 209
    new-instance v5, Landroid/graphics/Rect;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ad:Landroid/graphics/Rect;

    .line 210
    new-instance v5, Landroid/graphics/Rect;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ae:Landroid/graphics/Rect;

    const/high16 v5, 0x41a00000    # 20.0f

    .line 212
    invoke-direct {p0, p1, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    .line 213
    new-instance v5, Landroid/graphics/Paint;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->j:Landroid/graphics/Paint;

    .line 214
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->j:Landroid/graphics/Paint;

    sget-object v6, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v5, v6}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 216
    new-instance v5, Landroid/graphics/Paint;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    .line 217
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

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

    .line 218
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    sget-object v6, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v5, v6}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 219
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    invoke-virtual {v5, v3}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 222
    new-instance v5, Landroid/graphics/Paint;

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

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

    .line 223
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

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

    .line 224
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

    sget-object v5, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v1, v5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 225
    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->U:I

    .line 226
    new-instance v1, Landroid/graphics/RectF;

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    const/high16 v1, 0x420c0000    # 35.0f

    .line 227
    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->N:I

    .line 228
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->O:I

    const/high16 v5, 0x41880000    # 17.0f

    .line 229
    invoke-direct {p0, p1, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->Q:I

    const/high16 v5, 0x41b00000    # 22.0f

    .line 230
    invoke-direct {p0, p1, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    const/16 v5, 0xff

    const/16 v6, 0x33

    .line 231
    invoke-static {v6, v5, v5, v5}, Landroid/graphics/Color;->argb(IIII)I

    move-result v5

    .line 232
    new-instance v6, Landroid/graphics/Paint;

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

    iput-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->i:Landroid/graphics/Paint;

    .line 233
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->i:Landroid/graphics/Paint;

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

    .line 234
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->i:Landroid/graphics/Paint;

    sget-object v6, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v5, v6}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 235
    new-instance v5, Landroid/support/v4/util/ArrayMap;

    invoke-direct {v5}, Landroid/support/v4/util/ArrayMap;-><init>()V

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aj:Landroid/support/v4/util/ArrayMap;

    .line 236
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v5

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    .line 237
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v5

    iput-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    .line 238
    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->R:I

    const/4 v6, 0x2

    mul-int/lit8 v5, v5, 0x2

    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    sub-int/2addr v5, v1

    iput v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    const/high16 v1, 0x43390000    # 185.0f

    .line 239
    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->M:I

    const/high16 v1, 0x40800000    # 4.0f

    .line 240
    invoke-direct {p0, p1, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->S:I

    .line 242
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v5, "M\u6708d\u65e5"

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

    move-result-object v7

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

    move-result-object v7

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

    move-result-object v7

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ah:Ljava/text/SimpleDateFormat;

    .line 243
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string v5, "M.d"

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

    move-result-object v7

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

    move-result-object v7

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

    move-result-object v7

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

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

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

    .line 245
    iput-boolean v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->m:Z

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq:Ljava/util/List;

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar:Ljava/util/List;

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

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

    .line 251
    iput-boolean v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    .line 252
    new-instance v1, Ljava/util/concurrent/atomic/AtomicBoolean;

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

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

    .line 253
    new-instance v1, Ljava/util/concurrent/atomic/AtomicBoolean;

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

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->au:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v1, 0x6

    .line 254
    new-array v1, v1, [I

    const/high16 v5, 0x41000000    # 8.0f

    invoke-direct {p0, p1, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    aput v5, v1, v2

    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v5

    aput v5, v1, p3

    const/high16 p3, 0x41400000    # 12.0f

    invoke-direct {p0, p1, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    aput p3, v1, v6

    invoke-direct {p0, p1, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    const/4 v0, 0x3

    aput p3, v1, v0

    const/high16 p3, 0x41800000    # 16.0f

    invoke-direct {p0, p1, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    const/4 v0, 0x4

    aput p3, v1, v0

    const/high16 p3, 0x41980000    # 19.0f

    invoke-direct {p0, p1, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    const/4 v0, 0x5

    aput p3, v1, v0

    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->W:[I

    const/high16 p3, 0x41480000    # 12.5f

    .line 255
    invoke-direct {p0, p1, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ax:I

    .line 256
    invoke-direct {p0, p1, p3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    iput p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aA:I

    .line 257
    invoke-direct {p0, p1, v4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p3

    iput p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ay:I

    .line 258
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p2

    iput p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->az:I

    const/high16 p2, 0x40a00000    # 5.0f

    .line 259
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/content/Context;F)I

    move-result p1

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->az:I

    add-int/2addr p1, p2

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    .line 260
    new-instance p1, Landroid/graphics/Rect;

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

    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    .line 261
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    .line 262
    new-instance p1, Landroid/graphics/BitmapFactory$Options;

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

    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aF:Landroid/graphics/BitmapFactory$Options;

    .line 263
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    const/16 p2, 0x78

    if-ge p1, p2, :cond_0

    const/high16 p1, 0x42f00000    # 120.0f

    .line 264
    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    int-to-float p2, p2

    div-float/2addr p1, p2

    cmpl-float p2, p1, v3

    if-ltz p2, :cond_0

    .line 266
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aF:Landroid/graphics/BitmapFactory$Options;

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

    move-result p1

    iput p1, p2, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    .line 269
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aF:Landroid/graphics/BitmapFactory$Options;

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

    return-void
.end method

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

    .line 281
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq:Ljava/util/List;

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

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    if-nez v0, :cond_6

    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar:Ljava/util/List;

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

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_1

    goto/16 :goto_4

    .line 294
    :cond_1
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v0

    .line 295
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ad:Landroid/graphics/Rect;

    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z

    .line 296
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

    invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    .line 297
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    .line 298
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v0

    .line 299
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ae:Landroid/graphics/Rect;

    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z

    .line 300
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

    invoke-virtual {p1, v1, v2}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V

    .line 301
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    .line 303
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq:Ljava/util/List;

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

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v0, :cond_2

    .line 305
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq: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/Today24HourView$AxisTime;

    .line 306
    invoke-direct {p0, p1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 309
    :cond_2
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result v0

    const/4 v2, 0x0

    :goto_1
    if-ge v2, v0, :cond_3

    .line 311
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap: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/Today24HourView$AQIRect;

    .line 312
    invoke-direct {p0, p1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 315
    :cond_3
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar:Ljava/util/List;

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

    move-result v0

    const/4 v2, 0x0

    :goto_2
    if-ge v2, v0, :cond_4

    .line 317
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar: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/Today24HourView$WindRect;

    .line 318
    invoke-direct {p0, p1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_2

    .line 321
    :cond_4
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

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

    move-result v0

    :goto_3
    if-ge v1, v0, :cond_5

    .line 323
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as: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/Today24HourView$IconRect;

    .line 324
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->c:Landroid/graphics/Paint;

    iget-object v2, v2, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    invoke-direct {p0, p1, v3, v4, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;Landroid/graphics/Path;Landroid/graphics/Paint;Landroid/graphics/Rect;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_5
    return-void

    :cond_6
    :goto_4
    return-void
.end method

.method private a(Landroid/graphics/Canvas;II)V
    .locals 7

    .line 356
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result v0

    if-ge p3, v0, :cond_2

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

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

    move-result-object v0

    check-cast v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;

    .line 359
    iget-object v1, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->e:Ljava/lang/String;

    .line 360
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {v2, v1}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v2

    .line 362
    iget-object v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v3, v3, Landroid/graphics/Rect;->top:I

    int-to-float v3, v3

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    sub-float/2addr v3, v4

    .line 363
    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    sub-float/2addr v5, v2

    int-to-float p2, p2

    invoke-direct {p0, v4, v5, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result v4

    add-float/2addr v2, v4

    add-int/lit8 v5, p3, 0x1

    .line 366
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result v6

    if-ge v5, v6, :cond_0

    .line 367
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result-object v5

    check-cast v5, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;

    .line 368
    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    int-to-float v6, v6

    sub-float/2addr v2, v6

    iget-object v6, v5, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    int-to-float v6, v6

    cmpl-float v2, v2, v6

    if-ltz v2, :cond_0

    iget-object v2, v5, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v2, v2, Landroid/graphics/Rect;->top:I

    iget-object v6, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->top:I

    if-ge v2, v6, :cond_0

    .line 369
    iget-object v1, v5, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v1, v1, Landroid/graphics/Rect;->top:I

    int-to-float v1, v1

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    sub-float v3, v1, v2

    .line 370
    iget-object v1, v5, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->e:Ljava/lang/String;

    .line 371
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {v2, v1}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v2

    .line 372
    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    sub-float/2addr v5, v2

    invoke-direct {p0, v4, v5, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result v4

    :cond_0
    add-int/lit8 p3, p3, -0x1

    if-ltz p3, :cond_1

    .line 376
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    move-result-object p3

    check-cast p3, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;

    .line 377
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    int-to-float v2, v2

    add-float/2addr v2, v4

    iget-object v5, p3, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v5, v5, Landroid/graphics/Rect;->right:I

    int-to-float v5, v5

    cmpg-float v2, v2, v5

    if-gtz v2, :cond_1

    iget-object v2, p3, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v2, v2, Landroid/graphics/Rect;->top:I

    iget-object v0, v0, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->top:I

    if-ge v2, v0, :cond_1

    .line 378
    iget-object v0, p3, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v0, v0, Landroid/graphics/Rect;->top:I

    int-to-float v0, v0

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    sub-float v3, v0, v1

    .line 379
    iget-object v1, p3, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->e:Ljava/lang/String;

    .line 380
    iget-object p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {p3, v1}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result p3

    .line 381
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    sub-float/2addr v2, p3

    invoke-direct {p0, v0, v2, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result v4

    .line 384
    :cond_1
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

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

    :cond_2
    return-void
.end method

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

    if-eqz p1, :cond_1

    if-eqz p3, :cond_1

    if-eqz p2, :cond_1

    if-nez p4, :cond_0

    goto :goto_0

    .line 470
    :cond_0
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v0

    .line 471
    invoke-virtual {p1, p4}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z

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

    .line 473
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    return-void

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;)V
    .locals 5

    if-eqz p1, :cond_5

    if-nez p2, :cond_0

    goto/16 :goto_2

    .line 438
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

    iget v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->f:I

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

    .line 440
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->p:Z

    const/high16 v1, 0x43000000    # 128.0f

    const/4 v2, 0x0

    const/16 v3, 0x80

    if-nez v0, :cond_2

    .line 441
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget-object v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-lt v0, v4, :cond_1

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->c:I

    if-gt v0, v4, :cond_1

    :goto_0
    const/16 v2, 0x80

    goto :goto_1

    .line 443
    :cond_1
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->c:I

    if-le v0, v3, :cond_4

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->c:I

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v3, v4

    if-gt v0, v3, :cond_4

    const/high16 v0, 0x3f800000    # 1.0f

    .line 444
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->c:I

    sub-int/2addr v2, v3

    int-to-float v2, v2

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    int-to-float v3, v3

    div-float/2addr v2, v3

    sub-float/2addr v0, v2

    mul-float v0, v0, v1

    float-to-int v2, v0

    goto :goto_1

    .line 449
    :cond_2
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->b:I

    if-lt v0, v4, :cond_3

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget-object v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-gt v0, v4, :cond_3

    goto :goto_0

    .line 451
    :cond_3
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->b:I

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    sub-int/2addr v3, v4

    if-lt v0, v3, :cond_4

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->b:I

    if-ge v0, v3, :cond_4

    .line 452
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    iget v2, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->b:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    sub-int/2addr v2, v3

    sub-int/2addr v0, v2

    int-to-float v0, v0

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    int-to-float v2, v2

    div-float/2addr v0, v2

    mul-float v0, v0, v1

    float-to-int v2, v0

    .line 457
    :cond_4
    :goto_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

    add-int/lit8 v2, v2, 0x66

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

    .line 459
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v0

    .line 460
    iget-object v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z

    .line 461
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget-object v2, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v2, v2, Landroid/graphics/Rect;->left:I

    int-to-float v2, v2

    iget-object v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v3, v3, Landroid/graphics/Rect;->top:I

    int-to-float v3, v3

    iget-object v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    int-to-float v4, v4

    iget-object p2, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AQIRect;->a:Landroid/graphics/Rect;

    iget p2, p2, Landroid/graphics/Rect;->bottom:I

    add-int/lit8 p2, p2, 0x32

    int-to-float p2, p2

    invoke-virtual {v1, v2, v3, v4, p2}, Landroid/graphics/RectF;->set(FFFF)V

    .line 462
    iget-object p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->S:I

    int-to-float v1, v1

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->S:I

    int-to-float v2, v2

    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->g:Landroid/graphics/Paint;

    invoke-virtual {p1, p2, v1, v2, v3}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 463
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    return-void

    :cond_5
    :goto_2
    return-void
.end method

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

    if-eqz p1, :cond_1

    if-eqz p2, :cond_1

    .line 273
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->a:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->b:Landroid/graphics/PointF;

    if-nez v0, :cond_0

    goto :goto_0

    .line 276
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    iget-boolean v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->c:Z

    invoke-direct {p0, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Z)I

    move-result v1

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

    .line 277
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$AxisTime;->a:Ljava/lang/String;

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

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

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

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

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

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

    return-void

    :cond_1
    :goto_0
    return-void
.end method

.method private a(Landroid/graphics/Canvas;Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;)V
    .locals 6

    if-eqz p1, :cond_2

    if-eqz p2, :cond_2

    .line 477
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->c:Ljava/lang/String;

    if-eqz v0, :cond_2

    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->b:Landroid/graphics/PointF;

    if-eqz v0, :cond_2

    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    if-nez v0, :cond_0

    goto :goto_0

    .line 480
    :cond_0
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    move-result v0

    .line 481
    iget-object v1, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->clipRect(Landroid/graphics/Rect;)Z

    .line 482
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget-object v2, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    iget v2, v2, Landroid/graphics/Rect;->left:I

    int-to-float v2, v2

    iget-object v3, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    iget v3, v3, Landroid/graphics/Rect;->top:I

    int-to-float v3, v3

    iget-object v4, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    int-to-float v4, v4

    iget-object v5, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    iget v5, v5, Landroid/graphics/Rect;->bottom:I

    add-int/lit8 v5, v5, 0x32

    int-to-float v5, v5

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/graphics/RectF;->set(FFFF)V

    .line 483
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->S:I

    int-to-float v2, v2

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->S:I

    int-to-float v3, v3

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->i:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 484
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    .line 485
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->c:Ljava/lang/String;

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

    move-result v0

    if-nez v0, :cond_1

    .line 486
    iget-object v0, p2, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->c:Ljava/lang/String;

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

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

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

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

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

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

    :cond_1
    return-void

    :cond_2
    :goto_0
    return-void
.end method

.method private a(Landroid/graphics/Rect;I)V
    .locals 2

    .line 748
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;

    const/4 v1, 0x0

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

    .line 749
    iput-object p1, v0, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    .line 750
    invoke-direct {p0, p2, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(ILcom/moji/mjweather/weather/view/Today24HourView$IconRect;)V

    .line 751
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

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

    return-void
.end method

.method private a(Landroid/graphics/Rect;Ljava/lang/String;)V
    .locals 5

    .line 426
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;

    const/4 v1, 0x0

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

    .line 427
    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1, p1}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V

    iput-object v1, v0, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->a:Landroid/graphics/Rect;

    .line 428
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->f:Landroid/graphics/Paint;

    invoke-virtual {v1, p2}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v1

    .line 429
    new-instance v2, Landroid/graphics/PointF;

    iget v3, p1, Landroid/graphics/Rect;->left:I

    iget v4, p1, Landroid/graphics/Rect;->right:I

    add-int/2addr v3, v4

    int-to-float v3, v3

    sub-float/2addr v3, v1

    const/high16 v1, 0x40000000    # 2.0f

    div-float/2addr v3, v1

    iget v1, p1, Landroid/graphics/Rect;->top:I

    iget p1, p1, Landroid/graphics/Rect;->bottom:I

    add-int/2addr v1, p1

    div-int/lit8 v1, v1, 0x2

    int-to-float p1, v1

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->v:F

    add-float/2addr p1, v1

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

    iput-object v2, v0, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->b:Landroid/graphics/PointF;

    .line 430
    iput-object p2, v0, Lcom/moji/mjweather/weather/view/Today24HourView$WindRect;->c:Ljava/lang/String;

    .line 431
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar:Ljava/util/List;

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

    return-void
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Today24HourView;Z)V
    .locals 0

    .line 48
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->setDataPoints(Z)V

    return-void
.end method

.method private a(J)Z
    .locals 1

    .line 770
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

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

    .line 771
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    const/16 p2, 0xb

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

    move-result p1

    if-nez p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method static synthetic a(Lcom/moji/mjweather/weather/view/Today24HourView;Ljava/util/List;Lcom/moji/mjweather/weather/entity/Hour24Data;Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;I)Z
    .locals 0

    .line 48
    invoke-direct {p0, p1, p2, p3, p4}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Ljava/util/List;Lcom/moji/mjweather/weather/entity/Hour24Data;Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;I)Z

    move-result p0

    return p0
.end method

.method private a(Ljava/util/List;Lcom/moji/mjweather/weather/entity/Hour24Data;Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;I)Z
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;",
            ">;",
            "Lcom/moji/mjweather/weather/entity/Hour24Data;",
            "Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;",
            "I)Z"
        }
    .end annotation

    .line 1219
    iget v0, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    const/4 v1, 0x1

    if-gtz v0, :cond_3

    const/4 p3, 0x1

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

    move-result v0

    const/4 v2, 0x0

    if-ge p3, v0, :cond_2

    sub-int v0, p4, p3

    if-ltz v0, :cond_0

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

    move-result-object v3

    check-cast v3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget v3, v3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    if-lez v3, :cond_0

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

    move-result-object p3

    check-cast p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget p3, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    iput p3, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->l:I

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

    move-result-object p3

    check-cast p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget p3, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiValue:I

    iput p3, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->k:I

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

    move-result-object p1

    check-cast p1, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget-object p1, p1, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiDesc:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->m:Ljava/lang/String;

    :goto_1
    const/4 p1, 0x1

    goto :goto_2

    :cond_0
    add-int v0, p4, p3

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

    move-result v3

    if-ge v0, v3, :cond_1

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

    move-result-object v3

    check-cast v3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget v3, v3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    if-lez v3, :cond_1

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

    move-result-object p3

    check-cast p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget p3, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    iput p3, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->l:I

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

    move-result-object p3

    check-cast p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget p3, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiValue:I

    iput p3, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->k:I

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

    move-result-object p1

    check-cast p1, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;

    iget-object p1, p1, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiDesc:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->m:Ljava/lang/String;

    goto :goto_1

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

    goto :goto_0

    :cond_2
    const/4 p1, 0x0

    :goto_2
    if-nez p1, :cond_4

    return v2

    .line 1241
    :cond_3
    iget-object p1, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiDesc:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->m:Ljava/lang/String;

    .line 1242
    iget p1, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiLevel:I

    iput p1, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->l:I

    .line 1243
    iget p1, p3, Lcom/moji/weatherprovider/data/ForecastHourList$ForecastHour;->mAqiValue:I

    iput p1, p2, Lcom/moji/mjweather/weather/entity/Hour24Data;->k:I

    :cond_4
    return v1
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    return p0
.end method

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

    .line 48
    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    return p1
.end method

.method private b(I)Landroid/graphics/Bitmap;
    .locals 3

    const/4 v0, 0x0

    .line 969
    :try_start_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aj:Landroid/support/v4/util/ArrayMap;

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

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/support/v4/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_0} :catch_1

    if-eqz v1, :cond_1

    .line 970
    :try_start_1
    invoke-virtual {v1}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    if-gtz v0, :cond_0

    goto :goto_0

    :cond_0
    move-object v0, v1

    goto :goto_2

    :catch_0
    move-exception p1

    move-object v0, v1

    goto :goto_1

    .line 971
    :cond_1
    :goto_0
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aF:Landroid/graphics/BitmapFactory$Options;

    invoke-static {v0, p1, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;ILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0
    :try_end_1
    .catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_0

    .line 972
    :try_start_2
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aj:Landroid/support/v4/util/ArrayMap;

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

    move-result-object p1

    invoke-virtual {v1, p1, v0}, Landroid/support/v4/util/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_2
    .catch Ljava/lang/Throwable; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_2

    :catch_1
    move-exception p1

    :goto_1
    const-string v1, "Today24HourView"

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

    :goto_2
    return-object v0
.end method

.method private b(FF)V
    .locals 1

    .line 925
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b:Landroid/graphics/Paint;

    const/4 p2, -0x1

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

    .line 926
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->d:Landroid/graphics/Paint;

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

    .line 927
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->d:Landroid/graphics/Paint;

    const/16 v0, 0x80

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

    .line 928
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->j:Landroid/graphics/Paint;

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

    .line 931
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->c:Landroid/graphics/Paint;

    const p2, 0xdffffff

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

    return-void
.end method

.method private b(Landroid/graphics/Canvas;)V
    .locals 11

    .line 330
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    goto/16 :goto_0

    .line 333
    :cond_0
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->J:I

    .line 334
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    int-to-float v3, v3

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    const/4 v4, 0x3

    mul-int/lit8 v3, v3, 0x3

    int-to-float v3, v3

    add-float/2addr v2, v3

    int-to-float v0, v0

    invoke-direct {p0, v1, v2, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FFF)F

    move-result v0

    float-to-int v0, v0

    .line 335
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v1

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

    int-to-float v2, v0

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    sub-float v3, v2, v3

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    add-int/2addr v5, v6

    int-to-float v5, v5

    div-float/2addr v3, v5

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

    move-result v3

    const/4 v5, 0x0

    invoke-direct {p0, v5, v1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(III)I

    move-result v1

    .line 336
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result-object v3

    check-cast v3, Lcom/moji/mjweather/weather/entity/Hour24Data;

    .line 337
    iget-object v6, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->d:Ljava/lang/String;

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

    move-result v7

    if-le v7, v4, :cond_1

    .line 339
    new-instance v7, Ljava/lang/StringBuilder;

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

    invoke-virtual {v6, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v4

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

    const-string v4, "..."

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

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

    move-result-object v6

    .line 341
    :cond_1
    new-instance v4, Ljava/lang/StringBuilder;

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

    iget v3, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    invoke-static {v3}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v3

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

    const-string v3, "\u00b0"

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

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

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

    move-result-object v3

    .line 343
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    invoke-direct {p0, v4, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Ljava/util/ArrayList;F)F

    move-result v4

    float-to-int v4, v4

    .line 344
    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    invoke-virtual {v5, v3}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v5

    float-to-int v5, v5

    .line 345
    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->az:I

    sub-int v7, v4, v7

    int-to-float v7, v7

    add-int/2addr v5, v0

    iget v8, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ay:I

    add-int/2addr v5, v8

    int-to-float v5, v5

    int-to-float v4, v4

    invoke-virtual {v6, v2, v7, v5, v4}, Landroid/graphics/RectF;->set(FFFF)V

    .line 346
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ax:I

    int-to-float v5, v5

    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ax:I

    int-to-float v6, v6

    iget-object v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->j:Landroid/graphics/Paint;

    invoke-virtual {p1, v2, v5, v6, v7}, Landroid/graphics/Canvas;->drawRoundRect(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V

    .line 347
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v6, v2, Landroid/graphics/RectF;->left:F

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v2, v2, Landroid/graphics/RectF;->top:F

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aA:I

    int-to-float v5, v5

    add-float v7, v2, v5

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v2, v2, Landroid/graphics/RectF;->right:F

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aA:I

    int-to-float v5, v5

    sub-float v8, v2, v5

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->af:Landroid/graphics/RectF;

    iget v9, v2, Landroid/graphics/RectF;->bottom:F

    iget-object v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->j:Landroid/graphics/Paint;

    move-object v5, p1

    invoke-virtual/range {v5 .. v10}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    .line 348
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ay:I

    shr-int/lit8 v2, v2, 0x1

    add-int/2addr v2, v0

    int-to-float v2, v2

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->u:F

    add-float/2addr v4, v5

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->az:I

    shr-int/lit8 v5, v5, 0x1

    int-to-float v5, v5

    sub-float/2addr v4, v5

    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->e:Landroid/graphics/Paint;

    invoke-virtual {p1, v3, v2, v4, v5}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V

    .line 350
    invoke-direct {p0, p1, v0, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;II)V

    .line 351
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aC:I

    invoke-direct {p0, p1, v1, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->b(Landroid/graphics/Canvas;II)V

    return-void

    :cond_2
    :goto_0
    return-void
.end method

.method private b(Landroid/graphics/Canvas;II)V
    .locals 8

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

    add-int/2addr v0, p2

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->V:I

    sub-int/2addr v0, v1

    .line 493
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

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

    move-result v1

    const/4 v2, 0x0

    :goto_0
    if-ge v2, v1, :cond_9

    .line 495
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as: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/Today24HourView$IconRect;

    if-eqz v3, :cond_8

    .line 496
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    if-eqz v4, :cond_8

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    if-eqz v4, :cond_8

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    if-nez v4, :cond_0

    goto/16 :goto_3

    .line 499
    :cond_0
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-le v4, p3, :cond_1

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-gt v4, p3, :cond_1

    .line 500
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    iget-object v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->c:Landroid/graphics/Paint;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    invoke-direct {p0, p1, v4, v5, v6}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;Landroid/graphics/Path;Landroid/graphics/Paint;Landroid/graphics/Rect;)V

    .line 502
    :cond_1
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-lt v4, p2, :cond_8

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-le v4, v0, :cond_2

    goto/16 :goto_3

    .line 505
    :cond_2
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    const/4 v5, 0x0

    if-lt v4, p2, :cond_3

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-gt v4, v0, :cond_3

    .line 506
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    iget-object v3, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {p1, v4, v5, v3, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto/16 :goto_3

    .line 507
    :cond_3
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-gt v4, p2, :cond_4

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-lt v4, v0, :cond_4

    .line 508
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {v4, v6}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V

    .line 509
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    add-int v6, p2, v0

    shr-int/lit8 v6, v6, 0x1

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    shr-int/lit8 v7, v7, 0x1

    sub-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->left:I

    .line 510
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->right:I

    .line 511
    iget-object v3, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    invoke-virtual {p1, v3, v5, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto/16 :goto_3

    .line 512
    :cond_4
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-ge v4, p2, :cond_6

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-le v4, p2, :cond_6

    .line 513
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    sub-int/2addr v4, p2

    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    if-le v4, v6, :cond_5

    .line 514
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {v4, v6}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V

    .line 515
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->right:I

    add-int/2addr v6, p2

    shr-int/lit8 v6, v6, 0x1

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    shr-int/lit8 v7, v7, 0x1

    sub-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->left:I

    .line 516
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->right:I

    goto :goto_1

    .line 518
    :cond_5
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {v4, v6}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V

    .line 519
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->right:I

    iput v6, v4, Landroid/graphics/Rect;->right:I

    .line 520
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->right:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    sub-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->left:I

    .line 522
    :goto_1
    iget-object v3, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    invoke-virtual {p1, v3, v5, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto :goto_3

    .line 523
    :cond_6
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->right:I

    if-le v4, v0, :cond_8

    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    if-ge v4, v0, :cond_8

    .line 524
    iget-object v4, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v4, v4, Landroid/graphics/Rect;->left:I

    sub-int v4, v0, v4

    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    if-le v4, v6, :cond_7

    .line 525
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {v4, v6}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V

    .line 526
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    add-int/2addr v6, v0

    shr-int/lit8 v6, v6, 0x1

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    shr-int/lit8 v7, v7, 0x1

    sub-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->left:I

    .line 527
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->right:I

    goto :goto_2

    .line 529
    :cond_7
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->b:Landroid/graphics/Rect;

    invoke-virtual {v4, v6}, Landroid/graphics/Rect;->set(Landroid/graphics/Rect;)V

    .line 530
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->a:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    iput v6, v4, Landroid/graphics/Rect;->left:I

    .line 531
    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    iget v6, v6, Landroid/graphics/Rect;->left:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->K:I

    add-int/2addr v6, v7

    iput v6, v4, Landroid/graphics/Rect;->right:I

    .line 533
    :goto_2
    iget-object v3, v3, Lcom/moji/mjweather/weather/view/Today24HourView$IconRect;->c:Landroid/graphics/Bitmap;

    iget-object v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aB:Landroid/graphics/Rect;

    invoke-virtual {p1, v3, v5, v4, v5}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :cond_8
    :goto_3
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_0

    :cond_9
    return-void
.end method

.method private b(J)Z
    .locals 5

    .line 1031
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ag:Ljava/util/TimeZone;

    .line 1032
    invoke-static {v0}, Ljava/util/Calendar;->getInstance(Ljava/util/TimeZone;)Ljava/util/Calendar;

    move-result-object v1

    .line 1033
    invoke-virtual {v1, v0}, Ljava/util/Calendar;->setTimeZone(Ljava/util/TimeZone;)V

    .line 1034
    invoke-virtual {v1, p1, p2}, Ljava/util/Calendar;->setTimeInMillis(J)V

    .line 1036
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p1

    .line 1037
    invoke-virtual {p1, v0}, Ljava/util/Calendar;->setTimeZone(Ljava/util/TimeZone;)V

    .line 1038
    iget-wide v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->am:J

    invoke-virtual {p1, v2, v3}, Ljava/util/Calendar;->setTimeInMillis(J)V

    .line 1040
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p2

    .line 1041
    invoke-virtual {p2, v0}, Ljava/util/Calendar;->setTimeZone(Ljava/util/TimeZone;)V

    .line 1042
    iget-wide v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->an:J

    invoke-virtual {p2, v2, v3}, Ljava/util/Calendar;->setTimeInMillis(J)V

    const/4 v0, 0x6

    const/4 v2, 0x0

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

    const/16 v3, 0x7e0

    const/4 v4, 0x1

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

    .line 1046
    invoke-virtual {p1, v0, v2}, Ljava/util/Calendar;->set(II)V

    .line 1047
    invoke-virtual {p1, v4, v3}, Ljava/util/Calendar;->set(II)V

    .line 1048
    invoke-virtual {p2, v0, v2}, Ljava/util/Calendar;->set(II)V

    .line 1049
    invoke-virtual {p2, v4, v3}, Ljava/util/Calendar;->set(II)V

    .line 1050
    invoke-virtual {v1, p1}, Ljava/util/Calendar;->after(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    invoke-virtual {v1, p2}, Ljava/util/Calendar;->before(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 v2, 0x1

    :cond_0
    return v2
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->q:I

    return p0
.end method

.method private c()V
    .locals 12

    .line 603
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    goto/16 :goto_5

    :cond_0
    const/4 v0, -0x1

    .line 614
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

    .line 615
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    .line 616
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ae:Landroid/graphics/Rect;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    sub-int/2addr v2, v3

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    sub-int/2addr v3, v4

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    add-int/2addr v4, v5

    const/4 v5, 0x0

    invoke-virtual {v1, v5, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    const/4 v1, 0x0

    const/4 v0, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v6, 0x0

    const/4 v7, -0x1

    const/4 v8, 0x0

    .line 617
    :goto_0
    iget-object v9, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v9

    if-ge v0, v9, :cond_5

    .line 618
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result-object v1

    check-cast v1, Lcom/moji/mjweather/weather/entity/Hour24Data;

    .line 619
    iget v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    int-to-float v6, v6

    iget v9, v1, Lcom/moji/mjweather/weather/entity/Hour24Data;->a:I

    int-to-float v9, v9

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->s:F

    mul-float v9, v9, v10

    add-float/2addr v6, v9

    .line 620
    iget v9, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    iget v10, v1, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    sub-int/2addr v9, v10

    int-to-float v9, v9

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->t:F

    mul-float v9, v9, v10

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    int-to-float v10, v10

    add-float/2addr v9, v10

    if-nez v0, :cond_1

    .line 622
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

    invoke-virtual {v3, v6, v9}, Landroid/graphics/Path;->moveTo(FF)V

    .line 623
    iput v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    move v8, v9

    goto :goto_1

    :cond_1
    add-float v2, v6, v3

    const/high16 v10, 0x40000000    # 2.0f

    div-float/2addr v2, v10

    add-float v11, v9, v4

    div-float/2addr v11, v10

    .line 629
    iget-object v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

    invoke-virtual {v10, v3, v4, v2, v11}, Landroid/graphics/Path;->quadTo(FFFF)V

    .line 631
    :goto_1
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    new-instance v4, Landroid/graphics/PointF;

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

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

    if-gez v7, :cond_4

    .line 632
    iget-wide v3, v1, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    iget v10, v1, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v11, 0x394

    if-eq v10, v11, :cond_3

    iget v1, v1, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v10, 0x393

    if-ne v1, v10, :cond_2

    goto :goto_2

    :cond_2
    const/4 v1, 0x0

    goto :goto_3

    :cond_3
    :goto_2
    const/4 v1, 0x1

    :goto_3
    invoke-direct {p0, v3, v4, v1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(JZ)I

    move-result v1

    if-nez v1, :cond_4

    .line 634
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    add-int/2addr v3, v4

    mul-int v3, v3, v0

    int-to-float v3, v3

    add-float/2addr v1, v3

    float-to-int v1, v1

    .line 635
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ad:Landroid/graphics/Rect;

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    sub-int/2addr v7, v10

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v11, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    add-int/2addr v10, v11

    invoke-virtual {v3, v4, v7, v1, v10}, Landroid/graphics/Rect;->set(IIII)V

    .line 636
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ae:Landroid/graphics/Rect;

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    sub-int/2addr v4, v7

    iget v7, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    sub-int/2addr v7, v10

    iget v10, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v11, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aw:I

    add-int/2addr v10, v11

    invoke-virtual {v3, v1, v4, v7, v10}, Landroid/graphics/Rect;->set(IIII)V

    move v7, v1

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

    move v1, v6

    move v3, v1

    move v4, v9

    move v6, v4

    goto/16 :goto_0

    :cond_5
    cmpl-float v0, v1, v2

    if-lez v0, :cond_6

    .line 643
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

    .line 644
    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    goto :goto_4

    .line 646
    :cond_6
    iput v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    .line 648
    :goto_4
    new-instance v0, Landroid/graphics/Path;

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->k:Landroid/graphics/Path;

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

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

    .line 649
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

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

    .line 650
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    add-int/2addr v2, v3

    int-to-float v2, v2

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

    .line 651
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    int-to-float v1, v1

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    add-int/2addr v2, v3

    int-to-float v2, v2

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

    .line 652
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->l:Landroid/graphics/Path;

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    int-to-float v1, v1

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

    return-void

    :cond_7
    :goto_5
    return-void
.end method

.method private c(Landroid/graphics/Canvas;)V
    .locals 7

    .line 776
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    const/high16 v1, -0x10000

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

    .line 777
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    int-to-float v3, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    int-to-float v4, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    int-to-float v5, v0

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    const/4 v2, 0x0

    move-object v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 778
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    int-to-float v3, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    int-to-float v4, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    int-to-float v5, v0

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 779
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    int-to-float v3, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    int-to-float v4, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    int-to-float v5, v0

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 780
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    if-eqz v0, :cond_0

    const/4 v2, 0x0

    .line 781
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    int-to-float v3, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    int-to-float v4, v0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    int-to-float v5, v0

    iget-object v6, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

    move-object v1, p1

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawLine(FFFFLandroid/graphics/Paint;)V

    .line 783
    :cond_0
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h:Landroid/graphics/Paint;

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

    move-result-object v0

    const v1, 0x7f060235

    invoke-static {v0, v1}, Landroid/support/v4/content/ContextCompat;->getColor(Landroid/content/Context;I)I

    move-result v0

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

    return-void
.end method

.method static synthetic d(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/lang/Object;
    .locals 0

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

    return-object p0
.end method

.method private d()V
    .locals 4

    .line 656
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    .line 661
    :cond_0
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    float-to-int v0, v0

    const/4 v1, 0x0

    .line 664
    :goto_0
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v2

    if-ge v1, v2, :cond_1

    .line 665
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak: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/entity/Hour24Data;

    .line 666
    iget v3, v2, Lcom/moji/mjweather/weather/entity/Hour24Data;->k:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    iget v2, v2, Lcom/moji/mjweather/weather/entity/Hour24Data;->l:I

    invoke-direct {p0, v0, v3, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(ILjava/lang/String;I)V

    .line 667
    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    add-int/2addr v2, v3

    add-int/2addr v0, v2

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return-void

    :cond_2
    :goto_1
    return-void
.end method

.method static synthetic e(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/util/concurrent/atomic/AtomicBoolean;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->au:Ljava/util/concurrent/atomic/AtomicBoolean;

    return-object p0
.end method

.method private e()V
    .locals 23

    move-object/from16 v0, p0

    .line 672
    iget-object v1, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v1, :cond_10

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

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

    move-result v1

    if-eqz v1, :cond_0

    goto/16 :goto_b

    .line 675
    :cond_0
    new-instance v1, Landroid/graphics/Rect;

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

    .line 676
    new-instance v2, Landroid/graphics/Rect;

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

    .line 679
    iget v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    .line 680
    iget v4, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->Q:I

    sub-int v4, v3, v4

    .line 681
    iget v5, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    float-to-int v5, v5

    const-string v6, ""

    move-object v14, v2

    move v12, v5

    move-object v13, v6

    const/4 v2, 0x0

    const-wide/high16 v5, -0x4010000000000000L    # -1.0

    const/4 v11, 0x0

    const/4 v15, -0x1

    .line 688
    :goto_0
    iget-object v10, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v10

    if-ge v2, v10, :cond_f

    .line 689
    iget-object v10, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result-object v10

    check-cast v10, Lcom/moji/mjweather/weather/entity/Hour24Data;

    .line 691
    iget-wide v7, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->j:D

    const/4 v9, 0x1

    cmpl-double v18, v5, v7

    if-eqz v18, :cond_2

    const-wide/high16 v7, -0x4010000000000000L    # -1.0

    cmpl-double v11, v5, v7

    if-nez v11, :cond_1

    .line 693
    iget v5, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v5, v12

    invoke-virtual {v1, v12, v4, v5, v3}, Landroid/graphics/Rect;->set(IIII)V

    goto :goto_1

    .line 695
    :cond_1
    new-instance v5, Ljava/lang/StringBuilder;

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

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

    iget-object v6, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aa:Ljava/lang/String;

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

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

    move-result-object v5

    invoke-direct {v0, v1, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Rect;Ljava/lang/String;)V

    .line 696
    iget v5, v1, Landroid/graphics/Rect;->top:I

    iget v6, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v6, v12

    iget v11, v1, Landroid/graphics/Rect;->bottom:I

    invoke-virtual {v1, v12, v5, v6, v11}, Landroid/graphics/Rect;->set(IIII)V

    .line 698
    :goto_1
    iget-wide v5, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->j:D

    .line 699
    iget-object v11, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->h:Ljava/lang/String;

    move/from16 v19, v3

    move-object v13, v11

    goto :goto_2

    :cond_2
    const-wide/high16 v7, -0x4010000000000000L    # -1.0

    add-int/2addr v11, v9

    const/16 v7, 0xa

    if-ge v11, v7, :cond_3

    .line 703
    iget v7, v1, Landroid/graphics/Rect;->left:I

    iget v8, v1, Landroid/graphics/Rect;->top:I

    iget v9, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v9, v12

    move/from16 v19, v3

    iget v3, v1, Landroid/graphics/Rect;->bottom:I

    invoke-virtual {v1, v7, v8, v9, v3}, Landroid/graphics/Rect;->set(IIII)V

    goto :goto_3

    :cond_3
    move/from16 v19, v3

    .line 705
    new-instance v3, Ljava/lang/StringBuilder;

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

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

    iget-object v7, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aa:Ljava/lang/String;

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

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

    move-result-object v3

    invoke-direct {v0, v1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Rect;Ljava/lang/String;)V

    .line 706
    iget v3, v1, Landroid/graphics/Rect;->top:I

    iget v7, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v7, v12

    iget v8, v1, Landroid/graphics/Rect;->bottom:I

    invoke-virtual {v1, v12, v3, v7, v8}, Landroid/graphics/Rect;->set(IIII)V

    :goto_2
    const/4 v11, 0x0

    .line 710
    :goto_3
    iget-object v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v3

    const/4 v7, 0x1

    sub-int/2addr v3, v7

    if-ne v2, v3, :cond_4

    .line 711
    new-instance v3, Ljava/lang/StringBuilder;

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

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

    iget-object v7, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aa:Ljava/lang/String;

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

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

    move-result-object v3

    invoke-direct {v0, v1, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Rect;Ljava/lang/String;)V

    .line 713
    :cond_4
    rem-int/lit8 v3, v2, 0x2

    const/16 v7, 0x394

    const/16 v8, 0x393

    if-nez v3, :cond_a

    move/from16 v20, v4

    .line 714
    iget-wide v3, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    iget v9, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    if-eq v9, v8, :cond_6

    iget v9, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    if-ne v9, v7, :cond_5

    goto :goto_4

    :cond_5
    const/4 v9, 0x0

    goto :goto_5

    :cond_6
    :goto_4
    const/4 v9, 0x1

    :goto_5
    invoke-direct {v0, v3, v4, v9}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(JZ)I

    move-result v3

    .line 715
    iget-object v4, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->e:Ljava/lang/String;

    .line 716
    iget-wide v7, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    invoke-direct {v0, v7, v8}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(J)Z

    move-result v7

    if-eqz v7, :cond_8

    .line 717
    iget-wide v7, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    move-wide/from16 v21, v5

    iget-wide v4, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->al:J

    const-wide/32 v16, 0x5265c00

    add-long v4, v4, v16

    cmp-long v6, v7, v4

    if-nez v6, :cond_7

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

    move-result-object v4

    const v5, 0x7f0e0963

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

    move-result-object v4

    goto :goto_6

    .line 720
    :cond_7
    iget-object v4, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ai:Ljava/text/SimpleDateFormat;

    iget-wide v5, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

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

    move-result-object v5

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

    move-result-object v4

    goto :goto_6

    :cond_8
    move-wide/from16 v21, v5

    :goto_6
    int-to-float v5, v12

    if-lez v3, :cond_9

    const/4 v3, 0x1

    goto :goto_7

    :cond_9
    const/4 v3, 0x0

    .line 723
    :goto_7
    invoke-direct {v0, v5, v4, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FLjava/lang/String;Z)V

    goto :goto_8

    :cond_a
    move/from16 v20, v4

    move-wide/from16 v21, v5

    .line 725
    :goto_8
    iget v3, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    iget-wide v4, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    invoke-direct {v0, v3, v4, v5}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(IJ)I

    move-result v3

    if-eq v15, v3, :cond_d

    const/4 v4, -0x1

    if-ne v15, v4, :cond_b

    .line 728
    iget v5, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    iget v6, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v6, v12

    iget v7, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v8, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    add-int/2addr v7, v8

    invoke-virtual {v14, v12, v5, v6, v7}, Landroid/graphics/Rect;->set(IIII)V

    move-object v5, v14

    goto :goto_9

    .line 730
    :cond_b
    invoke-direct {v0, v14, v15}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Rect;I)V

    .line 731
    new-instance v5, Landroid/graphics/Rect;

    iget v6, v14, Landroid/graphics/Rect;->top:I

    iget v7, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v7, v12

    iget v8, v14, Landroid/graphics/Rect;->bottom:I

    invoke-direct {v5, v12, v6, v7, v8}, Landroid/graphics/Rect;-><init>(IIII)V

    .line 733
    :goto_9
    iget v6, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v7, 0x393

    if-eq v6, v7, :cond_c

    iget v6, v10, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v7, 0x394

    if-eq v6, v7, :cond_c

    move v15, v3

    :cond_c
    move-object v14, v5

    goto :goto_a

    :cond_d
    const/4 v4, -0x1

    .line 737
    iget v3, v14, Landroid/graphics/Rect;->left:I

    iget v5, v14, Landroid/graphics/Rect;->top:I

    iget v6, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    add-int/2addr v6, v12

    iget v7, v14, Landroid/graphics/Rect;->bottom:I

    invoke-virtual {v14, v3, v5, v6, v7}, Landroid/graphics/Rect;->set(IIII)V

    .line 739
    :goto_a
    iget-object v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v3

    const/4 v5, 0x1

    sub-int/2addr v3, v5

    if-ne v2, v3, :cond_e

    .line 740
    invoke-direct {v0, v14, v15}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Rect;I)V

    .line 742
    :cond_e
    iget v3, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    iget v5, v0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    add-int/2addr v3, v5

    add-int/2addr v12, v3

    add-int/lit8 v2, v2, 0x1

    move/from16 v3, v19

    move/from16 v4, v20

    move-wide/from16 v5, v21

    goto/16 :goto_0

    :cond_f
    return-void

    :cond_10
    :goto_b
    return-void
.end method

.method static synthetic f(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/util/TimeZone;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ag:Ljava/util/TimeZone;

    return-object p0
.end method

.method private f()V
    .locals 3

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

    invoke-direct {v0, p0}, Lcom/moji/mjweather/weather/view/Today24HourView$AsyncCalculator;-><init>(Lcom/moji/mjweather/weather/view/Today24HourView;)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/Today24HourView$AsyncCalculator;->a(Lcom/moji/tool/thread/ThreadType;[Ljava/lang/Object;)Lcom/moji/tool/thread/task/MJAsyncTask;

    return-void
.end method

.method static synthetic g(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/text/SimpleDateFormat;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ah:Ljava/text/SimpleDateFormat;

    return-object p0
.end method

.method private g()Z
    .locals 3

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

    monitor-enter v0

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

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

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

    move-result v1

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    .line 826
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    const/4 v2, 0x0

    if-lez v1, :cond_6

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    if-gtz v1, :cond_0

    goto/16 :goto_1

    .line 829
    :cond_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v1, :cond_5

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

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

    move-result v1

    if-eqz v1, :cond_1

    goto :goto_0

    .line 832
    :cond_1
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

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

    .line 833
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v1, :cond_3

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

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

    move-result v1

    if-nez v1, :cond_3

    .line 834
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    add-int/2addr v1, v2

    int-to-float v1, v1

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    int-to-float v2, v2

    invoke-direct {p0, v1, v2}, Lcom/moji/mjweather/weather/view/Today24HourView;->b(FF)V

    .line 835
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    .line 836
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ap:Ljava/util/List;

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

    .line 837
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aq:Ljava/util/List;

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

    .line 838
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ar:Ljava/util/List;

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

    .line 839
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->as:Ljava/util/List;

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

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

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

    .line 843
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->j()V

    .line 844
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->c()V

    .line 845
    iget-boolean v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    if-eqz v1, :cond_2

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

    .line 848
    :cond_2
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->e()V

    .line 849
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->R:I

    sub-int/2addr v1, v2

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->V:I

    add-int/2addr v1, v2

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->E:I

    add-int/2addr v1, v2

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->T:I

    .line 851
    :cond_3
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v2, 0x1

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

    .line 852
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aG:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    if-eqz v1, :cond_4

    .line 853
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aG:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

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

    const/4 v1, 0x0

    .line 854
    iput-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aG:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    .line 856
    :cond_4
    monitor-exit v0

    return v2

    .line 830
    :cond_5
    :goto_0
    monitor-exit v0

    return v2

    .line 827
    :cond_6
    :goto_1
    monitor-exit v0

    return v2

    :catchall_0
    move-exception v1

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

    throw v1
.end method

.method static synthetic h(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/util/Calendar;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ab:Ljava/util/Calendar;

    return-object p0
.end method

.method private h()V
    .locals 5

    .line 879
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_1

    :cond_0
    const v0, 0x7fffffff

    const v1, -0x7fffffff

    const/4 v2, 0x0

    .line 885
    :goto_0
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v3

    if-ge v2, v3, :cond_3

    .line 886
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak: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/entity/Hour24Data;

    .line 887
    iget v4, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    if-ge v4, v0, :cond_1

    .line 888
    iget v0, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    .line 890
    :cond_1
    iget v4, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    if-le v4, v1, :cond_2

    .line 891
    iget v1, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->b:I

    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 894
    :cond_3
    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    .line 895
    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->q:I

    .line 896
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->j()V

    .line 897
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$2;

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

    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->post(Ljava/lang/Runnable;)Z

    return-void

    :cond_4
    :goto_1
    return-void
.end method

.method static synthetic i(Lcom/moji/mjweather/weather/view/Today24HourView;)Ljava/util/Calendar;
    .locals 0

    .line 48
    iget-object p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ac:Ljava/util/Calendar;

    return-object p0
.end method

.method private i()V
    .locals 3

    .line 909
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 912
    :cond_0
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->G:I

    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    .line 913
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    sub-int/2addr v0, v1

    .line 914
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    sub-int/2addr v0, v1

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v2

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

    mul-int v1, v1, v2

    sub-int/2addr v0, v1

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

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

    move-result v1

    div-int/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    .line 915
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aD:I

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v2

    mul-int v1, v1, v2

    add-int/2addr v0, v1

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aE:I

    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v2

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

    mul-int v1, v1, v2

    add-int/2addr v0, v1

    .line 916
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->A:I

    sub-int/2addr v0, v1

    int-to-float v0, v0

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

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

    move-result v1

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

    int-to-float v1, v1

    div-float/2addr v0, v1

    iput v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->s:F

    return-void

    :cond_1
    :goto_0
    return-void
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->D:I

    return p0
.end method

.method private j()V
    .locals 3

    .line 920
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->r:I

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->q:I

    sub-int/2addr v0, v1

    int-to-float v0, v0

    .line 921
    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    const/4 v2, 0x0

    cmpl-float v2, v0, v2

    if-nez v2, :cond_0

    const/high16 v0, 0x3f800000    # 1.0f

    :cond_0
    div-float/2addr v1, v0

    iput v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->t:F

    return-void
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->E:I

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->F:I

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->R:I

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    return p0
.end method

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

    .line 48
    iget-boolean p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    return p0
.end method

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

    .line 48
    iget p0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    return p0
.end method

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

    .line 48
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->g()Z

    move-result p0

    return p0
.end method

.method private setDataPoints(Z)V
    .locals 1

    .line 159
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    .line 160
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->o:Z

    if-eq p1, v0, :cond_0

    .line 161
    new-instance v0, Lcom/moji/mjweather/weather/view/Today24HourView$1;

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

    invoke-virtual {p0, v0}, Lcom/moji/mjweather/weather/view/Today24HourView;->post(Ljava/lang/Runnable;)Z

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

    .line 169
    :cond_0
    invoke-direct {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->g()Z

    return-void
.end method


# virtual methods
.method public a(II)V
    .locals 0

    int-to-float p1, p1

    int-to-float p2, p2

    .line 861
    invoke-direct {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(FF)V

    .line 862
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->invalidate()V

    return-void
.end method

.method public a(Lcom/moji/weatherprovider/data/ForecastHourList;Ljava/util/TimeZone;JJ)V
    .locals 0

    .line 961
    iput-wide p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->am:J

    .line 962
    iput-wide p5, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->an:J

    .line 963
    new-instance p3, Lcom/moji/mjweather/weather/view/Today24HourView$AsyncDataSetter;

    invoke-direct {p3, p0, p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView$AsyncDataSetter;-><init>(Lcom/moji/mjweather/weather/view/Today24HourView;Lcom/moji/mjweather/weather/view/Today24HourView;Lcom/moji/weatherprovider/data/ForecastHourList;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 {p3, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView$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 567
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

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

    move-result v0

    return v0
.end method

.method public b()V
    .locals 9

    .line 1301
    invoke-virtual {p0}, Lcom/moji/mjweather/weather/view/Today24HourView;->a()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 1304
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->au: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 1308
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->a:Ljava/lang/Object;

    monitor-enter v0

    .line 1310
    :try_start_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v1, :cond_a

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

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

    move-result v1

    if-nez v1, :cond_a

    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    if-eqz v1, :cond_a

    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_2

    goto/16 :goto_5

    :cond_2
    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 1315
    :goto_0
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

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

    move-result v3

    const/4 v4, 0x1

    if-ge v2, v3, :cond_6

    .line 1316
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak: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/entity/Hour24Data;

    .line 1317
    iget-wide v5, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->f:J

    iget v7, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v8, 0x394

    if-eq v7, v8, :cond_4

    iget v3, v3, Lcom/moji/mjweather/weather/entity/Hour24Data;->c:I

    const/16 v7, 0x393

    if-ne v3, v7, :cond_3

    goto :goto_1

    :cond_3
    const/4 v3, 0x0

    goto :goto_2

    :cond_4
    :goto_1
    const/4 v3, 0x1

    :goto_2
    invoke-direct {p0, v5, v6, v3}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(JZ)I

    move-result v3

    if-nez v3, :cond_5

    goto :goto_3

    :cond_5
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 1321
    :cond_6
    :goto_3
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    if-eqz v3, :cond_7

    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    move-result v3

    if-ge v2, v3, :cond_7

    .line 1322
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    move-result-object v2

    check-cast v2, Landroid/graphics/PointF;

    goto :goto_4

    .line 1323
    :cond_7
    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    if-eqz v3, :cond_8

    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    move-result v3

    if-ne v2, v3, :cond_8

    .line 1324
    iget-object v2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

    iget-object v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ao:Ljava/util/ArrayList;

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

    move-result v3

    sub-int/2addr v3, v4

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

    move-result-object v2

    check-cast v2, Landroid/graphics/PointF;

    goto :goto_4

    :cond_8
    const/4 v2, 0x0

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

    .line 1327
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

    if-eqz v0, :cond_9

    if-eqz v2, :cond_9

    .line 1328
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

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

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->x:F

    iget v4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->w:F

    sub-float/2addr v3, v4

    div-float/2addr v2, v3

    iget v3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->T:I

    int-to-float v3, v3

    mul-float v2, v2, v3

    float-to-int v2, v2

    invoke-interface {v0, v2, v1}, Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;->scrollTo(II)V

    :cond_9
    return-void

    .line 1311
    :cond_a
    :goto_5
    :try_start_1
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    .line 1326
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v1
.end method

.method public getDrawDebugLine()Z
    .locals 1

    .line 1054
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->m:Z

    return v0
.end method

.method public hasOverlappingRendering()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 2

    .line 580
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->at:Ljava/util/concurrent/atomic/AtomicBoolean;

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

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 583
    :cond_0
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->au: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 586
    :cond_1
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->h: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 587
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->b: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 590
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->a:Ljava/lang/Object;

    monitor-enter v0

    .line 591
    :try_start_0
    iget-object v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->ak:Ljava/util/List;

    if-eqz v1, :cond_4

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

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

    move-result v1

    if-eqz v1, :cond_2

    goto :goto_0

    .line 594
    :cond_2
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->a(Landroid/graphics/Canvas;)V

    .line 595
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->b(Landroid/graphics/Canvas;)V

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

    .line 597
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->m:Z

    if-eqz v0, :cond_3

    .line 598
    invoke-direct {p0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->c(Landroid/graphics/Canvas;)V

    :cond_3
    return-void

    .line 592
    :cond_4
    :goto_0
    :try_start_1
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    .line 596
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw p1
.end method

.method protected onMeasure(II)V
    .locals 2

    .line 788
    invoke-super {p0, p1, p2}, Landroid/view/View;->onMeasure(II)V

    .line 789
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    invoke-static {v0, p1}, Lcom/moji/mjweather/weather/view/Today24HourView;->resolveSize(II)I

    move-result p1

    .line 790
    iget-boolean v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->M:I

    goto :goto_0

    :cond_0
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->M:I

    iget v1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->N:I

    sub-int/2addr v0, v1

    :goto_0
    invoke-static {v0, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->resolveSize(II)I

    move-result p2

    .line 791
    iget v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    if-ge p1, v0, :cond_1

    .line 792
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->L:I

    .line 794
    :cond_1
    invoke-virtual {p0, p1, p2}, Lcom/moji/mjweather/weather/view/Today24HourView;->setMeasuredDimension(II)V

    return-void
.end method

.method protected onSizeChanged(IIII)V
    .locals 0

    .line 799
    invoke-super {p0, p1, p2, p3, p4}, Landroid/view/View;->onSizeChanged(IIII)V

    .line 800
    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    if-ne p1, p3, :cond_0

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    if-eq p2, p3, :cond_3

    .line 801
    :cond_0
    iput p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    .line 802
    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    .line 803
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->y:I

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->I:I

    sub-int/2addr p1, p3

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    .line 804
    iget-boolean p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    if-eqz p1, :cond_1

    .line 805
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->O:I

    sub-int/2addr p1, p3

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    .line 806
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->C:I

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->N:I

    sub-int/2addr p1, p3

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    sub-int/2addr p1, p3

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    goto :goto_0

    .line 808
    :cond_1
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->av:I

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->O:I

    sub-int/2addr p1, p3

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->P:I

    sub-int/2addr p1, p3

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    .line 810
    :goto_0
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

    if-eqz p1, :cond_2

    .line 811
    iget-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

    iget p3, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->B:I

    iget p4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->H:I

    sub-int/2addr p3, p4

    iget-boolean p4, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->n:Z

    invoke-interface {p1, p3, p4, p2}, Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;->a(IZI)V

    .line 813
    :cond_2
    iget p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->z:I

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->R:I

    sub-int/2addr p1, p2

    iget p2, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->V:I

    add-int/2addr p1, p2

    iput p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->T:I

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

    :cond_3
    return-void
.end method

.method public setDrawDebugLine(Z)V
    .locals 0

    .line 1058
    iput-boolean p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->m:Z

    return-void
.end method

.method public setHour24Listener(Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;)V
    .locals 0

    .line 1288
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aH:Lcom/moji/mjweather/weather/view/Today24HourView$Hour24ViewListener;

    return-void
.end method

.method public setOnCalculateReadyListener(Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;)V
    .locals 1

    .line 571
    iget-object v0, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->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 572
    invoke-interface {p1}, Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;->a()V

    goto :goto_0

    .line 574
    :cond_0
    iput-object p1, p0, Lcom/moji/mjweather/weather/view/Today24HourView;->aG:Lcom/moji/mjweather/weather/view/Days15Hour24View$OnCalculateReadyListener;

    :goto_0
    return-void
.end method
