/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/Support7Demos/src/com/example/android/supportv7/widget/ |
D | RecyclerViewActivity.java | 199 public View onFocusSearchFailed(View focused, int direction, in onFocusSearchFailed() argument 212 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) { in onFocusSearchFailed() 227 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
|
D | AnimatedRecyclerView.java | 580 public View onFocusSearchFailed(View focused, int direction, in onFocusSearchFailed() argument 593 if (direction == View.FOCUS_UP || direction == View.FOCUS_BACKWARD) { in onFocusSearchFailed() 608 if (direction == View.FOCUS_DOWN || direction == View.FOCUS_FORWARD) { in onFocusSearchFailed()
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
D | xt_connbytes.h | 34 u_int8_t direction; member
|
/development/ndk/platforms/android-21/include/linux/netfilter/ |
D | xt_connbytes.h | 42 __u8 direction; member
|
/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/perftests/panorama/feature_mos/src/mosaic/ |
D | Blend.cpp | 1064 double alpha = x * m_wb.direction / m_wb.width; in MosaicToFrame() 1065 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; in MosaicToFrame() 1068 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() 1074 double alpha = y * m_wb.direction / m_wb.width; in MosaicToFrame() 1075 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius; in MosaicToFrame() 1078 double cosTheta = sqrt(1.0 - sinTheta * sinTheta) * m_wb.direction; in MosaicToFrame() 1107 wx = alpha * m_wb.width * m_wb.direction; in FrameToMosaic() 1108 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction; in FrameToMosaic() 1117 wy = alpha * m_wb.width * m_wb.direction; in FrameToMosaic() 1118 wx = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction; in FrameToMosaic() [all …]
|
D | MosaicTypes.h | 141 double direction; member
|
/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 | 115 String direction = command.get(1); in translateCommand() local 116 if ("open".equals(direction)) { in translateCommand() 119 } else if ("close".equals(direction)) { in translateCommand()
|
/development/ndk/platforms/android-21/include/linux/genwqe/ |
D | genwqe_card.h | 320 __u64 direction; member
|
/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/Support7Demos/src/com/example/android/supportv7/widget/touch/ |
D | ItemTouchHelperActivity.java | 119 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) { in createCallback() argument
|
/development/samples/training/multiscreen/newsreader/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/AnimationsDemo/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/ActivityLifecycle/libs/ |
D | android-support-v13.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/basic/FragmentBasics/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/location-aware/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/samples/training/InteractiveChart/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/ndk/platforms/android-3/include/linux/ |
D | input.h | 680 __u16 direction; member
|