489 lines
15 KiB
Smali
489 lines
15 KiB
Smali
.class Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimationState.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/esotericsoftware/spine/AnimationState;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = "EventQueue"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:Z
|
|
|
|
.field final synthetic b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
.field private final c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/esotericsoftware/spine/AnimationState;)V
|
|
.locals 0
|
|
|
|
.line 1037
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 1038
|
|
new-instance p1, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {p1}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 8
|
|
|
|
.line 1075
|
|
iget-boolean v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
.line 1076
|
|
iput-boolean v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
.line 1078
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 1079
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
iget-object v1, v1, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 1080
|
|
:goto_0
|
|
iget v4, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v3, v4, :cond_b
|
|
|
|
.line 1081
|
|
invoke-virtual {v0, v3}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
add-int/lit8 v5, v3, 0x1
|
|
|
|
.line 1082
|
|
invoke-virtual {v0, v5}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 1083
|
|
sget-object v7, Lcom/esotericsoftware/spine/AnimationState$2;->a:[I
|
|
|
|
invoke-virtual {v4}, Lcom/esotericsoftware/spine/AnimationState$EventType;->ordinal()I
|
|
|
|
move-result v4
|
|
|
|
aget v4, v7, v4
|
|
|
|
packed-switch v4, :pswitch_data_0
|
|
|
|
goto/16 :goto_7
|
|
|
|
:pswitch_0
|
|
add-int/lit8 v3, v3, 0x2
|
|
|
|
.line 1111
|
|
invoke-virtual {v0, v3}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lcom/esotericsoftware/spine/Event;
|
|
|
|
.line 1112
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_1
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6, v3}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Event;)V
|
|
|
|
:cond_1
|
|
const/4 v4, 0x0
|
|
|
|
.line 1113
|
|
:goto_1
|
|
iget v7, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v7, :cond_2
|
|
|
|
.line 1114
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v7, v6, v3}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Event;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move v3, v5
|
|
|
|
goto/16 :goto_7
|
|
|
|
.line 1106
|
|
:pswitch_1
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->e(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_3
|
|
const/4 v4, 0x0
|
|
|
|
.line 1107
|
|
:goto_2
|
|
iget v5, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v5, :cond_a
|
|
|
|
.line 1108
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v5, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->e(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
.line 1095
|
|
:pswitch_2
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_4
|
|
const/4 v4, 0x0
|
|
|
|
.line 1096
|
|
:goto_3
|
|
iget v5, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v5, :cond_5
|
|
|
|
.line 1097
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v5, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 1100
|
|
:cond_5
|
|
:pswitch_3
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_6
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->d(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_6
|
|
const/4 v4, 0x0
|
|
|
|
.line 1101
|
|
:goto_4
|
|
iget v5, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v5, :cond_7
|
|
|
|
.line 1102
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v5, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->d(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
.line 1103
|
|
:cond_7
|
|
iget-object v4, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
iget-object v4, v4, Lcom/esotericsoftware/spine/AnimationState;->d:Lcom/badlogic/gdx/utils/Pool;
|
|
|
|
invoke-virtual {v4, v6}, Lcom/badlogic/gdx/utils/Pool;->a(Ljava/lang/Object;)V
|
|
|
|
goto :goto_7
|
|
|
|
.line 1090
|
|
:pswitch_4
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_8
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_8
|
|
const/4 v4, 0x0
|
|
|
|
.line 1091
|
|
:goto_5
|
|
iget v5, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v5, :cond_a
|
|
|
|
.line 1092
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v5, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
.line 1085
|
|
:pswitch_5
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
if-eqz v4, :cond_9
|
|
|
|
iget-object v4, v6, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->d:Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v4, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_9
|
|
const/4 v4, 0x0
|
|
|
|
.line 1086
|
|
:goto_6
|
|
iget v5, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge v4, v5, :cond_a
|
|
|
|
.line 1087
|
|
invoke-virtual {v1, v4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v5
|
|
|
|
check-cast v5, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;
|
|
|
|
invoke-interface {v5, v6}, Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_a
|
|
:goto_7
|
|
add-int/lit8 v3, v3, 0x2
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 1118
|
|
:cond_b
|
|
invoke-virtual {p0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b()V
|
|
|
|
.line 1120
|
|
iput-boolean v2, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_2
|
|
:pswitch_3
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 1042
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->start:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1043
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1044
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p1, Lcom/esotericsoftware/spine/AnimationState;->c:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Event;)V
|
|
.locals 2
|
|
|
|
.line 1069
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->event:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1070
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1071
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 1
|
|
|
|
.line 1124
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 1048
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->interrupt:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1049
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 1053
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->end:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1054
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1055
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b:Lcom/esotericsoftware/spine/AnimationState;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p1, Lcom/esotericsoftware/spine/AnimationState;->c:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 1059
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->dispose:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1060
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public e(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 1064
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v1, Lcom/esotericsoftware/spine/AnimationState$EventType;->complete:Lcom/esotericsoftware/spine/AnimationState$EventType;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
.line 1065
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|