Searched refs:mCanvasHeight (Results 1 – 2 of 2) sorted by relevance
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 118 private int mCanvasHeight = 1; field in LunarView.LunarThread 294 mY = mCanvasHeight - mLanderHeight / 2; in doStart() 304 if (Math.abs(mGoalX - (mX - mLanderWidth / 2)) > mCanvasHeight / 6) in doStart() 521 mCanvasHeight = height; in setSurfaceSize() 628 int yTop = mCanvasHeight - ((int) mY + mLanderHeight / 2); in doDraw() 657 canvas.drawLine(mGoalX, 1 + mCanvasHeight - TARGET_PAD_HEIGHT, in doDraw() 658 mGoalX + mGoalWidth, 1 + mCanvasHeight - TARGET_PAD_HEIGHT, in doDraw() 664 canvas.rotate((float) mHeading, (float) mX, mCanvasHeight in doDraw()
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoyView.java | 240 private int mCanvasHeight = 1; field in JetBoyView.JetBoyThread 1093 mCanvasWidth * 2, mCanvasHeight, true); in setGameState() 1100 mCanvasWidth * 2, mCanvasHeight, true); in setGameState() 1140 mCanvasHeight = height; in setSurfaceSize()
|