Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPathTools.kt27 val angleStep = PI2f / sides in <lambda>() constant
29 lineTo(radius * cos(angleStep * i), radius * sin(angleStep * i)) in <lambda>()
36 val angleStep = PI2f / sides in createPolygonPoints() constant
38 Vec2(radius * cos(angleStep * i), radius * sin(angleStep * i)) in createPolygonPoints()
44 val angleStep = PI2f / points in createStar() constant
46 lineTo(radius2 * cos(angleStep * (0.5f)), radius2 * sin(angleStep * (0.5f))) in createStar()
48 lineTo(radius1 * cos(angleStep * i), radius1 * sin(angleStep * i)) in createStar()
49 lineTo(radius2 * cos(angleStep * (i + 0.5f)), radius2 * sin(angleStep * (i + 0.5f))) in createStar()