/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/perftests/panorama/feature_mos/src/mosaic/ |
D | Geometry.h | 104 double dy = y2 - y0; in FindTriangleCentroid() local 106 double len1 = sqrt(dx * dx + dy * dy); in FindTriangleCentroid() 107 double m1 = dy / dx; in FindTriangleCentroid() 119 dy = y1 - m1 * x + b1; in FindTriangleCentroid() 120 mass = len1 * sqrt(dx * dx + dy * dy); in FindTriangleCentroid()
|
D | Blend.cpp | 1135 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); in ClipBlendRect() local 1137 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; in ClipBlendRect() 1143 …if ((inter = m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / d… in ClipBlendRect() 1149 …if ((inter = -m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / … in ClipBlendRect() 1152 if (dy > epsilon) in ClipBlendRect() 1155 …_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) < brect.top) in ClipBlendRect() 1158 else if (dy < -epsilon) in ClipBlendRect() 1161 …_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) > brect.bot) in ClipBlendRect() 1306 double dy = prevY - firstY; in ComputeBlendParameters() local 1314 m_wb.radius = dy + radiusTheta * cos(m_wb.theta); in ComputeBlendParameters() [all …]
|
D | Delaunay.cpp | 475 double adx, ady, bdx, bdy, cdx, cdy, dx, dy, nad, nbd, ncd; in incircle() local 477 dy = sa[d].Y(); in incircle() 479 ady = sa[a].Y() - dy; in incircle() 481 bdy = sa[b].Y() - dy; in incircle() 483 cdy = sa[c].Y() - dy; in incircle()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | RecyclerViewActivity.java | 145 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, in scrollVerticallyBy() argument 154 if (dy < 0) { in scrollVerticallyBy() 155 while (scrolled > dy) { in scrollVerticallyBy() 158 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy() 161 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy() 173 } else if (dy > 0) { in scrollVerticallyBy() 175 while (scrolled < dy) { in scrollVerticallyBy() 179 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy() 182 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()
|
D | AnimatedRecyclerView.java | 283 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, in scrollVerticallyBy() argument 292 if (dy < 0) { in scrollVerticallyBy() 293 while (scrolled > dy) { in scrollVerticallyBy() 296 final int scrollBy = Math.min(scrolled - dy, hangingTop); in scrollVerticallyBy() 299 if (mFirstPosition > 0 && scrolled > dy) { in scrollVerticallyBy() 311 } else if (dy > 0) { in scrollVerticallyBy() 313 while (scrolled < dy) { in scrollVerticallyBy() 316 final int scrollBy = -Math.min(dy - scrolled, hangingBottom); in scrollVerticallyBy() 319 if (scrolled < dy && state.getItemCount() > mFirstPosition + getChildCount()) { in scrollVerticallyBy()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapMesh.java | 93 float dy = cy - y; in warp() local 94 float dd = dx*dx + dy*dy; in warp() 106 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 | 93 float dy = y - mPreviousY; in onTouchEvent() local 95 mRenderer.mAngleY += dy * TOUCH_SCALE_FACTOR; in onTouchEvent()
|
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/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/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/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/ndk/platforms/android-3/include/linux/ |
D | fb.h | 298 __u32 dy; member 307 __u32 dy; member 316 __u32 dy; member
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
D | db_feature_detection.cpp | 221 float dx,dy; in db_gxx_gxy_gyy_row_f() local 227 dy=Iy0[c]; in db_gxx_gxy_gyy_row_f() 229 Ixy0=dx*dy; in db_gxx_gxy_gyy_row_f() 230 Iyy0=dy*dy; in db_gxx_gxy_gyy_row_f() 233 dy=Iy1[c]; in db_gxx_gxy_gyy_row_f() 235 Ixy1=dx*dy; in db_gxx_gxy_gyy_row_f() 236 Iyy1=dy*dy; in db_gxx_gxy_gyy_row_f() 239 dy=Iy2[c]; in db_gxx_gxy_gyy_row_f() 241 Ixy2=dx*dy; in db_gxx_gxy_gyy_row_f() 242 Iyy2=dy*dy; in db_gxx_gxy_gyy_row_f() [all …]
|
/development/ndk/platforms/android-L/include/linux/ |
D | fb.h | 345 __u32 dy; member 355 __u32 dy; member 365 __u32 dy; member
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceNetwork.java | 184 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/ |
D | README.NETWORK.txt | 71 trackball dx dy 74 simulates a user using the trackball. dx and dy indicates the amount
|