132 lines
2.3 KiB
Smali
132 lines
2.3 KiB
Smali
.class public abstract Lcom/badlogic/gdx/utils/Timer$Task;
|
|
.super Ljava/lang/Object;
|
|
.source "Timer.java"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/utils/Timer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Task"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field b:J
|
|
|
|
.field c:J
|
|
|
|
.field d:I
|
|
|
|
.field e:Lcom/badlogic/gdx/Application;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 193
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 190
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->d:I
|
|
|
|
.line 194
|
|
sget-object v0, Lcom/badlogic/gdx/Gdx;->a:Lcom/badlogic/gdx/Application;
|
|
|
|
iput-object v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->e:Lcom/badlogic/gdx/Application;
|
|
|
|
.line 195
|
|
iget-object v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->e:Lcom/badlogic/gdx/Application;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "Gdx.app not available."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public declared-synchronized a()V
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 204
|
|
:try_start_0
|
|
iput-wide v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->b:J
|
|
|
|
const/4 v0, -0x1
|
|
|
|
.line 205
|
|
iput v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->d:I
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 206
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 203
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public declared-synchronized b()Z
|
|
.locals 2
|
|
|
|
monitor-enter p0
|
|
|
|
.line 219
|
|
:try_start_0
|
|
iget v0, p0, Lcom/badlogic/gdx/utils/Timer$Task;->d:I
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
return v0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|