483 lines
11 KiB
Smali
483 lines
11 KiB
Smali
.class public Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimationState.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/badlogic/gdx/utils/Pool$Poolable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/esotericsoftware/spine/AnimationState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "TrackEntry"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
.field a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
.field b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.field c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.field d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
.field e:I
|
|
|
|
.field f:Z
|
|
|
|
.field g:F
|
|
|
|
.field h:F
|
|
|
|
.field i:F
|
|
|
|
.field j:F
|
|
|
|
.field k:F
|
|
|
|
.field l:F
|
|
|
|
.field m:F
|
|
|
|
.field n:F
|
|
|
|
.field o:F
|
|
|
|
.field p:F
|
|
|
|
.field q:F
|
|
|
|
.field r:F
|
|
|
|
.field s:F
|
|
|
|
.field t:F
|
|
|
|
.field u:F
|
|
|
|
.field v:F
|
|
|
|
.field w:F
|
|
|
|
.field x:F
|
|
|
|
.field final y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
.field final z:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 724
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 734
|
|
new-instance v0, Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/IntArray;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
.line 735
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->z:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 736
|
|
new-instance v0, Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/FloatArray;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(I)Z
|
|
.locals 5
|
|
|
|
.line 787
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v0, v0, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 788
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v1, v1, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_1
|
|
|
|
.line 789
|
|
aget-object v4, v0, v3
|
|
|
|
check-cast v4, Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
invoke-interface {v4}, Lcom/esotericsoftware/spine/Animation$Timeline;->a()I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, p1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v2
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/badlogic/gdx/utils/Array;Lcom/badlogic/gdx/utils/IntSet;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 17
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
">;",
|
|
"Lcom/badlogic/gdx/utils/IntSet;",
|
|
")",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;"
|
|
}
|
|
.end annotation
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
move-object/from16 v3, p3
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 750
|
|
invoke-virtual {v2, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 751
|
|
:cond_0
|
|
iget-object v4, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iget-object v4, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
invoke-virtual {v4, v0, v2, v3}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/badlogic/gdx/utils/Array;Lcom/badlogic/gdx/utils/IntSet;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move-object v4, v0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 752
|
|
invoke-virtual/range {p2 .. p2}, Lcom/badlogic/gdx/utils/Array;->a()Ljava/lang/Object;
|
|
|
|
.line 754
|
|
:cond_2
|
|
iget-object v5, v2, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 755
|
|
iget v2, v2, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v6, 0x1
|
|
|
|
sub-int/2addr v2, v6
|
|
|
|
.line 756
|
|
iget-object v7, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v7, v7, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v7, v7, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 757
|
|
iget-object v8, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v8, v8, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v8, v8, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
.line 758
|
|
iget-object v9, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
invoke-virtual {v9, v8}, Lcom/badlogic/gdx/utils/IntArray;->e(I)[I
|
|
|
|
move-result-object v9
|
|
|
|
.line 759
|
|
iget-object v10, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->z:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v10}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 760
|
|
iget-object v10, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->z:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v10, v8}, Lcom/badlogic/gdx/utils/Array;->d(I)[Ljava/lang/Object;
|
|
|
|
move-result-object v10
|
|
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
:goto_1
|
|
if-ge v12, v8, :cond_8
|
|
|
|
.line 763
|
|
aget-object v13, v7, v12
|
|
|
|
check-cast v13, Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
invoke-interface {v13}, Lcom/esotericsoftware/spine/Animation$Timeline;->a()I
|
|
|
|
move-result v13
|
|
|
|
.line 764
|
|
invoke-virtual {v3, v13}, Lcom/badlogic/gdx/utils/IntSet;->a(I)Z
|
|
|
|
move-result v14
|
|
|
|
if-nez v14, :cond_3
|
|
|
|
.line 765
|
|
aput v11, v9, v12
|
|
|
|
goto :goto_4
|
|
|
|
:cond_3
|
|
if-eqz v1, :cond_7
|
|
|
|
.line 766
|
|
invoke-direct {v1, v13}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a(I)Z
|
|
|
|
move-result v14
|
|
|
|
if-nez v14, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
move v14, v2
|
|
|
|
:goto_2
|
|
if-ltz v14, :cond_6
|
|
|
|
.line 770
|
|
aget-object v15, v5, v14
|
|
|
|
check-cast v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 771
|
|
invoke-direct {v15, v13}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a(I)Z
|
|
|
|
move-result v16
|
|
|
|
if-nez v16, :cond_5
|
|
|
|
.line 772
|
|
iget v13, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
const/4 v14, 0x0
|
|
|
|
cmpl-float v13, v13, v14
|
|
|
|
if-lez v13, :cond_6
|
|
|
|
const/4 v13, 0x3
|
|
|
|
.line 773
|
|
aput v13, v9, v12
|
|
|
|
.line 774
|
|
aput-object v15, v10, v12
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
add-int/lit8 v14, v14, -0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_6
|
|
const/4 v13, 0x2
|
|
|
|
.line 780
|
|
aput v13, v9, v12
|
|
|
|
goto :goto_4
|
|
|
|
.line 767
|
|
:cond_7
|
|
:goto_3
|
|
aput v6, v9, v12
|
|
|
|
:goto_4
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
return-object v4
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 739
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 740
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 741
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
.line 742
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
.line 743
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/IntArray;->b()V
|
|
|
|
.line 744
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->z:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 745
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/FloatArray;->b()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()Lcom/esotericsoftware/spine/Animation;
|
|
.locals 1
|
|
|
|
.line 802
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c()F
|
|
.locals 2
|
|
|
|
.line 895
|
|
iget-boolean v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->f:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 896
|
|
iget v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->k:F
|
|
|
|
iget v1, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
sub-float/2addr v0, v1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
cmpl-float v1, v0, v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 897
|
|
iget v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
return v0
|
|
|
|
.line 898
|
|
:cond_0
|
|
iget v1, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
rem-float/2addr v1, v0
|
|
|
|
iget v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
add-float/2addr v1, v0
|
|
|
|
return v1
|
|
|
|
.line 900
|
|
:cond_1
|
|
iget v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
iget v1, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
add-float/2addr v0, v1
|
|
|
|
iget v1, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->k:F
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1033
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "<none>"
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->a:Ljava/lang/String;
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|