f.smali
.class public La3/f;
.super La3/g;
.source "LegendRenderer.java"
# instance fields
.field public b:Landroid/graphics/Paint;
.field public c:Landroid/graphics/Paint;
.field public d:Lcom/github/mikephil/charting/components/Legend;
.field public e:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ls2/e;",
">;"
}
.end annotation
.end field
.field public f:Landroid/graphics/Paint$FontMetrics;
.field public g:Landroid/graphics/Path;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lb3/j;Lcom/github/mikephil/charting/components/Legend;)V
.registers 4
invoke-direct {p0, p1}, La3/g;-><init>(Lb3/j;)V
new-instance p1, Ljava/util/ArrayList;
const/16 v0, 0x10
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
iput-object p1, p0, La3/f;->e:Ljava/util/List;
new-instance p1, Landroid/graphics/Paint$FontMetrics;
invoke-direct {p1}, Landroid/graphics/Paint$FontMetrics;-><init>()V
iput-object p1, p0, La3/f;->f:Landroid/graphics/Paint$FontMetrics;
new-instance p1, Landroid/graphics/Path;
invoke-direct {p1}, Landroid/graphics/Path;-><init>()V
iput-object p1, p0, La3/f;->g:Landroid/graphics/Path;
iput-object p2, p0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
new-instance p1, Landroid/graphics/Paint;
const/4 p2, 0x1
invoke-direct {p1, p2}, Landroid/graphics/Paint;-><init>(I)V
iput-object p1, p0, La3/f;->b:Landroid/graphics/Paint;
const/high16 v0, 0x41100000 # 9.0f
invoke-static {v0}, Lb3/i;->a(F)F
move-result v0
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setTextSize(F)V
iget-object p1, p0, La3/f;->b:Landroid/graphics/Paint;
sget-object v0, Landroid/graphics/Paint$Align;->LEFT:Landroid/graphics/Paint$Align;
invoke-virtual {p1, v0}, Landroid/graphics/Paint;->setTextAlign(Landroid/graphics/Paint$Align;)V
new-instance p1, Landroid/graphics/Paint;
invoke-direct {p1, p2}, Landroid/graphics/Paint;-><init>(I)V
iput-object p1, p0, La3/f;->c:Landroid/graphics/Paint;
sget-object p2, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;
invoke-virtual {p1, p2}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
return-void
.end method
# virtual methods
.method public a(Landroid/graphics/Canvas;)V
.registers 36
move-object/from16 v6, p0
move-object/from16 v7, p1
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Ls2/b;->f()Z
move-result v0
if-nez v0, :cond_d
return-void
:cond_d
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Ls2/b;->c()Landroid/graphics/Typeface;
move-result-object v0
if-eqz v0, :cond_1a
iget-object v1, v6, La3/f;->b:Landroid/graphics/Paint;
invoke-virtual {v1, v0}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
:cond_1a
iget-object v0, v6, La3/f;->b:Landroid/graphics/Paint;
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Ls2/b;->b()F
move-result v1
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setTextSize(F)V
iget-object v0, v6, La3/f;->b:Landroid/graphics/Paint;
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Ls2/b;->a()I
move-result v1
invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V
iget-object v0, v6, La3/f;->b:Landroid/graphics/Paint;
iget-object v1, v6, La3/f;->f:Landroid/graphics/Paint$FontMetrics;
invoke-static {v0, v1}, Lb3/i;->a(Landroid/graphics/Paint;Landroid/graphics/Paint$FontMetrics;)F
move-result v8
iget-object v0, v6, La3/f;->b:Landroid/graphics/Paint;
iget-object v1, v6, La3/f;->f:Landroid/graphics/Paint$FontMetrics;
invoke-static {v0, v1}, Lb3/i;->b(Landroid/graphics/Paint;Landroid/graphics/Paint$FontMetrics;)F
move-result v0
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Lcom/github/mikephil/charting/components/Legend;->x()F
move-result v1
invoke-static {v1}, Lb3/i;->a(F)F
move-result v1
add-float v9, v0, v1
iget-object v0, v6, La3/f;->b:Landroid/graphics/Paint;
const-string v1, "ABC"
invoke-static {v0, v1}, Lb3/i;->a(Landroid/graphics/Paint;Ljava/lang/String;)I
move-result v0
int-to-float v0, v0
const/high16 v10, 0x40000000 # 2.0f
div-float/2addr v0, v10
sub-float v11, v8, v0
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->k()[Ls2/e;
move-result-object v12
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->q()F
move-result v0
invoke-static {v0}, Lb3/i;->a(F)F
move-result v13
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->w()F
move-result v0
invoke-static {v0}, Lb3/i;->a(F)F
move-result v14
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->t()Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
move-result-object v0
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Lcom/github/mikephil/charting/components/Legend;->r()Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;
move-result-object v15
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Lcom/github/mikephil/charting/components/Legend;->v()Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;
move-result-object v1
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Lcom/github/mikephil/charting/components/Legend;->j()Lcom/github/mikephil/charting/components/Legend$LegendDirection;
move-result-object v5
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Lcom/github/mikephil/charting/components/Legend;->p()F
move-result v2
invoke-static {v2}, Lb3/i;->a(F)F
move-result v16
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Lcom/github/mikephil/charting/components/Legend;->u()F
move-result v2
invoke-static {v2}, Lb3/i;->a(F)F
move-result v4
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Ls2/b;->e()F
move-result v2
iget-object v3, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v3}, Ls2/b;->d()F
move-result v3
sget-object v17, La3/f$a;->a:[I
invoke-virtual {v15}, Ljava/lang/Enum;->ordinal()I
move-result v18
aget v10, v17, v18
move/from16 v17, v4
const/4 v4, 0x2
const/16 v20, 0x0
move/from16 v21, v14
const/4 v14, 0x1
if-eq v10, v14, :cond_149
if-eq v10, v4, :cond_129
const/4 v4, 0x3
if-eq v10, v4, :cond_c9
move/from16 v26, v8
move v14, v9
const/4 v7, 0x0
goto/16 :goto_163
:cond_c9
sget-object v4, Lcom/github/mikephil/charting/components/Legend$LegendOrientation;->VERTICAL:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
if-ne v0, v4, :cond_d7
iget-object v4, v6, La3/g;->a:Lb3/j;
invoke-virtual {v4}, Lb3/j;->l()F
move-result v4
const/high16 v10, 0x40000000 # 2.0f
div-float/2addr v4, v10
goto :goto_e7
:cond_d7
const/high16 v10, 0x40000000 # 2.0f
iget-object v4, v6, La3/g;->a:Lb3/j;
invoke-virtual {v4}, Lb3/j;->g()F
move-result v4
iget-object v14, v6, La3/g;->a:Lb3/j;
invoke-virtual {v14}, Lb3/j;->j()F
move-result v14
div-float/2addr v14, v10
add-float/2addr v4, v14
:goto_e7
sget-object v10, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v5, v10, :cond_ed
move v10, v3
goto :goto_ee
:cond_ed
neg-float v10, v3
:goto_ee
add-float/2addr v4, v10
sget-object v10, Lcom/github/mikephil/charting/components/Legend$LegendOrientation;->VERTICAL:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
if-ne v0, v10, :cond_125
move v14, v9
float-to-double v9, v4
sget-object v4, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
const-wide/high16 v24, 0x4000000000000000L # 2.0
if-ne v5, v4, :cond_10e
iget-object v4, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v4, v4, Lcom/github/mikephil/charting/components/Legend;->x:F
neg-float v4, v4
move/from16 v26, v8
float-to-double v7, v4
invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z
div-double v7, v7, v24
float-to-double v3, v3
invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v7, v3
goto :goto_11f
:cond_10e
move/from16 v26, v8
iget-object v4, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v4, v4, Lcom/github/mikephil/charting/components/Legend;->x:F
float-to-double v7, v4
invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z
div-double v7, v7, v24
float-to-double v3, v3
invoke-static {v3, v4}, Ljava/lang/Double;->isNaN(D)Z
sub-double/2addr v7, v3
:goto_11f
invoke-static {v9, v10}, Ljava/lang/Double;->isNaN(D)Z
add-double/2addr v9, v7
double-to-float v4, v9
goto :goto_147
:cond_125
move/from16 v26, v8
move v14, v9
goto :goto_147
:cond_129
move/from16 v26, v8
move v14, v9
sget-object v4, Lcom/github/mikephil/charting/components/Legend$LegendOrientation;->VERTICAL:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
if-ne v0, v4, :cond_137
iget-object v4, v6, La3/g;->a:Lb3/j;
invoke-virtual {v4}, Lb3/j;->l()F
move-result v4
goto :goto_13d
:cond_137
iget-object v4, v6, La3/g;->a:Lb3/j;
invoke-virtual {v4}, Lb3/j;->h()F
move-result v4
:goto_13d
sub-float/2addr v4, v3
sget-object v3, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v5, v3, :cond_147
iget-object v3, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v3, v3, Lcom/github/mikephil/charting/components/Legend;->x:F
sub-float/2addr v4, v3
:cond_147
:goto_147
move v7, v4
goto :goto_163
:cond_149
move/from16 v26, v8
move v14, v9
sget-object v4, Lcom/github/mikephil/charting/components/Legend$LegendOrientation;->VERTICAL:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
if-ne v0, v4, :cond_151
goto :goto_158
:cond_151
iget-object v4, v6, La3/g;->a:Lb3/j;
invoke-virtual {v4}, Lb3/j;->g()F
move-result v4
add-float/2addr v3, v4
:goto_158
sget-object v4, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v5, v4, :cond_162
iget-object v4, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v4, v4, Lcom/github/mikephil/charting/components/Legend;->x:F
add-float/2addr v4, v3
goto :goto_147
:cond_162
move v7, v3
:goto_163
sget-object v3, La3/f$a;->c:[I
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
aget v0, v3, v0
const/4 v3, 0x1
if-eq v0, v3, :cond_273
const/4 v4, 0x2
if-eq v0, v4, :cond_173
goto/16 :goto_3d7
:cond_173
sget-object v0, La3/f$a;->b:[I
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
aget v0, v0, v1
if-eq v0, v3, :cond_1b1
if-eq v0, v4, :cond_199
const/4 v1, 0x3
if-eq v0, v1, :cond_184
const/4 v0, 0x0
goto :goto_1be
:cond_184
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->k()F
move-result v0
const/high16 v1, 0x40000000 # 2.0f
div-float/2addr v0, v1
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v3, v2, Lcom/github/mikephil/charting/components/Legend;->y:F
div-float/2addr v3, v1
sub-float/2addr v0, v3
invoke-virtual {v2}, Ls2/b;->e()F
move-result v1
add-float/2addr v0, v1
goto :goto_1be
:cond_199
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;->CENTER:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;
if-ne v15, v0, :cond_1a4
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->k()F
move-result v0
goto :goto_1aa
:cond_1a4
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->e()F
move-result v0
:goto_1aa
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v1, v1, Lcom/github/mikephil/charting/components/Legend;->y:F
add-float/2addr v1, v2
sub-float/2addr v0, v1
goto :goto_1be
:cond_1b1
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;->CENTER:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;
if-ne v15, v0, :cond_1b7
const/4 v0, 0x0
goto :goto_1bd
:cond_1b7
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->i()F
move-result v0
:goto_1bd
add-float/2addr v0, v2
:goto_1be
move v9, v0
const/4 v10, 0x0
const/4 v15, 0x0
const/16 v18, 0x0
:goto_1c3
array-length v0, v12
if-ge v15, v0, :cond_3d7
aget-object v4, v12, v15
iget-object v0, v4, Ls2/e;->b:Lcom/github/mikephil/charting/components/Legend$LegendForm;
sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;
if-eq v0, v1, :cond_1d1
const/16 v19, 0x1
goto :goto_1d3
:cond_1d1
const/16 v19, 0x0
:goto_1d3
iget v0, v4, Ls2/e;->c:F
invoke-static {v0}, Ljava/lang/Float;->isNaN(F)Z
move-result v0
if-eqz v0, :cond_1de
move/from16 v21, v16
goto :goto_1e6
:cond_1de
iget v0, v4, Ls2/e;->c:F
invoke-static {v0}, Lb3/i;->a(F)F
move-result v0
move/from16 v21, v0
:goto_1e6
if-eqz v19, :cond_216
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v5, v0, :cond_1ef
add-float v0, v7, v18
goto :goto_1f3
:cond_1ef
sub-float v0, v21, v18
sub-float v0, v7, v0
:goto_1f3
move/from16 v22, v0
add-float v3, v9, v11
iget-object v2, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
move-object/from16 v0, p0
move-object/from16 v1, p1
move-object/from16 v24, v2
move/from16 v2, v22
move/from16 v8, v17
move-object/from16 v17, v4
move/from16 v27, v11
move-object v11, v5
move-object/from16 v5, v24
invoke-virtual/range {v0 .. v5}, La3/f;->a(Landroid/graphics/Canvas;FFLs2/e;Lcom/github/mikephil/charting/components/Legend;)V
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_213
add-float v22, v22, v21
:cond_213
move-object/from16 v0, v17
goto :goto_21e
:cond_216
move/from16 v27, v11
move/from16 v8, v17
move-object v11, v5
move-object v0, v4
move/from16 v22, v7
:goto_21e
iget-object v1, v0, Ls2/e;->a:Ljava/lang/String;
if-eqz v1, :cond_263
if-eqz v19, :cond_230
if-nez v10, :cond_230
sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v1, :cond_22c
move v1, v13
goto :goto_22d
:cond_22c
neg-float v1, v13
:goto_22d
add-float v22, v22, v1
goto :goto_234
:cond_230
if-eqz v10, :cond_234
move/from16 v22, v7
:cond_234
:goto_234
sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v1, :cond_243
iget-object v1, v6, La3/f;->b:Landroid/graphics/Paint;
iget-object v2, v0, Ls2/e;->a:Ljava/lang/String;
invoke-static {v1, v2}, Lb3/i;->c(Landroid/graphics/Paint;Ljava/lang/String;)I
move-result v1
int-to-float v1, v1
sub-float v22, v22, v1
:cond_243
move/from16 v1, v22
if-nez v10, :cond_251
add-float v2, v9, v26
iget-object v0, v0, Ls2/e;->a:Ljava/lang/String;
move-object/from16 v5, p1
invoke-virtual {v6, v5, v1, v2, v0}, La3/f;->a(Landroid/graphics/Canvas;FFLjava/lang/String;)V
goto :goto_25d
:cond_251
move-object/from16 v5, p1
add-float v2, v26, v14
add-float/2addr v9, v2
add-float v2, v9, v26
iget-object v0, v0, Ls2/e;->a:Ljava/lang/String;
invoke-virtual {v6, v5, v1, v2, v0}, La3/f;->a(Landroid/graphics/Canvas;FFLjava/lang/String;)V
:goto_25d
add-float v0, v26, v14
add-float/2addr v9, v0
const/16 v18, 0x0
goto :goto_26a
:cond_263
move-object/from16 v5, p1
add-float v21, v21, v8
add-float v18, v18, v21
const/4 v10, 0x1
:goto_26a
add-int/lit8 v15, v15, 0x1
move/from16 v17, v8
move-object v5, v11
move/from16 v11, v27
goto/16 :goto_1c3
:cond_273
move/from16 v27, v11
move/from16 v8, v17
move-object v11, v5
move-object/from16 v5, p1
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->i()Ljava/util/List;
move-result-object v9
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->h()Ljava/util/List;
move-result-object v10
iget-object v0, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v0}, Lcom/github/mikephil/charting/components/Legend;->g()Ljava/util/List;
move-result-object v4
sget-object v0, La3/f$a;->b:[I
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
aget v0, v0, v1
const/4 v3, 0x1
if-eq v0, v3, :cond_2bc
const/4 v1, 0x2
if-eq v0, v1, :cond_2af
const/4 v1, 0x3
if-eq v0, v1, :cond_29f
const/4 v2, 0x0
goto :goto_2bc
:cond_29f
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->k()F
move-result v0
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v1, v1, Lcom/github/mikephil/charting/components/Legend;->y:F
sub-float/2addr v0, v1
const/high16 v1, 0x40000000 # 2.0f
div-float/2addr v0, v1
add-float/2addr v2, v0
goto :goto_2bc
:cond_2af
iget-object v0, v6, La3/g;->a:Lb3/j;
invoke-virtual {v0}, Lb3/j;->k()F
move-result v0
sub-float/2addr v0, v2
iget-object v1, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget v1, v1, Lcom/github/mikephil/charting/components/Legend;->y:F
sub-float v2, v0, v1
:cond_2bc
:goto_2bc
array-length v1, v12
move/from16 v17, v7
const/4 v0, 0x0
const/4 v3, 0x0
:goto_2c1
if-ge v0, v1, :cond_3d7
move/from16 v18, v8
aget-object v8, v12, v0
move/from16 v20, v1
iget-object v1, v8, Ls2/e;->b:Lcom/github/mikephil/charting/components/Legend$LegendForm;
sget-object v5, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;
if-eq v1, v5, :cond_2d2
const/16 v22, 0x1
goto :goto_2d4
:cond_2d2
const/16 v22, 0x0
:goto_2d4
iget v1, v8, Ls2/e;->c:F
invoke-static {v1}, Ljava/lang/Float;->isNaN(F)Z
move-result v1
if-eqz v1, :cond_2df
move/from16 v24, v16
goto :goto_2e7
:cond_2df
iget v1, v8, Ls2/e;->c:F
invoke-static {v1}, Lb3/i;->a(F)F
move-result v1
move/from16 v24, v1
:goto_2e7
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v1
if-ge v0, v1, :cond_300
invoke-interface {v4, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Boolean;
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
move-result v1
if-eqz v1, :cond_300
add-float v1, v26, v14
add-float/2addr v2, v1
move/from16 v17, v2
move v1, v7
goto :goto_304
:cond_300
move/from16 v1, v17
move/from16 v17, v2
:goto_304
cmpl-float v2, v1, v7
if-nez v2, :cond_330
sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;->CENTER:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;
if-ne v15, v2, :cond_330
invoke-interface {v9}, Ljava/util/List;->size()I
move-result v2
if-ge v3, v2, :cond_330
sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v2, :cond_31f
invoke-interface {v9, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lb3/b;
iget v2, v2, Lb3/b;->c:F
goto :goto_328
:cond_31f
invoke-interface {v9, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lb3/b;
iget v2, v2, Lb3/b;->c:F
neg-float v2, v2
:goto_328
const/high16 v19, 0x40000000 # 2.0f
div-float v2, v2, v19
add-float/2addr v1, v2
add-int/lit8 v3, v3, 0x1
goto :goto_332
:cond_330
const/high16 v19, 0x40000000 # 2.0f
:goto_332
move/from16 v28, v3
iget-object v2, v8, Ls2/e;->a:Ljava/lang/String;
if-nez v2, :cond_33b
const/16 v29, 0x1
goto :goto_33d
:cond_33b
const/16 v29, 0x0
:goto_33d
if-eqz v22, :cond_36b
sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v2, :cond_345
sub-float v1, v1, v24
:cond_345
move/from16 v30, v1
add-float v3, v17, v27
iget-object v5, v6, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
move v2, v0
move-object/from16 v0, p0
move-object/from16 v1, p1
move/from16 v31, v7
move v7, v2
move/from16 v2, v30
const/16 v23, 0x1
move-object/from16 v32, v4
move-object v4, v8
move-object/from16 v33, v9
move-object/from16 v9, p1
invoke-virtual/range {v0 .. v5}, La3/f;->a(Landroid/graphics/Canvas;FFLs2/e;Lcom/github/mikephil/charting/components/Legend;)V
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_368
add-float v1, v30, v24
goto :goto_376
:cond_368
move/from16 v1, v30
goto :goto_376
:cond_36b
move-object/from16 v32, v4
move/from16 v31, v7
move-object/from16 v33, v9
const/16 v23, 0x1
move-object/from16 v9, p1
move v7, v0
:goto_376
if-nez v29, :cond_3b2
if-eqz v22, :cond_382
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_380
neg-float v0, v13
goto :goto_381
:cond_380
move v0, v13
:goto_381
add-float/2addr v1, v0
:cond_382
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_38f
invoke-interface {v10, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lb3/b;
iget v0, v0, Lb3/b;->c:F
sub-float/2addr v1, v0
:cond_38f
add-float v0, v17, v26
iget-object v2, v8, Ls2/e;->a:Ljava/lang/String;
invoke-virtual {v6, v9, v1, v0, v2}, La3/f;->a(Landroid/graphics/Canvas;FFLjava/lang/String;)V
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_3a3
invoke-interface {v10, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lb3/b;
iget v0, v0, Lb3/b;->c:F
add-float/2addr v1, v0
:cond_3a3
sget-object v0, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v0, :cond_3ab
move/from16 v0, v21
neg-float v2, v0
goto :goto_3ae
:cond_3ab
move/from16 v0, v21
move v2, v0
:goto_3ae
add-float/2addr v1, v2
move/from16 v2, v18
goto :goto_3c0
:cond_3b2
move/from16 v0, v21
sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->RIGHT_TO_LEFT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;
if-ne v11, v2, :cond_3bc
move/from16 v2, v18
neg-float v4, v2
goto :goto_3bf
:cond_3bc
move/from16 v2, v18
move v4, v2
:goto_3bf
add-float/2addr v1, v4
:goto_3c0
add-int/lit8 v3, v7, 0x1
move/from16 v21, v0
move v8, v2
move v0, v3
move-object v5, v9
move/from16 v2, v17
move/from16 v3, v28
move/from16 v7, v31
move-object/from16 v4, v32
move-object/from16 v9, v33
move/from16 v17, v1
move/from16 v1, v20
goto/16 :goto_2c1
:cond_3d7
:goto_3d7
return-void
.end method
.method public a(Landroid/graphics/Canvas;FFLjava/lang/String;)V
.registers 6
iget-object v0, p0, La3/f;->b:Landroid/graphics/Paint;
invoke-virtual {p1, p4, p2, p3, v0}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;FFLandroid/graphics/Paint;)V
return-void
.end method
.method public a(Landroid/graphics/Canvas;FFLs2/e;Lcom/github/mikephil/charting/components/Legend;)V
.registers 16
iget v0, p4, Ls2/e;->f:I
const v1, 0x112234
if-eq v0, v1, :cond_ba
const v1, 0x112233
if-eq v0, v1, :cond_ba
if-nez v0, :cond_10
goto/16 :goto_ba
:cond_10
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
move-result v0
iget-object v1, p4, Ls2/e;->b:Lcom/github/mikephil/charting/components/Legend$LegendForm;
sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendForm;->DEFAULT:Lcom/github/mikephil/charting/components/Legend$LegendForm;
if-ne v1, v2, :cond_1e
invoke-virtual {p5}, Lcom/github/mikephil/charting/components/Legend;->m()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v1
:cond_1e
iget-object v2, p0, La3/f;->c:Landroid/graphics/Paint;
iget v3, p4, Ls2/e;->f:I
invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V
iget v2, p4, Ls2/e;->c:F
invoke-static {v2}, Ljava/lang/Float;->isNaN(F)Z
move-result v2
if-eqz v2, :cond_32
invoke-virtual {p5}, Lcom/github/mikephil/charting/components/Legend;->p()F
move-result v2
goto :goto_34
:cond_32
iget v2, p4, Ls2/e;->c:F
:goto_34
invoke-static {v2}, Lb3/i;->a(F)F
move-result v2
const/high16 v3, 0x40000000 # 2.0f
div-float v3, v2, v3
sget-object v4, La3/f$a;->d:[I
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
aget v1, v4, v1
const/4 v4, 0x3
if-eq v1, v4, :cond_aa
const/4 v4, 0x4
if-eq v1, v4, :cond_aa
const/4 v4, 0x5
if-eq v1, v4, :cond_95
const/4 v3, 0x6
if-eq v1, v3, :cond_51
goto :goto_b7
:cond_51
iget v1, p4, Ls2/e;->d:F
invoke-static {v1}, Ljava/lang/Float;->isNaN(F)Z
move-result v1
if-eqz v1, :cond_5e
invoke-virtual {p5}, Lcom/github/mikephil/charting/components/Legend;->o()F
move-result v1
goto :goto_60
:cond_5e
iget v1, p4, Ls2/e;->d:F
:goto_60
invoke-static {v1}, Lb3/i;->a(F)F
move-result v1
iget-object p4, p4, Ls2/e;->e:Landroid/graphics/DashPathEffect;
if-nez p4, :cond_6c
invoke-virtual {p5}, Lcom/github/mikephil/charting/components/Legend;->n()Landroid/graphics/DashPathEffect;
move-result-object p4
:cond_6c
iget-object p5, p0, La3/f;->c:Landroid/graphics/Paint;
sget-object v3, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;
invoke-virtual {p5, v3}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
iget-object p5, p0, La3/f;->c:Landroid/graphics/Paint;
invoke-virtual {p5, v1}, Landroid/graphics/Paint;->setStrokeWidth(F)V
iget-object p5, p0, La3/f;->c:Landroid/graphics/Paint;
invoke-virtual {p5, p4}, Landroid/graphics/Paint;->setPathEffect(Landroid/graphics/PathEffect;)Landroid/graphics/PathEffect;
iget-object p4, p0, La3/f;->g:Landroid/graphics/Path;
invoke-virtual {p4}, Landroid/graphics/Path;->reset()V
iget-object p4, p0, La3/f;->g:Landroid/graphics/Path;
invoke-virtual {p4, p2, p3}, Landroid/graphics/Path;->moveTo(FF)V
iget-object p4, p0, La3/f;->g:Landroid/graphics/Path;
add-float/2addr p2, v2
invoke-virtual {p4, p2, p3}, Landroid/graphics/Path;->lineTo(FF)V
iget-object p2, p0, La3/f;->g:Landroid/graphics/Path;
iget-object p3, p0, La3/f;->c:Landroid/graphics/Paint;
invoke-virtual {p1, p2, p3}, Landroid/graphics/Canvas;->drawPath(Landroid/graphics/Path;Landroid/graphics/Paint;)V
goto :goto_b7
:cond_95
iget-object p4, p0, La3/f;->c:Landroid/graphics/Paint;
sget-object p5, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;
invoke-virtual {p4, p5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
sub-float v6, p3, v3
add-float v7, p2, v2
add-float v8, p3, v3
iget-object v9, p0, La3/f;->c:Landroid/graphics/Paint;
move-object v4, p1
move v5, p2
invoke-virtual/range {v4 .. v9}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
goto :goto_b7
:cond_aa
iget-object p4, p0, La3/f;->c:Landroid/graphics/Paint;
sget-object p5, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;
invoke-virtual {p4, p5}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V
add-float/2addr p2, v3
iget-object p4, p0, La3/f;->c:Landroid/graphics/Paint;
invoke-virtual {p1, p2, p3, v3, p4}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V
:goto_b7
invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V
:cond_ba
:goto_ba
return-void
.end method
.method public a(Lt2/h;)V
.registers 20
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lt2/h<",
"*>;)V"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
iget-object v2, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Lcom/github/mikephil/charting/components/Legend;->z()Z
move-result v2
if-nez v2, :cond_1c1
iget-object v2, v0, La3/f;->e:Ljava/util/List;
invoke-interface {v2}, Ljava/util/List;->clear()V
const/4 v3, 0x0
:goto_12
invoke-virtual/range {p1 .. p1}, Lt2/h;->b()I
move-result v4
if-ge v3, v4, :cond_1a7
invoke-virtual {v1, v3}, Lt2/h;->a(I)Lx2/d;
move-result-object v4
invoke-interface {v4}, Lx2/d;->r()Ljava/util/List;
move-result-object v5
invoke-interface {v4}, Lx2/d;->C()I
move-result v6
instance-of v7, v4, Lx2/a;
if-eqz v7, :cond_96
move-object v7, v4
check-cast v7, Lx2/a;
invoke-interface {v7}, Lx2/a;->w()Z
move-result v8
if-eqz v8, :cond_96
invoke-interface {v7}, Lx2/a;->y()[Ljava/lang/String;
move-result-object v6
const/4 v8, 0x0
:goto_36
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v9
if-ge v8, v9, :cond_74
invoke-interface {v7}, Lx2/a;->s()I
move-result v9
if-ge v8, v9, :cond_74
iget-object v9, v0, La3/f;->e:Ljava/util/List;
new-instance v15, Ls2/e;
array-length v10, v6
rem-int v10, v8, v10
aget-object v11, v6, v10
invoke-interface {v4}, Lx2/d;->f()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v12
invoke-interface {v4}, Lx2/d;->n()F
move-result v13
invoke-interface {v4}, Lx2/d;->m()F
move-result v14
invoke-interface {v4}, Lx2/d;->d()Landroid/graphics/DashPathEffect;
move-result-object v16
invoke-interface {v5, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v10
check-cast v10, Ljava/lang/Integer;
invoke-virtual {v10}, Ljava/lang/Integer;->intValue()I
move-result v17
move-object v10, v15
move-object v2, v15
move-object/from16 v15, v16
move/from16 v16, v17
invoke-direct/range {v10 .. v16}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v9, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v8, v8, 0x1
goto :goto_36
:cond_74
invoke-interface {v7}, Lx2/d;->h()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_93
iget-object v2, v0, La3/f;->e:Ljava/util/List;
new-instance v12, Ls2/e;
invoke-interface {v4}, Lx2/d;->h()Ljava/lang/String;
move-result-object v6
sget-object v7, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;
const/high16 v8, 0x7fc00000 # Float.NaN
const/high16 v9, 0x7fc00000 # Float.NaN
const/4 v10, 0x0
const v11, 0x112233
move-object v5, v12
invoke-direct/range {v5 .. v11}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v2, v12}, Ljava/util/List;->add(Ljava/lang/Object;)Z
:cond_93
move-object v2, v1
goto/16 :goto_1a2
:cond_96
instance-of v2, v4, Lx2/f;
if-eqz v2, :cond_fe
move-object v2, v4
check-cast v2, Lx2/f;
const/4 v7, 0x0
:goto_9e
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v8
if-ge v7, v8, :cond_dd
if-ge v7, v6, :cond_dd
iget-object v8, v0, La3/f;->e:Ljava/util/List;
new-instance v15, Ls2/e;
invoke-interface {v2, v7}, Lx2/d;->b(I)Lt2/i;
move-result-object v9
check-cast v9, Lt2/j;
invoke-virtual {v9}, Lt2/j;->i()Ljava/lang/String;
move-result-object v10
invoke-interface {v4}, Lx2/d;->f()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v11
invoke-interface {v4}, Lx2/d;->n()F
move-result v12
invoke-interface {v4}, Lx2/d;->m()F
move-result v13
invoke-interface {v4}, Lx2/d;->d()Landroid/graphics/DashPathEffect;
move-result-object v14
invoke-interface {v5, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v9
check-cast v9, Ljava/lang/Integer;
invoke-virtual {v9}, Ljava/lang/Integer;->intValue()I
move-result v16
move-object v9, v15
move-object v1, v15
move/from16 v15, v16
invoke-direct/range {v9 .. v15}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v8, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v7, v7, 0x1
move-object/from16 v1, p1
goto :goto_9e
:cond_dd
invoke-interface {v2}, Lx2/d;->h()Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_1a0
iget-object v1, v0, La3/f;->e:Ljava/util/List;
new-instance v2, Ls2/e;
invoke-interface {v4}, Lx2/d;->h()Ljava/lang/String;
move-result-object v6
sget-object v7, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;
const/high16 v8, 0x7fc00000 # Float.NaN
const/high16 v9, 0x7fc00000 # Float.NaN
const/4 v10, 0x0
const v11, 0x112233
move-object v5, v2
invoke-direct/range {v5 .. v11}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto/16 :goto_1a0
:cond_fe
instance-of v1, v4, Lx2/c;
if-eqz v1, :cond_153
move-object v1, v4
check-cast v1, Lx2/c;
invoke-interface {v1}, Lx2/c;->F()I
move-result v2
const v7, 0x112233
if-eq v2, v7, :cond_153
invoke-interface {v1}, Lx2/c;->F()I
move-result v14
invoke-interface {v1}, Lx2/c;->z()I
move-result v1
iget-object v2, v0, La3/f;->e:Ljava/util/List;
new-instance v5, Ls2/e;
const/4 v9, 0x0
invoke-interface {v4}, Lx2/d;->f()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v10
invoke-interface {v4}, Lx2/d;->n()F
move-result v11
invoke-interface {v4}, Lx2/d;->m()F
move-result v12
invoke-interface {v4}, Lx2/d;->d()Landroid/graphics/DashPathEffect;
move-result-object v13
move-object v8, v5
invoke-direct/range {v8 .. v14}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
iget-object v2, v0, La3/f;->e:Ljava/util/List;
new-instance v12, Ls2/e;
invoke-interface {v4}, Lx2/d;->h()Ljava/lang/String;
move-result-object v6
invoke-interface {v4}, Lx2/d;->f()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v7
invoke-interface {v4}, Lx2/d;->n()F
move-result v8
invoke-interface {v4}, Lx2/d;->m()F
move-result v9
invoke-interface {v4}, Lx2/d;->d()Landroid/graphics/DashPathEffect;
move-result-object v10
move-object v5, v12
move v11, v1
invoke-direct/range {v5 .. v11}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v2, v12}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_1a0
:cond_153
const/4 v1, 0x0
:goto_154
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v2
if-ge v1, v2, :cond_1a0
if-ge v1, v6, :cond_1a0
invoke-interface {v5}, Ljava/util/List;->size()I
move-result v2
add-int/lit8 v2, v2, -0x1
if-ge v1, v2, :cond_16d
add-int/lit8 v2, v6, -0x1
if-ge v1, v2, :cond_16d
const/4 v2, 0x0
move-object v9, v2
move-object/from16 v2, p1
goto :goto_178
:cond_16d
move-object/from16 v2, p1
invoke-virtual {v2, v3}, Lt2/h;->a(I)Lx2/d;
move-result-object v7
invoke-interface {v7}, Lx2/d;->h()Ljava/lang/String;
move-result-object v7
move-object v9, v7
:goto_178
iget-object v7, v0, La3/f;->e:Ljava/util/List;
new-instance v15, Ls2/e;
invoke-interface {v4}, Lx2/d;->f()Lcom/github/mikephil/charting/components/Legend$LegendForm;
move-result-object v10
invoke-interface {v4}, Lx2/d;->n()F
move-result v11
invoke-interface {v4}, Lx2/d;->m()F
move-result v12
invoke-interface {v4}, Lx2/d;->d()Landroid/graphics/DashPathEffect;
move-result-object v13
invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v8
check-cast v8, Ljava/lang/Integer;
invoke-virtual {v8}, Ljava/lang/Integer;->intValue()I
move-result v14
move-object v8, v15
invoke-direct/range {v8 .. v14}, Ls2/e;-><init>(Ljava/lang/String;Lcom/github/mikephil/charting/components/Legend$LegendForm;FFLandroid/graphics/DashPathEffect;I)V
invoke-interface {v7, v15}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_154
:cond_1a0
:goto_1a0
move-object/from16 v2, p1
:goto_1a2
add-int/lit8 v3, v3, 0x1
move-object v1, v2
goto/16 :goto_12
:cond_1a7
iget-object v1, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Lcom/github/mikephil/charting/components/Legend;->l()[Ls2/e;
move-result-object v1
if-eqz v1, :cond_1ba
iget-object v1, v0, La3/f;->e:Ljava/util/List;
iget-object v2, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Lcom/github/mikephil/charting/components/Legend;->l()[Ls2/e;
move-result-object v2
invoke-static {v1, v2}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
:cond_1ba
iget-object v1, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget-object v2, v0, La3/f;->e:Ljava/util/List;
invoke-virtual {v1, v2}, Lcom/github/mikephil/charting/components/Legend;->a(Ljava/util/List;)V
:cond_1c1
iget-object v1, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v1}, Ls2/b;->c()Landroid/graphics/Typeface;
move-result-object v1
if-eqz v1, :cond_1ce
iget-object v2, v0, La3/f;->b:Landroid/graphics/Paint;
invoke-virtual {v2, v1}, Landroid/graphics/Paint;->setTypeface(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;
:cond_1ce
iget-object v1, v0, La3/f;->b:Landroid/graphics/Paint;
iget-object v2, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Ls2/b;->b()F
move-result v2
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setTextSize(F)V
iget-object v1, v0, La3/f;->b:Landroid/graphics/Paint;
iget-object v2, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
invoke-virtual {v2}, Ls2/b;->a()I
move-result v2
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setColor(I)V
iget-object v1, v0, La3/f;->d:Lcom/github/mikephil/charting/components/Legend;
iget-object v2, v0, La3/f;->b:Landroid/graphics/Paint;
iget-object v3, v0, La3/g;->a:Lb3/j;
invoke-virtual {v1, v2, v3}, Lcom/github/mikephil/charting/components/Legend;->a(Landroid/graphics/Paint;Lb3/j;)V
return-void
.end method