Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DAutopilot.kt108 val relativeSpeed = relativeV.mag() * projection.sign in <lambda>() constant
109 val timeToTarget = if (relativeSpeed != 0f) altitude / relativeSpeed else 1_000f in <lambda>()
112 BRAKING_TIME * if (relativeSpeed > 0) relativeSpeed else MAIN_ENGINE_ACCEL in <lambda>()
133 if (relativeSpeed < 0 || altitude > brakingDistance) { in <lambda>()
148 val decel = relativeSpeed / timeToTarget in <lambda>()
154 debug = ("DV=%.0f D=%.0f T%+.1f").format(relativeSpeed, altitude, timeToTarget) in <lambda>()