c.smali
.class public Lt2/c;
.super Lt2/i;
.source "BarEntry.java"
# annotations
.annotation build Landroid/annotation/SuppressLint;
value = {
"ParcelCreator"
}
.end annotation
# instance fields
.field public e:[F
.field public f:[Lv2/f;
.field public g:F
.field public h:F
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(F[FLjava/lang/Object;)V
.registers 5
invoke-static {p2}, Lt2/c;->a([F)F
move-result v0
invoke-direct {p0, p1, v0, p3}, Lt2/i;-><init>(FFLjava/lang/Object;)V
iput-object p2, p0, Lt2/c;->e:[F
invoke-virtual {p0}, Lt2/c;->i()V
invoke-virtual {p0}, Lt2/c;->k()V
return-void
.end method
.method public static a([F)F
.registers 5
const/4 v0, 0x0
if-nez p0, :cond_4
return v0
:cond_4
array-length v1, p0
const/4 v2, 0x0
:goto_6
if-ge v2, v1, :cond_e
aget v3, p0, v2
add-float/2addr v0, v3
add-int/lit8 v2, v2, 0x1
goto :goto_6
:cond_e
return v0
.end method
# virtual methods
.method public d()F
.registers 2
invoke-super {p0}, Lt2/g;->d()F
move-result v0
return v0
.end method
.method public final i()V
.registers 9
iget-object v0, p0, Lt2/c;->e:[F
const/4 v1, 0x0
if-nez v0, :cond_a
iput v1, p0, Lt2/c;->g:F
iput v1, p0, Lt2/c;->h:F
return-void
:cond_a
array-length v2, v0
const/4 v3, 0x0
const/4 v4, 0x0
const/4 v5, 0x0
:goto_e
if-ge v3, v2, :cond_20
aget v6, v0, v3
cmpg-float v7, v6, v1
if-gtz v7, :cond_1c
invoke-static {v6}, Ljava/lang/Math;->abs(F)F
move-result v6
add-float/2addr v4, v6
goto :goto_1d
:cond_1c
add-float/2addr v5, v6
:goto_1d
add-int/lit8 v3, v3, 0x1
goto :goto_e
:cond_20
iput v4, p0, Lt2/c;->g:F
iput v5, p0, Lt2/c;->h:F
return-void
.end method
.method public k()V
.registers 9
invoke-virtual {p0}, Lt2/c;->v()[F
move-result-object v0
if-eqz v0, :cond_39
array-length v1, v0
if-nez v1, :cond_a
goto :goto_39
:cond_a
array-length v1, v0
new-array v1, v1, [Lv2/f;
iput-object v1, p0, Lt2/c;->f:[Lv2/f;
invoke-virtual {p0}, Lt2/c;->m()F
move-result v1
neg-float v1, v1
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
:goto_17
iget-object v5, p0, Lt2/c;->f:[Lv2/f;
array-length v6, v5
if-ge v2, v6, :cond_39
aget v6, v0, v2
cmpg-float v7, v6, v3
if-gez v7, :cond_2d
new-instance v7, Lv2/f;
sub-float v6, v1, v6
invoke-direct {v7, v1, v6}, Lv2/f;-><init>(FF)V
aput-object v7, v5, v2
move v1, v6
goto :goto_36
:cond_2d
new-instance v7, Lv2/f;
add-float/2addr v6, v4
invoke-direct {v7, v4, v6}, Lv2/f;-><init>(FF)V
aput-object v7, v5, v2
move v4, v6
:goto_36
add-int/lit8 v2, v2, 0x1
goto :goto_17
:cond_39
:goto_39
return-void
.end method
.method public m()F
.registers 2
iget v0, p0, Lt2/c;->g:F
return v0
.end method
.method public p()F
.registers 2
iget v0, p0, Lt2/c;->h:F
return v0
.end method
.method public u()[Lv2/f;
.registers 2
iget-object v0, p0, Lt2/c;->f:[Lv2/f;
return-object v0
.end method
.method public v()[F
.registers 2
iget-object v0, p0, Lt2/c;->e:[F
return-object v0
.end method
.method public x()Z
.registers 2
iget-object v0, p0, Lt2/c;->e:[F
if-eqz v0, :cond_6
const/4 v0, 0x1
goto :goto_7
:cond_6
const/4 v0, 0x0
:goto_7
return v0
.end method