Home
last modified time | relevance | path

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

/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java149 private double mFuel; field in LunarView.LunarThread
258 mFuel = PHYS_FUEL_INIT; in LunarThread()
271 mFuel = PHYS_FUEL_INIT; in doStart()
280 mFuel = mFuel * 3 / 2; in doStart()
286 mFuel = mFuel * 7 / 8; in doStart()
349 mFuel = savedState.getDouble(KEY_FUEL); in restoreState()
403 map.putDouble(KEY_FUEL, Double.valueOf(mFuel)); in saveState()
632 int fuelWidth = (int) (UI_BAR * mFuel / PHYS_FUEL_MAX); in doDraw()
719 if (fuelUsed > mFuel) { in updatePhysics()
720 elapsedFiring = mFuel / fuelUsed * elapsed; in updatePhysics()
[all …]