Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 2 of 2) 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()
/development/tools/winscope/src/common/
Dtime_utils_test.ts29 const elapsed = new ElapsedTimestamp(10n); constant
32 TimeUtils.compareFn(real, elapsed);