Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPathTools.kt27 val angleStep = PI2f / sides in <lambda>()
36 val angleStep = PI2f / sides in createPolygonPoints()
44 val angleStep = PI2f / points in createStar()
DUniverse.kt152 pos = star.pos + Vec2.makeWithAngleMag(thisPlanetFrac * PI2f, orbitRadius), in initTest()
209 pos = star.pos + Vec2.makeWithAngleMag(rng.nextFloat() * PI2f, orbitRadius), in initRandom()
230 rng.nextFloat() * PI2f, in initRandom()
233 ship.angle = rng.nextFloat() * PI2f in initRandom()
DVisibleUniverse.kt154 rotateRad(radians = star.anim / 23f * PI2f, pivot = Vec2.Zero) { in drawStar()
170 rotateRad(radians = star.anim / -19f * PI2f, pivot = Vec2.Zero) { in drawStar()
340 rotateRad(autopilot.universe.now * PI2f / 10f, target.pos) { in ZoomedDrawScope()
DVec2.kt26 const val PI2f = (2 * PI).toFloat() constant
DDreamUniverse.kt76 Random.nextFloat() * PI2f, in onAttachedToWindow()