a.smali
.class public Lv2/a;
.super Lv2/b;
.source "BarHighlighter.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lv2/b<",
"Lw2/a;",
">;"
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lw2/a;)V
.registers 2
invoke-direct {p0, p1}, Lv2/b;-><init>(Lw2/b;)V
return-void
.end method
# virtual methods
.method public a(FFFF)F
.registers 5
sub-float/2addr p1, p3
invoke-static {p1}, Ljava/lang/Math;->abs(F)F
move-result p1
return p1
.end method
.method public a([Lv2/f;F)I
.registers 8
const/4 v0, 0x0
if-eqz p1, :cond_2a
array-length v1, p1
if-nez v1, :cond_7
goto :goto_2a
:cond_7
array-length v1, p1
const/4 v2, 0x0
const/4 v3, 0x0
:goto_a
if-ge v2, v1, :cond_1a
aget-object v4, p1, v2
invoke-virtual {v4, p2}, Lv2/f;->a(F)Z
move-result v4
if-eqz v4, :cond_15
return v3
:cond_15
add-int/lit8 v3, v3, 0x1
add-int/lit8 v2, v2, 0x1
goto :goto_a
:cond_1a
array-length v1, p1
add-int/lit8 v1, v1, -0x1
invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I
move-result v1
aget-object p1, p1, v1
iget p1, p1, Lv2/f;->b:F
cmpl-float p1, p2, p1
if-lez p1, :cond_2a
move v0, v1
:cond_2a
:goto_2a
return v0
.end method
.method public a()Lt2/d;
.registers 2
iget-object v0, p0, Lv2/b;->a:Lw2/b;
check-cast v0, Lw2/a;
invoke-interface {v0}, Lw2/a;->getBarData()Lt2/a;
move-result-object v0
return-object v0
.end method
.method public a(FF)Lv2/c;
.registers 7
invoke-super {p0, p1, p2}, Lv2/b;->a(FF)Lv2/c;
move-result-object v0
if-nez v0, :cond_8
const/4 p1, 0x0
return-object p1
:cond_8
invoke-virtual {p0, p1, p2}, Lv2/b;->b(FF)Lb3/d;
move-result-object p1
iget-object p2, p0, Lv2/b;->a:Lw2/b;
check-cast p2, Lw2/a;
invoke-interface {p2}, Lw2/a;->getBarData()Lt2/a;
move-result-object p2
invoke-virtual {v0}, Lv2/c;->b()I
move-result v1
invoke-virtual {p2, v1}, Lt2/h;->a(I)Lx2/d;
move-result-object p2
check-cast p2, Lx2/a;
invoke-interface {p2}, Lx2/a;->w()Z
move-result v1
if-eqz v1, :cond_2f
iget-wide v1, p1, Lb3/d;->c:D
double-to-float v1, v1
iget-wide v2, p1, Lb3/d;->d:D
double-to-float p1, v2
invoke-virtual {p0, v0, p2, v1, p1}, Lv2/a;->a(Lv2/c;Lx2/a;FF)Lv2/c;
move-result-object p1
return-object p1
:cond_2f
invoke-static {p1}, Lb3/d;->a(Lb3/d;)V
return-object v0
.end method
.method public a(Lv2/c;Lx2/a;FF)Lv2/c;
.registers 16
invoke-interface {p2, p3, p4}, Lx2/d;->a(FF)Lt2/i;
move-result-object p3
check-cast p3, Lt2/c;
const/4 v0, 0x0
if-nez p3, :cond_a
return-object v0
:cond_a
invoke-virtual {p3}, Lt2/c;->v()[F
move-result-object v1
if-nez v1, :cond_11
return-object p1
:cond_11
invoke-virtual {p3}, Lt2/c;->u()[Lv2/f;
move-result-object v1
array-length v2, v1
if-lez v2, :cond_54
invoke-virtual {p0, v1, p4}, Lv2/a;->a([Lv2/f;F)I
move-result v9
iget-object p4, p0, Lv2/b;->a:Lw2/b;
check-cast p4, Lw2/a;
invoke-interface {p2}, Lx2/d;->B()Lcom/github/mikephil/charting/components/YAxis$AxisDependency;
move-result-object p2
invoke-interface {p4, p2}, Lw2/b;->a(Lcom/github/mikephil/charting/components/YAxis$AxisDependency;)Lb3/g;
move-result-object p2
invoke-virtual {p1}, Lv2/c;->f()F
move-result p4
aget-object v0, v1, v9
iget v0, v0, Lv2/f;->b:F
invoke-virtual {p2, p4, v0}, Lb3/g;->a(FF)Lb3/d;
move-result-object p2
new-instance p4, Lv2/c;
invoke-virtual {p3}, Lt2/i;->f()F
move-result v4
invoke-virtual {p3}, Lt2/c;->d()F
move-result v5
iget-wide v0, p2, Lb3/d;->c:D
double-to-float v6, v0
iget-wide v0, p2, Lb3/d;->d:D
double-to-float v7, v0
invoke-virtual {p1}, Lv2/c;->b()I
move-result v8
invoke-virtual {p1}, Lv2/c;->a()Lcom/github/mikephil/charting/components/YAxis$AxisDependency;
move-result-object v10
move-object v3, p4
invoke-direct/range {v3 .. v10}, Lv2/c;-><init>(FFFFIILcom/github/mikephil/charting/components/YAxis$AxisDependency;)V
invoke-static {p2}, Lb3/d;->a(Lb3/d;)V
return-object p4
:cond_54
return-object v0
.end method