HomeSort by relevance Sort by last modified time
    Searched refs:random (Results 151 - 175 of 452) sorted by null

1 2 3 4 5 67 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
WindowSurface.java 103 x = (float)((width-1)*Math.random());
104 y = (float)((height-1)*Math.random());
105 dx = (float)(Math.random()*minStep*2) + 1;
106 dy = (float)(Math.random()*minStep*2) + 1;
110 cur += (Math.random()*minStep) - (minStep/2);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationSeeking.java 133 int red = (int)(100 + Math.random() * 155);
134 int green = (int)(100 + Math.random() * 155);
135 int blue = (int)(100 + Math.random() * 155);
CustomEvaluator.java 148 int red = (int)(Math.random() * 255);
149 int green = (int)(Math.random() * 255);
150 int blue = (int)(Math.random() * 255);
ReversingAnimation.java 109 int red = (int)(Math.random() * 255);
110 int green = (int)(Math.random() * 255);
111 int blue = (int)(Math.random() * 255);
  /libcore/luni/src/main/java/javax/crypto/
CipherSpi.java 146 * instance, or may be a combination of default and random parameters,
163 * If this cipher instance needs any algorithm parameters or random values
166 * provider or random values). Random values will be generated using {@code
167 * random};
179 * @param random
185 protected abstract void engineInit(int opmode, Key key, SecureRandom random)
198 * to generate the required parameters (using its provider or random
199 * values). Random values are generated using {@code random}
    [all...]
Cipher.java 418 * instance, or may be a combination of default and random parameters,
452 * If this cipher instance needs any algorithm parameters or random values
455 * provider or random values).
490 * If this cipher instance needs any algorithm parameters or random values
493 * provider or random values). Random values are generated using {@code
494 * random};
506 * @param random
514 public final void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
519 spiImpl.engineInit(opmode, key, random);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 350 SecureRandom random = new SecureRandom(); local
376 kAgs[i].init(privKey, dhPs, random);
383 * <code>init(Key key, SecureRandom random)</code>
385 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code>
396 SecureRandom random = null; local
412 kAgs[i].init(publKey, random);
437 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code>
449 SecureRandom random = null; local
466 kAgs[i].init(privKey, dsa, random);
476 * <code>init(Key key, SecureRandom random)</code
492 SecureRandom random = new SecureRandom(); local
541 SecureRandom random = new SecureRandom(); local
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/util/
SimpleTempStorage.java 30 import java.util.Random;
45 private Random random = new Random(); field in class:SimpleTempStorage
64 long n = Math.abs(random.nextLong());
93 long n = Math.abs(random.nextLong());
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SlideshowView.java 25 import java.util.Random;
49 private Random mRandom = new Random();
130 public SlideshowAnimation(int width, int height, Random random) {
134 MOVE_SPEED * mWidth * (random.nextFloat() - 0.5f),
135 MOVE_SPEED * mHeight * (random.nextFloat() - 0.5f));
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
WrapCipherSpi.java 138 SecureRandom random)
174 random.nextBytes(iv);
198 SecureRandom random)
225 engineInit(opmode, key, paramSpec, random);
231 SecureRandom random)
236 engineInit(opmode, key, (AlgorithmParameterSpec)null, random);
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509Util.java 246 SecureRandom random,
259 if (random != null)
261 sig.initSign(key, random);
278 SecureRandom random,
291 if (random != null)
293 sig.initSign(key, random);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
GlitchExperiment.java 26 import java.util.Random;
65 Random random = new Random(); local
67 samples[random.nextInt(samples.length)] = 0;
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 365 * <code>init(Key key, SecureRandom random)</code>
367 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code>
378 SecureRandom random = null; local
394 kAgs[i].init(publKey, random);
419 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code>
431 SecureRandom random = null; local
448 kAgs[i].init(privKey, dsa, random);
458 * <code>init(Key key, SecureRandom random)</code>
474 SecureRandom random = new SecureRandom(); local
479 kAgs[i].init(privKey, random);
522 SecureRandom random = new SecureRandom(); local
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/tool/bot/
sheriffircbot_unittest.py 30 import random namespace
49 random.seed(23324)
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 120 SecureRandom random = new SecureRandom(); // We don't use local
122 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); local
160 SecureRandom random = new SecureRandom(); local
161 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); local
286 SecureRandom random = new SecureRandom(); local
287 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); local
354 SecureRandom random = new SecureRandom(); local
355 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); local
  /bionic/libc/kernel/common/linux/raid/
md.h 28 #include <linux/random.h>
  /bootable/recovery/
verifier_test.sh 83 expect_fail random.zip
  /development/ndk/platforms/android-3/include/linux/raid/
md.h 28 #include <linux/random.h>
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/
OAEPEncoding.java 23 private SecureRandom random; field in class:OAEPEncoding
79 this.random = rParam.getRandom();
83 this.random = new SecureRandom();
167 random.nextBytes(seed);
  /external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/
script.js 6 // results from random pages being browsed.
15 var minDepth = 1024; // A random large number, the depth of a
  /external/chromium/third_party/libevent/test/
test-time.c 41 return (int)(random() % n);
  /external/kernel-headers/original/linux/
etherdevice.h 29 #include <linux/random.h>
101 * random_ether_addr - Generate software assigned random Ethernet address
104 * Generate a random Ethernet address (MAC) that is not multicast
  /external/valgrind/main/none/tests/
map_unmap.c 29 off = (random() % LEN) & ~(pagesize-1);
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
string-validate-input.js 67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
string-validate-input.js 67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());

Completed in 971 milliseconds

1 2 3 4 5 67 8 91011>>