Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java170 private double mHeading; field in LunarView.LunarThread
261 mHeading = 0; in LunarThread()
299 mHeading = 0; in doStart()
340 mHeading = savedState.getDouble(KEY_HEADING); in restoreState()
394 map.putDouble(KEY_HEADING, Double.valueOf(mHeading)); in saveState()
664 canvas.rotate((float) mHeading, (float) mX, mCanvasHeight in doDraw()
699 mHeading += mRotating * (PHYS_SLEW_SEC * elapsed); in updatePhysics()
702 if (mHeading < 0) in updatePhysics()
703 mHeading += 360; in updatePhysics()
704 else if (mHeading >= 360) mHeading -= 360; in updatePhysics()
[all …]