Searched refs:mMode (Results 1 - 2 of 2) sorted by relevance

/development/samples/LunarLander/src/com/example/android/lunarlander/
H A DLunarView.java191 private int mMode; field in class:LunarView.LunarThread
316 if (mMode == STATE_RUNNING) setState(STATE_PAUSE);
358 if (mMode == STATE_RUNNING) updatePhysics();
463 mMode = mode;
465 if (mMode == STATE_RUNNING) {
477 if (mMode == STATE_READY)
479 else if (mMode == STATE_PAUSE)
481 else if (mMode == STATE_LOSE)
483 else if (mMode == STATE_WIN)
492 if (mMode
[all...]
/development/samples/Snake/src/com/example/android/snake/
H A DSnakeView.java43 private int mMode = READY; field in class:SnakeView
262 if (mMode == READY | mMode == LOSE) {
273 if (mMode == PAUSE) {
330 int oldMode = mMode;
331 mMode = newMode;
370 return mMode;
411 if (mMode == RUNNING) {

Completed in 49 milliseconds