/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceRandom.java | 120 public MonkeySourceRandom(Random random, ArrayList<ComponentName> MainApps, in MonkeySourceRandom() argument 138 mRandom = random; in MonkeySourceRandom() 140 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle); in MonkeySourceRandom() 261 private void generatePointerEvent(Random random, int gesture) { in generatePointerEvent() argument 264 PointF p1 = randomPoint(random, display); in generatePointerEvent() 265 PointF v1 = randomVector(random); in generatePointerEvent() 276 int count = random.nextInt(10); in generatePointerEvent() 278 randomWalk(random, display, p1, v1); in generatePointerEvent() 286 PointF p2 = randomPoint(random, display); in generatePointerEvent() 287 PointF v2 = randomVector(random); in generatePointerEvent() [all …]
|
D | MonkeySourceRandomScript.java | 55 long throttle, boolean randomizeThrottle, Random random, long profileWaitTime, in MonkeySourceRandomScript() argument 58 mSetupSource = new MonkeySourceScript(random, setupFileName, throttle, in MonkeySourceRandomScript() 64 mScriptSources.add(new MonkeySourceScript(random, fileName, throttle, in MonkeySourceRandomScript() 68 mRandom = random; in MonkeySourceRandomScript() 81 boolean randomizeThrottle, Random random, long profileWaitTime, long deviceSleepTime, in MonkeySourceRandomScript() argument 83 this(null, scriptFileNames, throttle, randomizeThrottle, random, profileWaitTime, in MonkeySourceRandomScript()
|
D | MonkeyEventQueue.java | 32 public MonkeyEventQueue(Random random, long throttle, boolean randomizeThrottle) { in MonkeyEventQueue() argument 34 mRandom = random; in MonkeyEventQueue()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ActivityTransitionDetails.java | 70 int red = (int)(Math.random() * 128); in randomColor() 71 int green = (int)(Math.random() * 128); in randomColor() 72 int blue = (int)(Math.random() * 128); in randomColor()
|
D | ActivityTransition.java | 127 int red = (int)(Math.random() * 128); in randomColor() 128 int green = (int)(Math.random() * 128); in randomColor() 129 int blue = (int)(Math.random() * 128); in randomColor()
|
D | ReversingAnimation.java | 109 int red = (int)(Math.random() * 255); in createBall() 110 int green = (int)(Math.random() * 255); in createBall() 111 int blue = (int)(Math.random() * 255); in createBall()
|
D | AnimationSeeking.java | 133 int red = (int)(100 + Math.random() * 155); in addBall() 134 int green = (int)(100 + Math.random() * 155); in addBall() 135 int blue = (int)(100 + Math.random() * 155); in addBall()
|
D | AnimationCloning.java | 113 int red = (int)(100 + Math.random() * 155); in addBall() 114 int green = (int)(100 + Math.random() * 155); in addBall() 115 int blue = (int)(100 + Math.random() * 155); in addBall()
|
D | AnimationLoading.java | 137 int red = (int)(100 + Math.random() * 155); in addBall() 138 int green = (int)(100 + Math.random() * 155); in addBall() 139 int blue = (int)(100 + Math.random() * 155); in addBall()
|
D | CustomEvaluator.java | 148 int red = (int)(Math.random() * 255); in createBall() 149 int green = (int)(Math.random() * 255); in createBall() 150 int blue = (int)(Math.random() * 255); in createBall()
|
D | MultiPropertyAnimation.java | 150 int red = (int)(100 + Math.random() * 155); in addBall() 151 int green = (int)(100 + Math.random() * 155); in addBall() 152 int blue = (int)(100 + Math.random() * 155); in addBall()
|
D | BouncingBalls.java | 159 int red = (int)(Math.random() * 255); in addBall() 160 int green = (int)(Math.random() * 255); in addBall() 161 int blue = (int)(Math.random() * 255); in addBall()
|
D | AnimatorEvents.java | 177 int red = (int)(Math.random() * 255); in createBall() 178 int green = (int)(Math.random() * 255); in createBall() 179 int blue = (int)(Math.random() * 255); in createBall()
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
D | LayoutTransChanging.java | 101 int red = (int)(Math.random() * 128 + 127); in ColoredView() 102 int green = (int)(Math.random() * 128 + 127); in ColoredView() 103 int blue = (int)(Math.random() * 128 + 127); in ColoredView()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 174 Random random = new Random(); in randomList() local 181 items.add(CHEESES[random.nextInt(CHEESES.length)]); in randomList()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 174 Random random = new Random(); in randomList() local 181 items.add(CHEESES[random.nextInt(CHEESES.length)]); in randomList()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 174 Random random = new Random(); in randomList() local 181 items.add(CHEESES[random.nextInt(CHEESES.length)]); in randomList()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | WindowSurface.java | 103 x = (float)((width-1)*Math.random()); in init() 104 y = (float)((height-1)*Math.random()); in init() 105 dx = (float)(Math.random()*minStep*2) + 1; in init() 106 dy = (float)(Math.random()*minStep*2) + 1; in init() 110 cur += (Math.random()*minStep) - (minStep/2); in adjDelta()
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | BitmapUtils.java | 62 int resourceId = mPhotos[(int) (Math.random() * mPhotos.length)]; in loadPhotos() 65 String description = mDescriptions[(int) (Math.random() * mDescriptions.length)]; in loadPhotos()
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
D | xt_statistic.h | 33 } random; member
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
D | xt_statistic.h | 44 } random; member
|
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 125 ndk_helper::Vec3( random() / float( RAND_MAX * 1.1 ), in Init() 126 random() / float( RAND_MAX * 1.1 ), in Init() 127 random() / float( RAND_MAX * 1.1 ) ) ); in Init() 129 float fX = random() / float( RAND_MAX ) - 0.5f; in Init() 130 float fY = random() / float( RAND_MAX ) - 0.5f; in Init()
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | ExtendedWikiHelper.java | 210 JSONArray random = query.getJSONArray("random"); in getRandomWord() local 211 JSONObject word = random.getJSONObject(0); in getRandomWord()
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
D | AccelerometerPlayActivity.java | 157 final float r = ((float) Math.random() - 0.5f) * 0.2f; in Particle() 294 dx += ((float) Math.random() - 0.5f) * 0.0001f; in update() 295 dy += ((float) Math.random() - 0.5f) * 0.0001f; in update()
|
/development/ndk/platforms/android-L/include/ |
D | stdlib.h | 121 long random(void);
|