Searched refs:sRandom (Results 1 – 3 of 3) sorted by relevance
27 private static final Random sRandom = new Random(); field in MathUtils160 return (int) (sRandom.nextFloat() * howbig); in random()165 return (int) (sRandom.nextFloat() * (howbig - howsmall) + howsmall); in random()169 return sRandom.nextFloat() * howbig; in random()174 return sRandom.nextFloat() * (howbig - howsmall) + howsmall; in random()178 sRandom.setSeed(seed); in randomSeed()
63 private static final Random sRandom = new Random(); field in DnsPinger160 newActivePing.packetId = (short) sRandom.nextInt(); in handleMessage()
844 private static Random sRandom; field in BluetoothAdapter.RfcommChannelPicker861 sRandom = new Random(); in RfcommChannelPicker()872 return mChannels.remove(sRandom.nextInt(mChannels.size())); in nextChannel()