Home
last modified time | relevance | path

Searched refs:dx1 (Results 1 – 20 of 20) sorted by relevance

/external/qemu/hw/
Dps2.c285 int dx1, dy1, dz1; in ps2_mouse_send_packet() local
287 dx1 = s->mouse_dx; in ps2_mouse_send_packet()
291 if (dx1 > 127) in ps2_mouse_send_packet()
292 dx1 = 127; in ps2_mouse_send_packet()
293 else if (dx1 < -127) in ps2_mouse_send_packet()
294 dx1 = -127; in ps2_mouse_send_packet()
299 b = 0x08 | ((dx1 < 0) << 4) | ((dy1 < 0) << 5) | (s->mouse_buttons & 0x07); in ps2_mouse_send_packet()
301 ps2_queue(&s->common, dx1 & 0xff); in ps2_mouse_send_packet()
325 s->mouse_dx -= dx1; in ps2_mouse_send_packet()
Dusb-hid.c416 int dx1, int dy1, int dz1, int buttons_state) in usb_mouse_event() argument
421 s->dx += dx1; in usb_mouse_event()
/external/opencv/cv/src/
Dcvgeometry.cpp114 icvIntersectLines( double x1, double dx1, double y1, double dy1, in icvIntersectLines() argument
117 double d = dx1 * dy2 - dx2 * dy1; in icvIntersectLines()
122 *t2 = ((x2 - x1) * dy1 - (y2 - y1) * dx1) / d; in icvIntersectLines()
295 double dx, dy, dx1, dy1, dx2, dy2, dist_num, dist_denom = 1; in cvPointPolygonTest() local
309 dx1 = pt.x - v0.x; dy1 = pt.y - v0.y; in cvPointPolygonTest()
312 if( dx1*dx + dy1*dy <= 0 ) in cvPointPolygonTest()
313 dist_num = dx1*dx1 + dy1*dy1; in cvPointPolygonTest()
318 dist_num = (dy1*dx - dx1*dy); in cvPointPolygonTest()
336 dist_num = dy1*dx - dx1*dy; in cvPointPolygonTest()
D_cvgeom.h55 int icvIntersectLines( double x1, double dx1, double y1, double dy1,
Dcvapprox.cpp209 int dx1, dy1, dx2, dy2; in icvApproximateChainTC89() local
217 dx1 = array[i1].pt.x - pt0.x; in icvApproximateChainTC89()
222 if( (dx1 | dy1) == 0 || (dx2 | dy2) == 0 ) in icvApproximateChainTC89()
225 temp_num = dx1 * dx2 + dy1 * dy2; in icvApproximateChainTC89()
228 sqrt( ((double)dx1 * dx1 + (double)dy1 * dy1) * in icvApproximateChainTC89()
Dcvsurf.cpp86 int dx1 = src[k][0]*newSize/oldSize; in icvResizeHaarPattern() local
90 dst[k].p0 = dy1*widthStep + dx1; in icvResizeHaarPattern()
91 dst[k].p1 = dy2*widthStep + dx1; in icvResizeHaarPattern()
94 dst[k].w = src[k][4]/((float)(dx2-dx1)*(dy2-dy1)); in icvResizeHaarPattern()
Dcvfundam.cpp407 double dx1 = ptr[j].x - ptr[i].x; in checkSubset() local
413 … if( fabs(dx2*dy1 - dy2*dx1) < FLT_EPSILON*(fabs(dx1) + fabs(dy1) + fabs(dx2) + fabs(dy2))) in checkSubset()
Dcvshapedescr.cpp142 double dx1 = pt1.y - pt0.y; in icvFindCircle() local
149 if( icvIntersectLines( x1, dx1, y1, dy1, x2, dx2, y2, dy2, &t ) >= 0 ) in icvFindCircle()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java692 float dx1, dx2, dy1, dy2; in counterClockwise() local
693 dx1 = p1.x - p0.x; in counterClockwise()
697 if (dx1 * dy2 > dy1 * dx2) { in counterClockwise()
700 if (dx1 * dy2 < dy1 * dx2) { in counterClockwise()
703 if ((dx1 * dx2 < 0) || (dy1 * dy2 < 0)) { in counterClockwise()
706 if ((dx1 * dx1 + dy1 * dy1) < (dx2 * dx2 + dy2 * dy2)) { in counterClockwise()
/external/opencv/cvaux/src/
Dcvface.cpp187 long dx1 = LeftEyeRect.x + LeftEyeRect.width/2 - MouthRect.x; in CalculateError() local
193 (double)(dx1*dx1)/((double)MouthRect.width*MouthRect.width) + in CalculateError()
Ddecomppoly.cpp153 int dx1, dy1, dx2, dy2;
194 dx1 = x2 - x1;
198 if( dx1 * dy2 - dx2 * dy1 < 0 ) // convex condition
Dcvepilines.cpp2943 double dx1,dy1; in icvSelectBestRt() local
2944 dx1 = imagePoints1[begPoint+currPoint].x - projImagePoints1[currPoint].x; in icvSelectBestRt()
2946 len1 = sqrt(dx1*dx1 + dy1*dy1); in icvSelectBestRt()
/external/proguard/src/proguard/gui/splash/
DOverrideGraphics2D.java294 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
296 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer); in drawImage()
299 …public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2,… in drawImage() argument
301 return graphics.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer); in drawImage()
/external/webkit/Source/WebCore/platform/graphics/qt/
DFontQt.cpp131 qreal dx1 = 0, dx2 = 0, dy1 = 0, dy2 = 0; in drawTextCommon() local
135 dx1 = -ctxShadow->offset().x(); in drawTextCommon()
141 clip.adjust(dx1, dx2, dy1, dy2); in drawTextCommon()
/external/freetype/src/smooth/
Dftgrays.c1034 TPos dx1, dy1, dx2, dy2; in gray_render_cubic() local
1079 dx1 = arc[1].x - arc[0].x; in gray_render_cubic()
1081 s = FT_ABS( dy * dx1 - dx * dy1 ); in gray_render_cubic()
1095 if ( dy * dy1 + dx * dx1 < 0 || in gray_render_cubic()
/external/skia/legacy/include/core/
DSkPath.h368 void rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
/external/skia/include/core/
DSkPath.h424 void rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzEvents.m923 int32_t dx1, dy1;
924 CGGetLastMouseDelta (&dx1, &dy1);
925 dx += dx1;
/external/quake/quake/src/QW/scitech/include/
Dmgraph.h1564 m_int MGL_backfacing(fix32_t dx1,fix32_t dy1,fix32_t dx2,fix32_t dy2);
1597 m_int ASMAPI MGL_backfacing(fix32_t dx1,fix32_t dy1,fix32_t dx2,fix32_t dy2);
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
DMGRAPH.H1564 m_int MGL_backfacing(fix32_t dx1,fix32_t dy1,fix32_t dx2,fix32_t dy2);
1597 m_int ASMAPI MGL_backfacing(fix32_t dx1,fix32_t dy1,fix32_t dx2,fix32_t dy2);