/development/samples/Snake/src/com/example/android/snake/ |
D | Snake.java | 87 int direction = 0; in onCreate() 88 direction = (x > y) ? 1 : 0; in onCreate() 89 direction |= (x > 1 - y) ? 2 : 0; in onCreate() 92 mSnakeView.moveSnake(direction); in onCreate()
|
D | SnakeView.java | 259 public void moveSnake(int direction) { in moveSnake() argument 261 if (direction == Snake.MOVE_UP) { in moveSnake() 288 if (direction == Snake.MOVE_DOWN) { in moveSnake() 295 if (direction == Snake.MOVE_LEFT) { in moveSnake() 302 if (direction == Snake.MOVE_RIGHT) { in moveSnake()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | InternalSelectionView.java | 232 protected void onFocusChanged(boolean focused, int direction, in onFocusChanged() argument 234 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged() 237 switch (direction) { in onFocusChanged()
|
D | GameView.java | 447 float direction = mRandom.nextFloat() * (float) Math.PI * 2; 450 float velocityX = (float) Math.cos(direction) * speed; 451 float velocityY = (float) Math.sin(direction) * speed;
|
/development/samples/USB/MissileLauncher/ |
D | README.txt | 3 Tilt the tablet to change the direction of the launcher.
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | Kube.java | 252 boolean direction = mRandom.nextBoolean(); in animate() 256 direction = false; in animate() 258 if (direction) { in animate()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 532 double direction = mRandom.nextDouble() * Math.PI * 2; in drawSplat() local 534 double vx = Math.cos(direction) * dispersion; in drawSplat() 535 double vy = Math.sin(direction) * dispersion; in drawSplat()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetwork.java | 116 String direction = command.get(1); in translateCommand() local 117 if ("open".equals(direction)) { in translateCommand() 120 } else if ("close".equals(direction)) { in translateCommand()
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 435 float direction = mRandom.nextFloat() * (float) Math.PI * 2; in step() local 438 float velocityX = (float) Math.cos(direction) * speed; in step() 439 float velocityY = (float) Math.sin(direction) * speed; in step()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 442 private void switchRenderMode(int direction) { in switchRenderMode() argument 444 mRenderMode = (mRenderMode + direction) % 3; in switchRenderMode()
|
/development/samples/VoicemailProviderDemo/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/samples/AccelerometerPlay/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/GestureBuilder/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/SdkSetup/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/cmds/monkey/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/NinePatchLab/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/Fallback/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/samples/Home/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/DevelopmentSettings/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/Development/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/CustomLocale/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/BluetoothDebug/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/samples/CubeLiveWallpaper/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/OBJViewer/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|
/development/apps/launchperf/ |
D | NOTICE | 32 direction or management of such entity, whether by contract or
|