Searched defs:mRandom (Results 1 - 11 of 11) sorted by relevance

/packages/apps/Mms/tests/src/com/android/mms/
H A DRecyclerTest.java65 private Random mRandom = new Random(); field in class:RecyclerTest
133 int wordsInMessage = mRandom.nextInt(9) + 1; // up to 10 words in the message
136 msg.append(mWords.get(mRandom.nextInt(mWordCount)) + " ");
190 mRecipients.get(mRandom.nextInt(mRecipientCnt)),
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/
H A DFillCallLogTestActivity.java190 private final SecureRandom mRandom; field in class:FillCallLogTestActivity.AsyncCallLogInserter
195 mRandom = new SecureRandom();
232 - mRandom.nextInt(24 * 60 * 60 * (index + 1)) * 1000L);
235 values.put(Calls.DURATION, mRandom.nextInt(30 * 60 * 60 * 1000));
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
H A DStreamItemPopulatorActivity.java119 private Random mRandom; field in class:StreamItemPopulatorActivity
125 mRandom = new Random(System.currentTimeMillis());
302 return Math.abs(mRandom.nextInt()) % max;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlideshowView.java49 private Random mRandom = new Random(); field in class:SlideshowView
69 mRandom);
73 mRandom);
H A DAlbumSetView.java38 private final Random mRandom = new Random(); field in class:AlbumSetView
39 private final long mSeed = mRandom.nextLong();
113 mRandom.setSeed(slotIndex ^ mSeed);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DEventLogLogger.java39 private final Random mRandom; field in class:EventLogLogger
45 mRandom = new Random();
104 return freq > mRandom.nextInt(1000);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowPage.java227 private final Random mRandom = new Random(); field in class:SlideshowPage.ShuffleSource
249 mLastIndex = mRandom.nextInt(mOrder.length);
273 Utils.swap(mOrder, i, mRandom.nextInt(i + 1));
276 Utils.swap(mOrder, 0, mRandom.nextInt(totalCount - 1) + 1);
/packages/apps/Mms/tests/src/com/android/mms/ui/
H A DLongThreadTest.java61 private Random mRandom = new Random(); field in class:LongThreadTest
136 int wordsInMessage = mRandom.nextInt(9) + 1; // up to 10 words in the message
139 msg.append(mWords.get(mRandom.nextInt(mWordCount)) + " ");
/packages/apps/Gallery/src/com/android/camera/
H A DViewImage.java79 private final Random mRandom = new Random(System.currentTimeMillis()); field in class:ViewImage
767 int r = mRandom.nextInt(i + 1);
831 int n = mRandom.nextInt(
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java1451 private Random mRandom = new Random(); field in class:MediaPlaybackService.Shuffler
1455 ret = mRandom.nextInt(interval);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1350 private SecureRandom mRandom = new SecureRandom(); field in class:ContactsProvider2
2166 String token = String.valueOf(mRandom.nextLong());

Completed in 271 milliseconds