OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nextInt
(Results
126 - 150
of
231
) sorted by null
1
2
3
4
5
6
7
8
9
10
/development/samples/ControllerSample/src/com/example/controllersample/
GameView.java
396
int edge = mRandom.
nextInt
(4);
400
positionY = mRandom.
nextInt
(getHeight());
404
positionY = mRandom.
nextInt
(getHeight());
407
positionX = mRandom.
nextInt
(getWidth());
411
positionX = mRandom.
nextInt
(getWidth());
[
all
...]
/cts/tests/tests/database/src/android/database/cts/
DatabaseCursorTest.java
266
randomString.append((random.
nextInt
() & 0xf) % 10);
354
randomString.append((random.
nextInt
() & 0xf) % 10);
386
randomString.append((random.
nextInt
() & 0xf) % 10);
/frameworks/base/core/tests/coretests/src/android/database/
DatabaseCursorTest.java
244
randomString.append((random.
nextInt
() & 0xf) % 10);
325
randomString.append((random.
nextInt
() & 0xf) % 10);
358
randomString.append((random.
nextInt
() & 0xf) % 10);
/libcore/luni/src/test/java/tests/api/java/util/
HashMapTest.java
404
Integer j = rnd.
nextInt
();
411
Integer j = rnd.
nextInt
();
419
Integer j = rnd.
nextInt
();
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
Kube.java
248
int layerID = mRandom.
nextInt
(9);
253
int count = mRandom.
nextInt
(3) + 1;
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java
237
int i = rnd.
nextInt
(numBytes);
238
int j = rnd.
nextInt
(numBytes);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java
510
int charClass = r.
nextInt
(100);
515
char nextChar = sCharacterClasses[charClass].charAt(r.
nextInt
(classLength));
/cts/libs/json/src/com/android/json/stream/
JsonReader.java
148
* followersCount = reader.
nextInt
();
160
* [1, "1"]} may be read using either {@link #
nextInt
} or {@link #nextString}.
480
public int
nextInt
() throws IOException {
[
all
...]
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
GameActivity.java
156
int index = mRnd.
nextInt
(9);
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DOMUtils.java
57
bounds[i++] = jsonReader.
nextInt
();
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/
TransportConnection.java
149
* don't waste calls to rnd.
nextInt
() (by using only 8bit of the
156
int r = rnd.
nextInt
();
/external/jmonkeyengine/engine/src/android/jme3tools/android/
Fixed.java
422
return rng.
nextInt
() >>> (32 - FIXED_POINT);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
MTLLoader.java
252
int mode = scan.
nextInt
();
/frameworks/base/core/java/android/net/
DnsPinger.java
160
newActivePing.packetId = (short) sRandom.
nextInt
();
/frameworks/base/core/tests/coretests/src/android/widget/
SimpleCursorAdapterTest.java
77
Integer r = generator.
nextInt
();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
RetryManager.java
438
return mRng.
nextInt
(randomTime);
/frameworks/volley/tests/src/com/android/volley/
RequestQueueTest.java
60
Request.Priority priority = allPriorities[random.
nextInt
(allPriorities.length)];
/libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java
192
buf.append( (new java.util.Random()).
nextInt
(Integer.MAX_VALUE));
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java
347
sr1.
nextInt
();
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiveFileInfo.java
238
sequence += rnd.
nextInt
(magnitude) + 1;
/packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java
273
return new Random(System.currentTimeMillis()).
nextInt
(1 << 24);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTests.java
73
wordSet.add(generateWord(random.
nextInt
()));
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
SuperFloppyFormatter.java
206
f32bs.setFileSystemId(rnd.
nextInt
());
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
VideoEncoderDecoderTest.java
395
int w = mRandom.
nextInt
(mVideoWidth);
396
int h = mRandom.
nextInt
(mVideoHeight);
/external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java
547
int behavior = random.
nextInt
(4);
577
cache.getUnchecked("key" + random.
nextInt
(nUniqueKeys));
Completed in 1099 milliseconds
1
2
3
4
5
6
7
8
9
10