/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 59 float dy = y - mPreviousY; in onTouchEvent() local 68 dy = dy * -1 ; in onTouchEvent() 73 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320 in onTouchEvent()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLSurfaceView.java | 62 float dy = y - mPreviousY; in onTouchEvent() local 71 dy = dy * -1 ; in onTouchEvent() 76 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320 in onTouchEvent()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapMesh.java | 92 float dy = cy - y; in warp() local 93 float dd = dx*dx + dy*dy; in warp() 105 dst[i+1] = y + dy * pull; in warp()
|
D | WindowSurface.java | 100 float x, y, dx, dy; field in WindowSurface.MovingPoint 106 dy = (float)(Math.random()*minStep*2) + 1; in init() 125 y += dy; in step() 129 dy = adjDelta(-dy, minStep, maxStep); in step()
|
D | TouchRotateActivity.java | 128 private void updateAngles(float dx, float dy, float scaleFactor) { in updateAngles() argument 129 if (dx != 0 && dy != 0) { in updateAngles() 131 mRenderer.mAngleY += dy * scaleFactor; in updateAngles()
|
D | FingerPaint.java | 102 float dy = Math.abs(y - mY); in touch_move() local 103 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) { in touch_move()
|
/development/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/ |
D | DragFrameLayout.java | 72 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { in DragFrameLayout() 73 super.onViewPositionChanged(changedView, left, top, dx, dy); in DragFrameLayout() 82 public int clampViewPositionVertical(View child, int top, int dy) { in DragFrameLayout()
|
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
D | AccelerometerPlayActivity.java | 286 float dy = ball.mPosY - curr.mPosY; in update() local 287 float dd = dx * dx + dy * dy; in update() 295 dy += ((float) Math.random() - 0.5f) * 0.0001f; in update() 296 dd = dx * dx + dy * dy; in update() 301 curr.mPosY -= dy * c; in update() 303 ball.mPosY += dy * c; in update()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | TouchExampleView.java | 67 public void onDrag(float dx, float dy) { in onDrag() argument 69 mPosY += dy; in onDrag()
|
D | VersionedGestureDetector.java | 50 public void onDrag(float dx, float dy); in onDrag() argument
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetwork.java | 185 int dy = 0; in translateCommand() local 188 dy = Integer.parseInt(command.get(2)); in translateCommand() 195 .addPointer(0, dx, dy)); in translateCommand()
|
/development/cmds/monkey/ |
D | README.NETWORK.txt | 71 trackball dx dy 74 simulates a user using the trackball. dx and dy indicates the amount
|