HomeSort by relevance Sort by last modified time
    Searched defs:mRandom (Results 1 - 25 of 51) sorted by null

1 2 3

  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyEventQueue.java 28 private Random mRandom;
34 mRandom = random;
45 throttle = mRandom.nextLong();
MonkeySourceRandomScript.java 39 private Random mRandom;
68 mRandom = random;
102 mCurrentSource = mScriptSources.get(mRandom.nextInt(numSources));
  /frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
FakeView.java 50 final Random mRandom = new Random();
72 mPaint.setTextSize(mRandom.nextInt(40) + 10);
73 mPaint.setColor(0xff000000 + mRandom.nextInt(0x1000000));
74 int x = mRandom.nextInt(getWidth()) - (getWidth()/2);
75 int y = mRandom.nextInt(getHeight());
FakeBackgroundService.java 36 final Random mRandom = new Random();
51 final int VAL = mRandom.nextInt();
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
NonsenseGenerator.java 29 Random mRandom;
63 mRandom = new Random();
106 if (!isHeadline && mRandom.nextInt(4) == 0)
113 if (mRandom.nextInt(2) == 0) {
128 if (mRandom.nextInt(3) != 0) {
138 if (mRandom.nextInt(3) != 0) {
143 if (mRandom.nextInt(3) == 0) {
148 if (mRandom.nextInt(3) != 0) {
156 return options[mRandom.nextInt(options.length)];
  /frameworks/base/core/tests/notificationtests/src/android/app/
NotificationStressTest.java 51 private final Random mRandom = new Random();
81 Notification notification = new Notification(ICONS[mRandom.nextInt(ICONS.length)], text,
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
BlackWhiteFilter.java 43 private Random mRandom;
87 mRandom = new Random(new Date().getTime());
124 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() };
DocumentaryFilter.java 37 private Random mRandom;
82 mRandom = new Random(new Date().getTime());
158 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() };
LomoishFilter.java 37 private Random mRandom;
122 mRandom = new Random(new Date().getTime());
170 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() };
GrainFilter.java 48 private Random mRandom;
93 mRandom = new Random(new Date().getTime());
127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() };
  /frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
TestEnrollmentActivity.java 43 private Random mRandom;
51 mRandom = new Random();
64 mRandom.nextBytes(data);
109 mRandom.nextBytes(data);
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidTreeMapTest.java 30 private Random mRandom = new Random(1);
49 int val = mRandom.nextInt(1000);
83 int val = mRandom.nextInt(1000);
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Dummy83BufferGenerator.java 30 final SecureRandom mRandom;
37 mRandom = new SecureRandom();
138 int randomNumber = Math.abs(mRandom.nextInt());
161 randomNumber = Math.abs(mRandom.nextInt());
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicRetriever.java 44 Random mRandom = new Random();
109 return mItems.get(mRandom.nextInt(mItems.size()));
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PathsCacheActivity.java 35 private final Random mRandom = new Random();
114 for (int i = 0; i < mRandom.nextInt(20); i++) {
116 int r = mRandom.nextInt(10);
125 canvas.translate(450.0f + mRandom.nextInt(200), mRandom.nextInt(200));
130 int r = mRandom.nextInt(100);
  /frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
SoundTriggerTest.java 37 private Random mRandom = new Random();
145 mRandom.nextBytes(data);
167 mRandom.nextBytes(data);
192 mRandom.nextBytes(data);
248 mRandom.nextBytes(data);
267 mRandom.nextBytes(data);
330 mRandom.nextBytes(data);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
EventLogLogger.java 39 private final Random mRandom;
45 mRandom = new Random();
  /developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
AnimatedNotificationDisplayActivity.java 42 private Random mRandom;
52 mRandom = new Random(System.currentTimeMillis());
73 float endX = -mRandom.nextInt(mAnimationRange);
74 float endY = -mRandom.nextInt(mAnimationRange);
  /developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
AnimatedNotificationDisplayActivity.java 42 private Random mRandom;
52 mRandom = new Random(System.currentTimeMillis());
73 float endX = -mRandom.nextInt(mAnimationRange);
74 float endY = -mRandom.nextInt(mAnimationRange);
  /development/apps/Development/src/com/android/development/
MediaScannerActivity.java 54 Random mRandom = new Random();
173 int baseYear = 1969 + mRandom.nextInt(30);
190 map.put(Audio.Media.YEAR, baseYear + mRandom.nextInt(10));
225 mBuilder.append(elements[mRandom.nextInt(max)]);
234 boolean longfirst = mRandom.nextInt(5) < 3;
237 switch (mRandom.nextInt(6)) {
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 50 private final Random mRandom;
86 mRandom = new Random();
418 float size = mRandom.nextFloat() * (mMaxObstacleSize - mMinObstacleSize)
423 int edge = mRandom.nextInt(4);
427 positionY = mRandom.nextInt(getHeight());
431 positionY = mRandom.nextInt(getHeight());
434 positionX = mRandom.nextInt(getWidth());
438 positionX = mRandom.nextInt(getWidth());
447 float direction = mRandom.nextFloat() * (float) Math.PI * 2;
448 float speed = mRandom.nextFloat() * (mMaxObstacleSpeed - mMinObstacleSpeed
    [all...]
  /development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
AnimatedNotificationDisplayActivity.java 42 private Random mRandom;
52 mRandom = new Random(System.currentTimeMillis());
73 float endX = -mRandom.nextInt(mAnimationRange);
74 float endY = -mRandom.nextInt(mAnimationRange);
  /frameworks/base/obex/javax/obex/
HeaderSet.java 215 private final SecureRandom mRandom;
237 mRandom = new SecureRandom();
629 nonce[i] = (byte)mRandom.nextInt();
  /frameworks/base/services/core/java/com/android/server/location/
LocationFudger.java 104 private final SecureRandom mRandom = new SecureRandom();
302 return mRandom.nextGaussian() * mStandardDeviationInMeters;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SlideshowView.java 50 private Random mRandom = new Random();
70 mRandom);
74 mRandom);

Completed in 4368 milliseconds

1 2 3