Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java179 private int mLanderWidth; field in LunarView.LunarThread
238 mLanderWidth = mLanderImage.getIntrinsicWidth(); in LunarThread()
256 mX = mLanderWidth; in LunarThread()
273 mGoalWidth = (int) (mLanderWidth * TARGET_WIDTH); in doStart()
304 if (Math.abs(mGoalX - (mX - mLanderWidth / 2)) > mCanvasHeight / 6) in doStart()
342 mLanderWidth = savedState.getInt(KEY_LANDER_WIDTH); in restoreState()
395 map.putInt(KEY_LANDER_WIDTH, Integer.valueOf(mLanderWidth)); in saveState()
629 int xLeft = (int) mX - mLanderWidth / 2; in doDraw()
667 mCrashedImage.setBounds(xLeft, yTop, xLeft + mLanderWidth, yTop in doDraw()
671 mFiringImage.setBounds(xLeft, yTop, xLeft + mLanderWidth, yTop in doDraw()
[all …]