Searched refs:nextFloatInRange (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | Randomness.kt | 48 var x = rng.nextFloatInRange(0f, total) in roll() 58 fun Random.nextFloatInRange(from: Float, until: Float): Float = method 62 fun Random.nextFloatInRange(fromUntil: ClosedFloatingPointRange<Float>): Float = method 63 nextFloatInRange(fromUntil.start, fromUntil.endInclusive) 66 fun Random.nextFloatInRange(fromUntil: Pair<Float, Float>): Float = method 67 nextFloatInRange(fromUntil.first, fromUntil.second)
|
D | Universe.kt | 189 radius = rng.nextFloatInRange(STAR_RADIUS_RANGE) in initRandom() 193 val radius = rng.nextFloatInRange(PLANET_RADIUS_RANGE) in initRandom() 231 rng.nextFloatInRange(PLANET_ORBIT_RANGE.start, PLANET_ORBIT_RANGE.endInclusive) in initRandom() 322 ttl = rng.nextFloatInRange(0.5f, 2f), in solveAll() 331 rng.nextFloatInRange(0f, 2 * PIf), in solveAll() 332 rng.nextFloatInRange(0.1f, 0.5f) in solveAll() 340 rng.nextFloatInRange(0f, 2 * PIf), in solveAll() 341 rng.nextFloatInRange(0.1f, 0.5f) in solveAll() 496 ttl = sim.rng.nextFloatInRange(0.5f, 1f), in postUpdate() 509 angle + sim.rng.nextFloatInRange(-0.2f, 0.2f), in postUpdate()
|
D | DreamUniverse.kt | 77 Random.nextFloatInRange( in onAttachedToWindow()
|