Home
last modified time | relevance | path

Searched refs:dy (Results 1 – 22 of 22) 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/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/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/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.java184 int dy = 0; in translateCommand() local
187 dy = Integer.parseInt(command.get(2)); in translateCommand()
194 .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/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...