Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java140 private double mDY; field in LunarView.LunarThread
260 mDY = 0; in LunarThread()
297 mDY = Math.random() * -speedInit; in doStart()
339 mDY = savedState.getDouble(KEY_DY); in restoreState()
393 map.putDouble(KEY_DY, Double.valueOf(mDY)); in saveState()
637 double speed = Math.hypot(mDX, mDY); in doDraw()
738 double dyOld = mDY; in updatePhysics()
742 mDY += ddy; in updatePhysics()
746 mY += elapsed * (mDY + dyOld) / 2; in updatePhysics()
759 double speed = Math.hypot(mDX, mDY); in updatePhysics()