Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java137 private double mDX; field in LunarView.LunarThread
259 mDX = 0; in LunarThread()
298 mDX = Math.random() * 2 * speedInit - speedInit; in doStart()
338 mDX = savedState.getDouble(KEY_DX); in restoreState()
392 map.putDouble(KEY_DX, Double.valueOf(mDX)); in saveState()
637 double speed = Math.hypot(mDX, mDY); in doDraw()
737 double dxOld = mDX; in updatePhysics()
741 mDX += ddx; in updatePhysics()
745 mX += elapsed * (mDX + dxOld) / 2; in updatePhysics()
759 double speed = Math.hypot(mDX, mDY); in updatePhysics()