Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java155 private int mGoalSpeed; field in LunarView.LunarThread
274 mGoalSpeed = TARGET_SPEED; in doStart()
282 mGoalSpeed = mGoalSpeed * 3 / 2; in doStart()
288 mGoalSpeed = mGoalSpeed * 7 / 8; in doStart()
345 mGoalSpeed = savedState.getInt(KEY_GOAL_SPEED); in restoreState()
399 map.putInt(KEY_GOAL_SPEED, Integer.valueOf(mGoalSpeed)); in saveState()
640 if (speed <= mGoalSpeed) { in doDraw()
650 int goalWidth = (UI_BAR * mGoalSpeed / PHYS_SPEED_MAX); in doDraw()
778 } else if (speed > mGoalSpeed) { in updatePhysics()