Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java695 double elapsed = (now - mLastTime) / 1000.0; in updatePhysics() local
699 mHeading += mRotating * (PHYS_SLEW_SEC * elapsed); in updatePhysics()
709 double ddy = -PHYS_DOWN_ACCEL_SEC * elapsed; in updatePhysics()
714 double elapsedFiring = elapsed; in updatePhysics()
720 elapsedFiring = mFuel / fuelUsed * elapsed; in updatePhysics()
745 mX += elapsed * (mDX + dxOld) / 2; in updatePhysics()
746 mY += elapsed * (mDY + dyOld) / 2; in updatePhysics()