Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java158 private int mGoalWidth; field in LunarView.LunarThread
273 mGoalWidth = (int) (mLanderWidth * TARGET_WIDTH); in doStart()
281 mGoalWidth = mGoalWidth * 4 / 3; in doStart()
287 mGoalWidth = mGoalWidth * 3 / 4; in doStart()
303 mGoalX = (int) (Math.random() * (mCanvasWidth - mGoalWidth)); in doStart()
347 mGoalWidth = savedState.getInt(KEY_GOAL_WIDTH); in restoreState()
401 map.putInt(KEY_GOAL_WIDTH, Integer.valueOf(mGoalWidth)); in saveState()
658 mGoalX + mGoalWidth, 1 + mCanvasHeight - TARGET_PAD_HEIGHT, in doDraw()
761 + mLanderWidth / 2 <= mGoalX + mGoalWidth); in updatePhysics()