Legend.smali

.class public Lcom/github/mikephil/charting/components/Legend;
.super Ls2/b;
.source "Legend.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/github/mikephil/charting/components/Legend$LegendDirection;,
        Lcom/github/mikephil/charting/components/Legend$LegendOrientation;,
        Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;,
        Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;,
        Lcom/github/mikephil/charting/components/Legend$LegendForm;
    }
.end annotation


# instance fields
.field public A:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lb3/b;",
            ">;"
        }
    .end annotation
.end field

.field public B:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public C:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lb3/b;",
            ">;"
        }
    .end annotation
.end field

.field public g:[Ls2/e;

.field public h:[Ls2/e;

.field public i:Z

.field public j:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;

.field public k:Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;

.field public l:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

.field public m:Z

.field public n:Lcom/github/mikephil/charting/components/Legend$LegendDirection;

.field public o:Lcom/github/mikephil/charting/components/Legend$LegendForm;

.field public p:F

.field public q:F

.field public r:Landroid/graphics/DashPathEffect;

.field public s:F

.field public t:F

.field public u:F

.field public v:F

.field public w:F

.field public x:F

.field public y:F

.field public z:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>()V
    .registers 6

    invoke-direct {p0}, Ls2/b;-><init>()V

    const/4 v0, 0x0

    new-array v1, v0, [Ls2/e;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    iput-boolean v0, p0, Lcom/github/mikephil/charting/components/Legend;->i:Z

    sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;->LEFT:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->j:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;

    sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;->BOTTOM:Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->k:Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;

    sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendOrientation;->HORIZONTAL:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->l:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

    iput-boolean v0, p0, Lcom/github/mikephil/charting/components/Legend;->m:Z

    sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendDirection;->LEFT_TO_RIGHT:Lcom/github/mikephil/charting/components/Legend$LegendDirection;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->n:Lcom/github/mikephil/charting/components/Legend$LegendDirection;

    sget-object v1, Lcom/github/mikephil/charting/components/Legend$LegendForm;->SQUARE:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    iput-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->o:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    const/high16 v1, 0x41000000    # 8.0f

    iput v1, p0, Lcom/github/mikephil/charting/components/Legend;->p:F

    const/high16 v1, 0x40400000    # 3.0f

    iput v1, p0, Lcom/github/mikephil/charting/components/Legend;->q:F

    const/4 v2, 0x0

    iput-object v2, p0, Lcom/github/mikephil/charting/components/Legend;->r:Landroid/graphics/DashPathEffect;

    const/high16 v2, 0x40c00000    # 6.0f

    iput v2, p0, Lcom/github/mikephil/charting/components/Legend;->s:F

    const/4 v2, 0x0

    iput v2, p0, Lcom/github/mikephil/charting/components/Legend;->t:F

    const/high16 v3, 0x40a00000    # 5.0f

    iput v3, p0, Lcom/github/mikephil/charting/components/Legend;->u:F

    iput v1, p0, Lcom/github/mikephil/charting/components/Legend;->v:F

    const v4, 0x3f733333    # 0.95f

    iput v4, p0, Lcom/github/mikephil/charting/components/Legend;->w:F

    iput v2, p0, Lcom/github/mikephil/charting/components/Legend;->x:F

    iput v2, p0, Lcom/github/mikephil/charting/components/Legend;->y:F

    iput-boolean v0, p0, Lcom/github/mikephil/charting/components/Legend;->z:Z

    new-instance v0, Ljava/util/ArrayList;

    const/16 v2, 0x10

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

    iput-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->B:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

    const/high16 v0, 0x41200000    # 10.0f

    invoke-static {v0}, Lb3/i;->a(F)F

    move-result v0

    iput v0, p0, Ls2/b;->e:F

    invoke-static {v3}, Lb3/i;->a(F)F

    move-result v0

    iput v0, p0, Ls2/b;->b:F

    invoke-static {v1}, Lb3/i;->a(F)F

    move-result v0

    iput v0, p0, Ls2/b;->c:F

    return-void
.end method


# virtual methods
.method public a(Landroid/graphics/Paint;)F
    .registers 8

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    array-length v1, v0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_5
    if-ge v3, v1, :cond_1b

    aget-object v4, v0, v3

    iget-object v4, v4, Ls2/e;->a:Ljava/lang/String;

    if-nez v4, :cond_e

    goto :goto_18

    :cond_e
    invoke-static {p1, v4}, Lb3/i;->a(Landroid/graphics/Paint;Ljava/lang/String;)I

    move-result v4

    int-to-float v4, v4

    cmpl-float v5, v4, v2

    if-lez v5, :cond_18

    move v2, v4

    :cond_18
    :goto_18
    add-int/lit8 v3, v3, 0x1

    goto :goto_5

    :cond_1b
    return v2
.end method

.method public a(F)V
    .registers 2

    iput p1, p0, Lcom/github/mikephil/charting/components/Legend;->p:F

    return-void
.end method

.method public a(Landroid/graphics/Paint;Lb3/j;)V
    .registers 30

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    iget v2, v0, Lcom/github/mikephil/charting/components/Legend;->p:F

    invoke-static {v2}, Lb3/i;->a(F)F

    move-result v2

    iget v3, v0, Lcom/github/mikephil/charting/components/Legend;->v:F

    invoke-static {v3}, Lb3/i;->a(F)F

    move-result v3

    iget v4, v0, Lcom/github/mikephil/charting/components/Legend;->u:F

    invoke-static {v4}, Lb3/i;->a(F)F

    move-result v4

    iget v5, v0, Lcom/github/mikephil/charting/components/Legend;->s:F

    invoke-static {v5}, Lb3/i;->a(F)F

    move-result v5

    iget v6, v0, Lcom/github/mikephil/charting/components/Legend;->t:F

    invoke-static {v6}, Lb3/i;->a(F)F

    move-result v6

    iget-boolean v7, v0, Lcom/github/mikephil/charting/components/Legend;->z:Z

    iget-object v8, v0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    array-length v9, v8

    invoke-virtual/range {p0 .. p1}, Lcom/github/mikephil/charting/components/Legend;->b(Landroid/graphics/Paint;)F

    invoke-virtual/range {p0 .. p1}, Lcom/github/mikephil/charting/components/Legend;->a(Landroid/graphics/Paint;)F

    sget-object v10, Lcom/github/mikephil/charting/components/Legend$a;->a:[I

    iget-object v11, v0, Lcom/github/mikephil/charting/components/Legend;->l:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

    invoke-virtual {v11}, Ljava/lang/Enum;->ordinal()I

    move-result v11

    aget v10, v10, v11

    const/4 v12, 0x1

    if-eq v10, v12, :cond_176

    const/4 v14, 0x2

    if-eq v10, v14, :cond_3f

    goto/16 :goto_1f3

    :cond_3f
    invoke-static/range {p1 .. p1}, Lb3/i;->a(Landroid/graphics/Paint;)F

    move-result v10

    invoke-static/range {p1 .. p1}, Lb3/i;->b(Landroid/graphics/Paint;)F

    move-result v14

    add-float/2addr v14, v6

    invoke-virtual/range {p2 .. p2}, Lb3/j;->j()F

    move-result v6

    iget v15, v0, Lcom/github/mikephil/charting/components/Legend;->w:F

    mul-float v6, v6, v15

    iget-object v15, v0, Lcom/github/mikephil/charting/components/Legend;->B:Ljava/util/List;

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

    iget-object v15, v0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

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

    iget-object v15, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

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

    const/4 v12, 0x0

    const/4 v13, -0x1

    const/16 v17, 0x0

    const/16 v19, 0x0

    const/16 v20, 0x0

    :goto_67
    if-ge v12, v9, :cond_14b

    aget-object v15, v8, v12

    iget-object v11, v15, Ls2/e;->b:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    move/from16 v22, v2

    sget-object v2, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    if-eq v11, v2, :cond_75

    const/4 v2, 0x1

    goto :goto_76

    :cond_75
    const/4 v2, 0x0

    :goto_76
    iget v11, v15, Ls2/e;->c:F

    invoke-static {v11}, Ljava/lang/Float;->isNaN(F)Z

    move-result v11

    if-eqz v11, :cond_81

    move/from16 v11, v22

    goto :goto_87

    :cond_81
    iget v11, v15, Ls2/e;->c:F

    invoke-static {v11}, Lb3/i;->a(F)F

    move-result v11

    :goto_87
    iget-object v15, v15, Ls2/e;->a:Ljava/lang/String;

    move/from16 v23, v5

    iget-object v5, v0, Lcom/github/mikephil/charting/components/Legend;->B:Ljava/util/List;

    move-object/from16 v24, v8

    const/16 v21, 0x0

    invoke-static/range {v21 .. v21}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v8

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

    const/4 v5, -0x1

    if-ne v13, v5, :cond_9d

    const/4 v5, 0x0

    goto :goto_9f

    :cond_9d
    add-float v5, v19, v3

    :goto_9f
    if-eqz v15, :cond_bf

    iget-object v8, v0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

    move/from16 v19, v3

    invoke-static {v1, v15}, Lb3/i;->b(Landroid/graphics/Paint;Ljava/lang/String;)Lb3/b;

    move-result-object v3

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

    if-eqz v2, :cond_b1

    add-float v2, v4, v11

    goto :goto_b2

    :cond_b1
    const/4 v2, 0x0

    :goto_b2
    add-float/2addr v5, v2

    iget-object v2, v0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

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

    move-result-object v2

    check-cast v2, Lb3/b;

    iget v2, v2, Lb3/b;->c:F

    add-float/2addr v5, v2

    goto :goto_d8

    :cond_bf
    move/from16 v19, v3

    iget-object v3, v0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

    move/from16 v25, v11

    const/4 v8, 0x0

    invoke-static {v8, v8}, Lb3/b;->a(FF)Lb3/b;

    move-result-object v11

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

    if-eqz v2, :cond_d2

    move/from16 v11, v25

    goto :goto_d3

    :cond_d2
    const/4 v11, 0x0

    :goto_d3
    add-float/2addr v5, v11

    const/4 v2, -0x1

    if-ne v13, v2, :cond_d8

    move v13, v12

    :cond_d8
    :goto_d8
    if-nez v15, :cond_de

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

    if-ne v12, v2, :cond_13a

    :cond_de
    move/from16 v2, v20

    const/4 v8, 0x0

    cmpl-float v3, v2, v8

    if-nez v3, :cond_e7

    const/4 v3, 0x0

    goto :goto_e9

    :cond_e7
    move/from16 v3, v23

    :goto_e9
    if-eqz v7, :cond_11b

    cmpl-float v11, v2, v8

    if-eqz v11, :cond_11b

    sub-float v11, v6, v2

    add-float v18, v3, v5

    cmpl-float v11, v11, v18

    if-ltz v11, :cond_f8

    goto :goto_11b

    :cond_f8
    iget-object v3, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

    invoke-static {v2, v10}, Lb3/b;->a(FF)Lb3/b;

    move-result-object v11

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

    move/from16 v11, v17

    invoke-static {v11, v2}, Ljava/lang/Math;->max(FF)F

    move-result v2

    iget-object v3, v0, Lcom/github/mikephil/charting/components/Legend;->B:Ljava/util/List;

    const/4 v11, -0x1

    if-le v13, v11, :cond_10e

    move v8, v13

    goto :goto_10f

    :cond_10e
    move v8, v12

    :goto_10f
    const/16 v16, 0x1

    invoke-static/range {v16 .. v16}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v11

    invoke-interface {v3, v8, v11}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    move v3, v5

    const/4 v8, -0x1

    goto :goto_124

    :cond_11b
    :goto_11b
    move/from16 v11, v17

    const/4 v8, -0x1

    add-float/2addr v3, v5

    add-float v20, v2, v3

    move v2, v11

    move/from16 v3, v20

    :goto_124
    add-int/lit8 v11, v9, -0x1

    if-ne v12, v11, :cond_136

    iget-object v11, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

    invoke-static {v3, v10}, Lb3/b;->a(FF)Lb3/b;

    move-result-object v8

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

    invoke-static {v2, v3}, Ljava/lang/Math;->max(FF)F

    move-result v17

    goto :goto_138

    :cond_136
    move/from16 v17, v2

    :goto_138
    move/from16 v20, v3

    :cond_13a
    if-eqz v15, :cond_13d

    const/4 v13, -0x1

    :cond_13d
    add-int/lit8 v12, v12, 0x1

    move/from16 v3, v19

    move/from16 v2, v22

    move-object/from16 v8, v24

    move/from16 v19, v5

    move/from16 v5, v23

    goto/16 :goto_67

    :cond_14b
    move/from16 v11, v17

    const/16 v21, 0x0

    iput v11, v0, Lcom/github/mikephil/charting/components/Legend;->x:F

    iget-object v1, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

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

    move-result v1

    int-to-float v1, v1

    mul-float v10, v10, v1

    iget-object v1, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

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

    move-result v1

    if-nez v1, :cond_164

    const/4 v11, 0x0

    goto :goto_16e

    :cond_164
    iget-object v1, v0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

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

    move-result v1

    const/16 v16, 0x1

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

    :goto_16e
    int-to-float v1, v11

    mul-float v14, v14, v1

    add-float/2addr v10, v14

    iput v10, v0, Lcom/github/mikephil/charting/components/Legend;->y:F

    goto/16 :goto_1f3

    :cond_176
    move/from16 v22, v2

    move/from16 v19, v3

    move-object/from16 v24, v8

    const/16 v16, 0x1

    const/16 v21, 0x0

    invoke-static/range {p1 .. p1}, Lb3/i;->a(Landroid/graphics/Paint;)F

    move-result v2

    const/4 v3, 0x0

    const/4 v5, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v10, 0x0

    :goto_189
    if-ge v7, v9, :cond_1ef

    aget-object v11, v24, v7

    iget-object v12, v11, Ls2/e;->b:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    sget-object v13, Lcom/github/mikephil/charting/components/Legend$LegendForm;->NONE:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    if-eq v12, v13, :cond_195

    const/4 v12, 0x1

    goto :goto_196

    :cond_195
    const/4 v12, 0x0

    :goto_196
    iget v13, v11, Ls2/e;->c:F

    invoke-static {v13}, Ljava/lang/Float;->isNaN(F)Z

    move-result v13

    if-eqz v13, :cond_1a1

    move/from16 v13, v22

    goto :goto_1a7

    :cond_1a1
    iget v13, v11, Ls2/e;->c:F

    invoke-static {v13}, Lb3/i;->a(F)F

    move-result v13

    :goto_1a7
    iget-object v11, v11, Ls2/e;->a:Ljava/lang/String;

    if-nez v10, :cond_1ac

    const/4 v5, 0x0

    :cond_1ac
    if-eqz v12, :cond_1b3

    if-eqz v10, :cond_1b2

    add-float v5, v5, v19

    :cond_1b2
    add-float/2addr v5, v13

    :cond_1b3
    if-eqz v11, :cond_1e0

    if-eqz v12, :cond_1bb

    if-nez v10, :cond_1bb

    add-float/2addr v5, v4

    goto :goto_1c8

    :cond_1bb
    if-eqz v10, :cond_1c8

    invoke-static {v8, v5}, Ljava/lang/Math;->max(FF)F

    move-result v8

    add-float v5, v2, v6

    add-float/2addr v3, v5

    move v5, v8

    const/4 v8, 0x0

    const/4 v10, 0x0

    goto :goto_1cd

    :cond_1c8
    :goto_1c8
    move/from16 v26, v8

    move v8, v5

    move/from16 v5, v26

    :goto_1cd
    invoke-static {v1, v11}, Lb3/i;->c(Landroid/graphics/Paint;Ljava/lang/String;)I

    move-result v11

    int-to-float v11, v11

    add-float/2addr v8, v11

    add-int/lit8 v11, v9, -0x1

    if-ge v7, v11, :cond_1da

    add-float v11, v2, v6

    add-float/2addr v3, v11

    :cond_1da
    move/from16 v26, v8

    move v8, v5

    move/from16 v5, v26

    goto :goto_1e8

    :cond_1e0
    add-float/2addr v5, v13

    add-int/lit8 v10, v9, -0x1

    if-ge v7, v10, :cond_1e7

    add-float v5, v5, v19

    :cond_1e7
    const/4 v10, 0x1

    :goto_1e8
    invoke-static {v8, v5}, Ljava/lang/Math;->max(FF)F

    move-result v8

    add-int/lit8 v7, v7, 0x1

    goto :goto_189

    :cond_1ef
    iput v8, v0, Lcom/github/mikephil/charting/components/Legend;->x:F

    iput v3, v0, Lcom/github/mikephil/charting/components/Legend;->y:F

    :goto_1f3
    iget v1, v0, Lcom/github/mikephil/charting/components/Legend;->y:F

    iget v2, v0, Ls2/b;->c:F

    add-float/2addr v1, v2

    iput v1, v0, Lcom/github/mikephil/charting/components/Legend;->y:F

    iget v1, v0, Lcom/github/mikephil/charting/components/Legend;->x:F

    iget v2, v0, Ls2/b;->b:F

    add-float/2addr v1, v2

    iput v1, v0, Lcom/github/mikephil/charting/components/Legend;->x:F

    return-void
.end method

.method public a(Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;)V
    .registers 2

    iput-object p1, p0, Lcom/github/mikephil/charting/components/Legend;->j:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;

    return-void
.end method

.method public a(Lcom/github/mikephil/charting/components/Legend$LegendOrientation;)V
    .registers 2

    iput-object p1, p0, Lcom/github/mikephil/charting/components/Legend;->l:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

    return-void
.end method

.method public a(Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;)V
    .registers 2

    iput-object p1, p0, Lcom/github/mikephil/charting/components/Legend;->k:Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;

    return-void
.end method

.method public a(Ljava/util/List;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ls2/e;",
            ">;)V"
        }
    .end annotation

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

    move-result v0

    new-array v0, v0, [Ls2/e;

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

    move-result-object p1

    check-cast p1, [Ls2/e;

    iput-object p1, p0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    return-void
.end method

.method public b(Landroid/graphics/Paint;)F
    .registers 11

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->u:F

    invoke-static {v0}, Lb3/i;->a(F)F

    move-result v0

    iget-object v1, p0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    array-length v2, v1

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    :goto_d
    if-ge v5, v2, :cond_39

    aget-object v6, v1, v5

    iget v7, v6, Ls2/e;->c:F

    invoke-static {v7}, Ljava/lang/Float;->isNaN(F)Z

    move-result v7

    if-eqz v7, :cond_1c

    iget v7, p0, Lcom/github/mikephil/charting/components/Legend;->p:F

    goto :goto_1e

    :cond_1c
    iget v7, v6, Ls2/e;->c:F

    :goto_1e
    invoke-static {v7}, Lb3/i;->a(F)F

    move-result v7

    cmpl-float v8, v7, v4

    if-lez v8, :cond_27

    move v4, v7

    :cond_27
    iget-object v6, v6, Ls2/e;->a:Ljava/lang/String;

    if-nez v6, :cond_2c

    goto :goto_36

    :cond_2c
    invoke-static {p1, v6}, Lb3/i;->c(Landroid/graphics/Paint;Ljava/lang/String;)I

    move-result v6

    int-to-float v6, v6

    cmpl-float v7, v6, v3

    if-lez v7, :cond_36

    move v3, v6

    :cond_36
    :goto_36
    add-int/lit8 v5, v5, 0x1

    goto :goto_d

    :cond_39
    add-float/2addr v3, v4

    add-float/2addr v3, v0

    return v3
.end method

.method public b(F)V
    .registers 2

    iput p1, p0, Lcom/github/mikephil/charting/components/Legend;->u:F

    return-void
.end method

.method public b(Z)V
    .registers 2

    iput-boolean p1, p0, Lcom/github/mikephil/charting/components/Legend;->m:Z

    return-void
.end method

.method public c(F)V
    .registers 2

    iput p1, p0, Lcom/github/mikephil/charting/components/Legend;->s:F

    return-void
.end method

.method public g()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->B:Ljava/util/List;

    return-object v0
.end method

.method public h()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lb3/b;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->A:Ljava/util/List;

    return-object v0
.end method

.method public i()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lb3/b;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->C:Ljava/util/List;

    return-object v0
.end method

.method public j()Lcom/github/mikephil/charting/components/Legend$LegendDirection;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->n:Lcom/github/mikephil/charting/components/Legend$LegendDirection;

    return-object v0
.end method

.method public k()[Ls2/e;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->g:[Ls2/e;

    return-object v0
.end method

.method public l()[Ls2/e;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->h:[Ls2/e;

    return-object v0
.end method

.method public m()Lcom/github/mikephil/charting/components/Legend$LegendForm;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->o:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    return-object v0
.end method

.method public n()Landroid/graphics/DashPathEffect;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->r:Landroid/graphics/DashPathEffect;

    return-object v0
.end method

.method public o()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->q:F

    return v0
.end method

.method public p()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->p:F

    return v0
.end method

.method public q()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->u:F

    return v0
.end method

.method public r()Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->j:Lcom/github/mikephil/charting/components/Legend$LegendHorizontalAlignment;

    return-object v0
.end method

.method public s()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->w:F

    return v0
.end method

.method public t()Lcom/github/mikephil/charting/components/Legend$LegendOrientation;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->l:Lcom/github/mikephil/charting/components/Legend$LegendOrientation;

    return-object v0
.end method

.method public u()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->v:F

    return v0
.end method

.method public v()Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/components/Legend;->k:Lcom/github/mikephil/charting/components/Legend$LegendVerticalAlignment;

    return-object v0
.end method

.method public w()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->s:F

    return v0
.end method

.method public x()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/components/Legend;->t:F

    return v0
.end method

.method public y()Z
    .registers 2

    iget-boolean v0, p0, Lcom/github/mikephil/charting/components/Legend;->m:Z

    return v0
.end method

.method public z()Z
    .registers 2

    iget-boolean v0, p0, Lcom/github/mikephil/charting/components/Legend;->i:Z

    return v0
.end method