/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeView.java | 50 final Random mRandom = new Random(); field in FakeView 72 mPaint.setTextSize(mRandom.nextInt(40) + 10); in onDraw() 73 mPaint.setColor(0xff000000 + mRandom.nextInt(0x1000000)); in onDraw() 74 int x = mRandom.nextInt(getWidth()) - (getWidth()/2); in onDraw() 75 int y = mRandom.nextInt(getHeight()); in onDraw()
|
D | FakeBackgroundService.java | 36 final Random mRandom = new Random(); field in FakeBackgroundService 51 final int VAL = mRandom.nextInt();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathsCacheActivity.java | 35 private final Random mRandom = new Random(); field in PathsCacheActivity 109 for (int i = 0; i < mRandom.nextInt(20); i++) { in onDraw() 111 int r = mRandom.nextInt(10); in onDraw() 120 canvas.translate(450.0f + mRandom.nextInt(200), mRandom.nextInt(200)); in onDraw() 125 int r = mRandom.nextInt(100); in onDraw()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | BlackWhiteFilter.java | 46 private Random mRandom; field in BlackWhiteFilter 90 mRandom = new Random(new Date().getTime()); in BlackWhiteFilter() 127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters()
|
D | LomoishFilter.java | 40 private Random mRandom; field in LomoishFilter 125 mRandom = new Random(new Date().getTime()); in LomoishFilter() 173 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters()
|
D | DocumentaryFilter.java | 40 private Random mRandom; field in DocumentaryFilter 85 mRandom = new Random(new Date().getTime()); in DocumentaryFilter() 161 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters()
|
D | GrainFilter.java | 53 private Random mRandom; field in GrainFilter 98 mRandom = new Random(new Date().getTime()); in GrainFilter() 132 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters()
|
/frameworks/base/core/tests/notificationtests/src/android/app/ |
D | NotificationStressTest.java | 51 private final Random mRandom = new Random(); field in NotificationStressTest 81 Notification notification = new Notification(ICONS[mRandom.nextInt(ICONS.length)], text, in sendNotification()
|
/frameworks/base/obex/javax/obex/ |
D | HeaderSet.java | 212 private final SecureRandom mRandom; field in HeaderSet 234 mRandom = new SecureRandom(); in HeaderSet() 604 nonce[i] = (byte)mRandom.nextInt(); in createAuthenticationChallenge()
|
/frameworks/base/services/java/com/android/server/location/ |
D | LocationFudger.java | 107 private final SecureRandom mRandom = new SecureRandom(); field in LocationFudger 305 return mRandom.nextGaussian() * mStandardDeviationInMeters; in nextOffsetLocked()
|
/frameworks/base/core/java/android/content/ |
D | ContentResolver.java | 224 private final Random mRandom = new Random(); // guarded by itself field in ContentResolver 1837 synchronized (mRandom) { in maybeLogQueryToEventLog() 1838 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogQueryToEventLog() 1876 synchronized (mRandom) { in maybeLogUpdateToEventLog() 1877 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogUpdateToEventLog()
|