Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 13 of 13) sorted by relevance

/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLSurfaceView.java59 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/
DMyGLSurfaceView.java62 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/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java286 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/ApiDemos/src/com/example/android/apis/graphics/
DBitmapMesh.java92 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()
DWindowSurface.java100 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()
DTouchRotateActivity.java128 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()
DFingerPaint.java102 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/
DDragFrameLayout.java72 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/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java67 public void onDrag(float dx, float dy) { in onDrag() argument
69 mPosY += dy; in onDrag()
DVersionedGestureDetector.java50 public void onDrag(float dx, float dy); in onDrag() argument
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetwork.java185 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/
DREADME.NETWORK.txt71 trackball dx dy
74 simulates a user using the trackball. dx and dy indicates the amount
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv89828 …external/skia,fake_w1K2ABZzRB-8QbE1Nk_gpw@fakeemail.com,update path->rsxform to correctly interp dy
92568 …40,platform/external/skia,fake_3HEVY8XnS9GdU7Jv9bWSEA@fakeemail.com,Add the missing shift to the dy