BaseDataSet.smali

.class public abstract Lcom/github/mikephil/charting/data/BaseDataSet;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/github/mikephil/charting/interfaces/datasets/IDataSet;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Lcom/github/mikephil/charting/data/Entry;",
        ">",
        "Ljava/lang/Object;",
        "Lcom/github/mikephil/charting/interfaces/datasets/IDataSet<",
        "TT;>;"
    }
.end annotation


# instance fields
.field protected a:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field protected b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private c:Ljava/lang/String;

.field protected d:Lcom/github/mikephil/charting/components/YAxis$AxisDependency;

.field protected e:Z

.field protected transient f:Lcom/github/mikephil/charting/formatter/ValueFormatter;

.field protected g:Landroid/graphics/Typeface;

.field private h:Lcom/github/mikephil/charting/components/Legend$LegendForm;

.field private i:F

.field private j:F

.field private k:Landroid/graphics/DashPathEffect;

.field protected l:Z

.field protected m:Z

.field protected n:Lcom/github/mikephil/charting/utils/MPPointF;

.field protected o:F

.field protected p:Z


# direct methods
.method public constructor <init>()V
    .registers 5

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

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->b:Ljava/util/List;

    const-string v1, "DataSet"

    iput-object v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->c:Ljava/lang/String;

    sget-object v1, Lcom/github/mikephil/charting/components/YAxis$AxisDependency;->f:Lcom/github/mikephil/charting/components/YAxis$AxisDependency;

    iput-object v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->d:Lcom/github/mikephil/charting/components/YAxis$AxisDependency;

    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->e:Z

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

    iput-object v2, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->h:Lcom/github/mikephil/charting/components/Legend$LegendForm;

    const/high16 v2, 0x7fc00000    # Float.NaN

    iput v2, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->i:F

    iput v2, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->j:F

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->k:Landroid/graphics/DashPathEffect;

    iput-boolean v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->l:Z

    iput-boolean v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->m:Z

    new-instance v0, Lcom/github/mikephil/charting/utils/MPPointF;

    invoke-direct {v0}, Lcom/github/mikephil/charting/utils/MPPointF;-><init>()V

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->n:Lcom/github/mikephil/charting/utils/MPPointF;

    const/high16 v0, 0x41880000    # 17.0f

    iput v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->o:F

    iput-boolean v1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->p:Z

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->b:Ljava/util/List;

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

    const/16 v1, 0x8c

    const/16 v2, 0xea

    const/16 v3, 0xff

    invoke-static {v1, v2, v3}, Landroid/graphics/Color;->rgb(III)I

    move-result v1

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

    move-result-object v1

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

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->b:Ljava/util/List;

    const/high16 v1, -0x1000000

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

    move-result-object v1

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

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .registers 2

    invoke-direct {p0}, Lcom/github/mikephil/charting/data/BaseDataSet;-><init>()V

    iput-object p1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->c:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public B()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->i:F

    return v0
.end method

.method public C(I)I
    .registers 4

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

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

    move-result v1

    rem-int/2addr p1, v1

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

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

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

    move-result p1

    return p1
.end method

.method public G()Landroid/graphics/Typeface;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->g:Landroid/graphics/Typeface;

    return-object v0
.end method

.method public H()Z
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->f:Lcom/github/mikephil/charting/formatter/ValueFormatter;

    if-nez v0, :cond_6

    const/4 v0, 0x1

    goto :goto_7

    :cond_6
    const/4 v0, 0x0

    :goto_7
    return v0
.end method

.method public I(Lcom/github/mikephil/charting/formatter/ValueFormatter;)V
    .registers 2

    if-nez p1, :cond_3

    return-void

    :cond_3
    iput-object p1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->f:Lcom/github/mikephil/charting/formatter/ValueFormatter;

    return-void
.end method

.method public J(I)I
    .registers 4

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->b:Ljava/util/List;

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

    move-result v1

    rem-int/2addr p1, v1

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

    move-result-object p1

    check-cast p1, Ljava/lang/Integer;

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

    move-result p1

    return p1
.end method

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

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

    return-object v0
.end method

.method public V()Z
    .registers 2

    iget-boolean v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->l:Z

    return v0
.end method

.method public Z()Lcom/github/mikephil/charting/components/YAxis$AxisDependency;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->d:Lcom/github/mikephil/charting/components/YAxis$AxisDependency;

    return-object v0
.end method

.method public b0()Lcom/github/mikephil/charting/utils/MPPointF;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->n:Lcom/github/mikephil/charting/utils/MPPointF;

    return-object v0
.end method

.method public c0()Z
    .registers 2

    iget-boolean v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->e:Z

    return v0
.end method

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

    iput-object p1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->a:Ljava/util/List;

    return-void
.end method

.method public getLabel()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->c:Ljava/lang/String;

    return-object v0
.end method

.method public h0(Z)V
    .registers 2

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

    return-void
.end method

.method public i0(Z)V
    .registers 2

    iput-boolean p1, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->l:Z

    return-void
.end method

.method public isVisible()Z
    .registers 2

    iget-boolean v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->p:Z

    return v0
.end method

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

    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->k:Landroid/graphics/DashPathEffect;

    return-object v0
.end method

.method public o()Z
    .registers 2

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

    return v0
.end method

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

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

    return-object v0
.end method

.method public u()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->o:F

    return v0
.end method

.method public v()Lcom/github/mikephil/charting/formatter/ValueFormatter;
    .registers 2

    invoke-virtual {p0}, Lcom/github/mikephil/charting/data/BaseDataSet;->H()Z

    move-result v0

    if-eqz v0, :cond_b

    invoke-static {}, Lcom/github/mikephil/charting/utils/Utils;->j()Lcom/github/mikephil/charting/formatter/ValueFormatter;

    move-result-object v0

    return-object v0

    :cond_b
    iget-object v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->f:Lcom/github/mikephil/charting/formatter/ValueFormatter;

    return-object v0
.end method

.method public x()F
    .registers 2

    iget v0, p0, Lcom/github/mikephil/charting/data/BaseDataSet;->j:F

    return v0
.end method