Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DAutopilot.kt22 class Autopilot(val ship: Spacecraft, val universe: Universe) : Entity { in <lambda>() constant in com.android.egg.landroid.Autopilot
63 if (ship.landing != null) { in <lambda>()
73 ship.thrust = Vec2.makeWithAngleMag(ship.angle, 1f) in <lambda>()
89 .sortedBy { (it.pos - ship.pos).mag() } in <lambda>()
98 val shipV = ship.velocity in <lambda>()
100 val targetVector = (target.pos - ship.pos) in <lambda>()
124 leadingVector = leadingPos - ship.pos in <lambda>()
130 ship.angle = (ship.pos - target.pos).angle() // point away from ground in <lambda>()
131 ship.thrust = Vec2.Zero in <lambda>()
136 ship.angle = leadingVector.angle() in <lambda>()
[all …]
DUniverse.kt124 lateinit var ship: Spacecraft variable
170 ship = Spacecraft() in initTest()
173 ship.pos = planets.last().pos + Vec2(planets.first().radius * 1.5f, 0f) in initTest()
175 ship.angle = 0f in initTest()
176 add(ship) in initTest()
178 ringfence.add(ship) in initTest()
181 follow = ship in initTest()
225 ship = Spacecraft() in initRandom()
227 ship.pos = in initRandom()
233 ship.angle = rng.nextFloat() * PI2f in initRandom()
[all …]
DDreamUniverse.kt73 universe.ship.pos = in onAttachedToWindow()
85 val autopilot = Autopilot(universe.ship, universe) in onAttachedToWindow()
86 universe.ship.autopilot = autopilot in onAttachedToWindow()
DVisibleUniverse.kt89 ship.autopilot?.let { drawAutopilot(it) } in ZoomedDrawScope()
90 drawSpacecraft(ship) in ZoomedDrawScope()
232 fun ZoomedDrawScope.drawSpacecraft(ship: Spacecraft) { in ZoomedDrawScope()
233 with(ship) { in ZoomedDrawScope()
237 ship.landing?.let { in ZoomedDrawScope()
362 start = autopilot.ship.pos, in ZoomedDrawScope()
DMainActivity.kt197 universe.ship.autopilot?.let { autopilot -> in Telemetry()
224 with(universe.ship) { in Telemetry()
331 (universe.follow as? Spacecraft)?.let { ship -> in onCreate() method
333 ship.thrust = Vec2.Zero in onCreate()
336 ship.angle = a in onCreate()
341 ship.thrust = Vec2.Zero in onCreate()
343 ship.thrust = in onCreate()
499 val distToNearestSurf = max(0f, (u.ship.pos - closest.pos).mag() - closest.radius * 1.2f) in Spaaaace()
549 val range = (u.ship.pos - it.pos).mag() in Spaaaace()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6290 // OS: Q (will also ship in PQ1A)
6296 // OS: Q (will also ship in PQ1A)
6302 // OS: Q (will also ship in PQ1A)
6308 // OS: Q (will also ship in PQ1A)
6314 // OS: Q (will also ship in PQ1A)
6320 // OS: Q (will also ship in PQ1A)
6326 // OS: Q (will also ship in PQ1A)
6332 // OS: Q (will also ship in PQ1A)
6338 // OS: Q (will also ship in PQ1A)
6344 // OS: Q (will also ship in PQ1A)
[all …]
/frameworks/av/media/audio/aconfig/
DREADME.md114 flag for implementation, which can integrate/soak/ship/clean-up faster.