b.smali
.class public final Le/s/a/b;
.super Ljava/lang/Object;
.source ""
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Le/s/a/b$c;,
Le/s/a/b$b;,
Le/s/a/b$d;
}
.end annotation
# static fields
.field static final f:Le/s/a/b$c;
# instance fields
.field private final a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Le/s/a/b$d;",
">;"
}
.end annotation
.end field
.field private final b:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Le/s/a/c;",
">;"
}
.end annotation
.end field
.field private final c:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Le/s/a/c;",
"Le/s/a/b$d;",
">;"
}
.end annotation
.end field
.field private final d:Landroid/util/SparseBooleanArray;
.field private final e:Le/s/a/b$d;
# direct methods
.method static constructor <clinit>()V
.registers 1
new-instance v0, Le/s/a/b$a;
invoke-direct {v0}, Le/s/a/b$a;-><init>()V
sput-object v0, Le/s/a/b;->f:Le/s/a/b$c;
return-void
.end method
.method constructor <init>(Ljava/util/List;Ljava/util/List;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Le/s/a/b$d;",
">;",
"Ljava/util/List<",
"Le/s/a/c;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Le/s/a/b;->a:Ljava/util/List;
iput-object p2, p0, Le/s/a/b;->b:Ljava/util/List;
new-instance p1, Landroid/util/SparseBooleanArray;
invoke-direct {p1}, Landroid/util/SparseBooleanArray;-><init>()V
iput-object p1, p0, Le/s/a/b;->d:Landroid/util/SparseBooleanArray;
new-instance p1, Le/e/a;
invoke-direct {p1}, Le/e/a;-><init>()V
iput-object p1, p0, Le/s/a/b;->c:Ljava/util/Map;
invoke-direct {p0}, Le/s/a/b;->a()Le/s/a/b$d;
move-result-object p1
iput-object p1, p0, Le/s/a/b;->e:Le/s/a/b$d;
return-void
.end method
.method private a()Le/s/a/b$d;
.registers 7
iget-object v0, p0, Le/s/a/b;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/high16 v1, -0x80000000
const/4 v2, 0x0
const/4 v3, 0x0
:goto_a
if-ge v3, v0, :cond_22
iget-object v4, p0, Le/s/a/b;->a:Ljava/util/List;
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Le/s/a/b$d;
invoke-virtual {v4}, Le/s/a/b$d;->d()I
move-result v5
if-le v5, v1, :cond_1f
invoke-virtual {v4}, Le/s/a/b$d;->d()I
move-result v1
move-object v2, v4
:cond_1f
add-int/lit8 v3, v3, 0x1
goto :goto_a
:cond_22
return-object v2
.end method
.method private c(Le/s/a/b$d;Le/s/a/c;)F
.registers 10
invoke-virtual {p1}, Le/s/a/b$d;->c()[F
move-result-object v0
iget-object v1, p0, Le/s/a/b;->e:Le/s/a/b$d;
const/4 v2, 0x1
if-eqz v1, :cond_e
invoke-virtual {v1}, Le/s/a/b$d;->d()I
move-result v1
goto :goto_f
:cond_e
const/4 v1, 0x1
:goto_f
invoke-virtual {p2}, Le/s/a/c;->g()F
move-result v3
const/high16 v4, 0x3f800000 # 1.0f
const/4 v5, 0x0
cmpl-float v3, v3, v5
if-lez v3, :cond_2e
invoke-virtual {p2}, Le/s/a/c;->g()F
move-result v3
aget v2, v0, v2
invoke-virtual {p2}, Le/s/a/c;->i()F
move-result v6
sub-float/2addr v2, v6
invoke-static {v2}, Ljava/lang/Math;->abs(F)F
move-result v2
sub-float v2, v4, v2
mul-float v3, v3, v2
goto :goto_2f
:cond_2e
const/4 v3, 0x0
:goto_2f
invoke-virtual {p2}, Le/s/a/c;->a()F
move-result v2
cmpl-float v2, v2, v5
if-lez v2, :cond_4b
invoke-virtual {p2}, Le/s/a/c;->a()F
move-result v2
const/4 v6, 0x2
aget v0, v0, v6
invoke-virtual {p2}, Le/s/a/c;->h()F
move-result v6
sub-float/2addr v0, v6
invoke-static {v0}, Ljava/lang/Math;->abs(F)F
move-result v0
sub-float/2addr v4, v0
mul-float v2, v2, v4
goto :goto_4c
:cond_4b
const/4 v2, 0x0
:goto_4c
invoke-virtual {p2}, Le/s/a/c;->f()F
move-result v0
cmpl-float v0, v0, v5
if-lez v0, :cond_61
invoke-virtual {p2}, Le/s/a/c;->f()F
move-result p2
invoke-virtual {p1}, Le/s/a/b$d;->d()I
move-result p1
int-to-float p1, p1
int-to-float v0, v1
div-float/2addr p1, v0
mul-float v5, p2, p1
:cond_61
add-float/2addr v3, v2
add-float/2addr v3, v5
return v3
.end method
.method private d(Le/s/a/c;)Le/s/a/b$d;
.registers 5
invoke-direct {p0, p1}, Le/s/a/b;->e(Le/s/a/c;)Le/s/a/b$d;
move-result-object v0
if-eqz v0, :cond_16
invoke-virtual {p1}, Le/s/a/c;->j()Z
move-result p1
if-eqz p1, :cond_16
iget-object p1, p0, Le/s/a/b;->d:Landroid/util/SparseBooleanArray;
invoke-virtual {v0}, Le/s/a/b$d;->e()I
move-result v1
const/4 v2, 0x1
invoke-virtual {p1, v1, v2}, Landroid/util/SparseBooleanArray;->append(IZ)V
:cond_16
return-object v0
.end method
.method private e(Le/s/a/c;)Le/s/a/b$d;
.registers 9
iget-object v0, p0, Le/s/a/b;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x0
:goto_9
if-ge v3, v0, :cond_28
iget-object v4, p0, Le/s/a/b;->a:Ljava/util/List;
invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, Le/s/a/b$d;
invoke-direct {p0, v4, p1}, Le/s/a/b;->g(Le/s/a/b$d;Le/s/a/c;)Z
move-result v5
if-eqz v5, :cond_25
invoke-direct {p0, v4, p1}, Le/s/a/b;->c(Le/s/a/b$d;Le/s/a/c;)F
move-result v5
if-eqz v2, :cond_23
cmpl-float v6, v5, v1
if-lez v6, :cond_25
:cond_23
move-object v2, v4
move v1, v5
:cond_25
add-int/lit8 v3, v3, 0x1
goto :goto_9
:cond_28
return-object v2
.end method
.method private g(Le/s/a/b$d;Le/s/a/c;)Z
.registers 8
invoke-virtual {p1}, Le/s/a/b$d;->c()[F
move-result-object v0
const/4 v1, 0x1
aget v2, v0, v1
invoke-virtual {p2}, Le/s/a/c;->e()F
move-result v3
cmpl-float v2, v2, v3
if-ltz v2, :cond_3b
aget v2, v0, v1
invoke-virtual {p2}, Le/s/a/c;->c()F
move-result v3
cmpg-float v2, v2, v3
if-gtz v2, :cond_3b
const/4 v2, 0x2
aget v3, v0, v2
invoke-virtual {p2}, Le/s/a/c;->d()F
move-result v4
cmpl-float v3, v3, v4
if-ltz v3, :cond_3b
aget v0, v0, v2
invoke-virtual {p2}, Le/s/a/c;->b()F
move-result p2
cmpg-float p2, v0, p2
if-gtz p2, :cond_3b
iget-object p2, p0, Le/s/a/b;->d:Landroid/util/SparseBooleanArray;
invoke-virtual {p1}, Le/s/a/b$d;->e()I
move-result p1
invoke-virtual {p2, p1}, Landroid/util/SparseBooleanArray;->get(I)Z
move-result p1
if-nez p1, :cond_3b
goto :goto_3c
:cond_3b
const/4 v1, 0x0
:goto_3c
return v1
.end method
# virtual methods
.method b()V
.registers 6
iget-object v0, p0, Le/s/a/b;->b:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
:goto_7
if-ge v1, v0, :cond_20
iget-object v2, p0, Le/s/a/b;->b:Ljava/util/List;
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Le/s/a/c;
invoke-virtual {v2}, Le/s/a/c;->k()V
iget-object v3, p0, Le/s/a/b;->c:Ljava/util/Map;
invoke-direct {p0, v2}, Le/s/a/b;->d(Le/s/a/c;)Le/s/a/b$d;
move-result-object v4
invoke-interface {v3, v2, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v1, v1, 0x1
goto :goto_7
:cond_20
iget-object v0, p0, Le/s/a/b;->d:Landroid/util/SparseBooleanArray;
invoke-virtual {v0}, Landroid/util/SparseBooleanArray;->clear()V
return-void
.end method
.method public f()Ljava/util/List;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Le/s/a/b$d;",
">;"
}
.end annotation
iget-object v0, p0, Le/s/a/b;->a:Ljava/util/List;
invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object v0
return-object v0
.end method