Home
last modified time | relevance | path

Searched refs:STATE_RUNNING (Results 1 – 3 of 3) sorted by relevance

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java73 public static final int STATE_RUNNING = 4; field in LunarView.LunarThread
309 setState(STATE_RUNNING); in doStart()
318 if (mMode == STATE_RUNNING) setState(STATE_PAUSE); in pause()
360 if (mMode == STATE_RUNNING) updatePhysics(); in run()
477 if (mMode == STATE_RUNNING) { in setState()
537 setState(STATE_RUNNING); in unpause()
563 } else if (mMode == STATE_RUNNING) { in doKeyDown()
601 if (mMode == STATE_RUNNING) { in doKeyUp()
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoy.java105 mJetBoyThread.setGameState(JetBoyThread.STATE_RUNNING); in onClick()
DJetBoyView.java134 public static final int STATE_RUNNING = 3; field in JetBoyView.JetBoyThread
480 if (mState == STATE_RUNNING) { in doDraw()
625 if (mState == STATE_RUNNING) { in run()
1102 } else if (mState == STATE_RUNNING) { in setGameState()
1158 if (mState == STATE_RUNNING) in pause()