Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/gesture/
DGestureStroke.java127 float mX = 0; in makePath() local
136 mX = x; in makePath()
139 float dx = Math.abs(x - mX); in makePath()
142 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in makePath()
143 mX = x; in makePath()
172 float mX = 0; in toPath() local
185 mX = x; in toPath()
188 float dx = Math.abs(x - mX); in toPath()
191 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in toPath()
192 mX = x; in toPath()
DGestureOverlayView.java91 private float mX; field in GestureOverlayView
552 mX = x; in touchDown()
604 final float previousX = mX; in touchMove()
631 mX = x; in touchMove()
/frameworks/base/core/java/android/view/
DDragEvent.java128 float mX, mY; field in DragEvent
258 mX = x; in init()
295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain()
322 return mX; in getX()
442 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString()
465 dest.writeFloat(mX); in writeToParcel()
490 event.mX = in.readFloat();
DViewGroup.java1005 final float tx = event.mX; in dispatchDragEvent()
1069 final View target = findFrontmostDroppableChildAt(event.mX, event.mY, mLocalPoint); in dispatchDragEvent()
1103 event.mX = mLocalPoint.x; in dispatchDragEvent()
1108 event.mX = tx; in dispatchDragEvent()
1138 View target = findFrontmostDroppableChildAt(event.mX, event.mY, mLocalPoint); in dispatchDragEvent()
1141 event.mX = mLocalPoint.x; in dispatchDragEvent()
1144 event.mX = tx; in dispatchDragEvent()
DViewRootImpl.java3426 mDragPoint.set(event.mX, event.mY); in handleDragEvent()
3435 event.mX = mDragPoint.x; in handleDragEvent()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java36 private float mX; field in GeomagneticField
234 mX = (float) (gcX * Math.cos(latDiffRad) in GeomagneticField()
245 return mX; in getX()
268 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination()
284 return (float) Math.sqrt(mX * mX + mY * mY); in getHorizontalStrength()
291 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); in getFieldStrength()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java38 private float mX = 0.0f; field in DrawableHolder
53 mX = x; in DrawableHolder()
132 canvas.translate(mX, mY); in draw()
159 mX = value; in setX()
179 return mX; in getX()
/frameworks/base/core/java/android/text/method/
DTouch.java115 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent()
133 dx = event.getX() - ds[0].mX; in onTouchEvent()
136 dx = ds[0].mX - event.getX(); in onTouchEvent()
139 ds[0].mX = event.getX(); in onTouchEvent()
180 public float mX; field in Touch.DragState
188 mX = x; in DragState()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp136 if (mX) { in validateAndConstructParams()
144 mX = PVD; in validateAndConstructParams()
154 if (!mX && !mY) { in validateAndConstructParams()
155 mX = PVD; in validateAndConstructParams()
180 mMetadataEncoding |= (mX ? 0x08 : 0); in validateAndConstructParams()
Dslang_rs_export_foreach.h51 const clang::ParmVarDecl *mX; variable
63 mX(NULL), mY(NULL), mZ(NULL), mAr(NULL) { in RSExportForEach()
/frameworks/base/libs/rs/
DrsType.cpp93 mLODs[lod].mX = tx; in compute()
120 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODOffset()
126 offset += (x + y*mLODs[lod].mX + z*mLODs[lod].mX*mLODs[lod].mY) * mElement->getSizeBytes(); in getLODOffset()
132 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODFaceOffset()
DrsType.h43 uint32_t getLODDimX(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mX;} in getLODDimX()
82 size_t mX; member
/frameworks/base/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java49 private float mX; field in TestLatencyView
72 mDX = x - mX; in onTouchEvent()
73 mX = x; in onTouchEvent()
102 x = mX; in onDrawFrame()
/frameworks/base/core/java/android/widget/
DToast.java195 mTN.mX = xOffset; in setGravity()
212 return mTN.mX; in getXOffset()
320 int mX, mY; field in Toast.TN
377 mParams.x = mX; in handleShow()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java109 private final float mX; field in RadialGradient_Delegate.RadialGradientPaint
116 mX = x; in RadialGradientPaint()
191 pt1[0] = pt2[0] - mX; in getRaster()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java373 private int mX; field in WebViewEventSender.TouchPoint
382 mX = x; in TouchPoint()
402 public int getX() { return mX; } in getX()
406 mX = x; in update()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java60 private int mX; field in EventSenderImpl.Point
64 mX = x; in Point()
68 return mX; in x()
/frameworks/base/core/java/android/webkit/
DWebViewCore.java739 mX = x; in CursorData()
745 int mX; field in WebViewCore.CursorData
763 int mX; field in WebViewCore.MotionUpData
797 int mX; field in WebViewCore.TouchUpData
804 int mX; field in WebViewCore.TouchHighlightData
1372 touchUpData.mX, touchUpData.mY); in transferMessages()
1432 cursorData.mX, cursorData.mY); in transferMessages()
1439 cData.mX, cData.mY); in transferMessages()
1582 motionUpData.mX, motionUpData.mY); in transferMessages()
1612 (d.mX, d.mY, d.mSlop); in transferMessages()
DWebView.java4687 result.mX = position.x; in cursorData()
5939 data.mX = viewToContentX((int) event.getX() + mScrollX); in onHoverEvent()
6037 data.mX = contentX; in handleTouchEventCommon()
7417 motionUpData.mX = contentX; in doShortPress()
9145 touchUpData.mX = x;
/frameworks/base/services/input/tests/
DInputReader_test.cpp51 float mX, mY; member in android::FakePointerController
59 mHaveBounds(false), mMinX(0), mMinY(0), mMaxX(0), mMaxY(0), mX(0), mY(0), in FakePointerController()
72 mX = x; in setPosition()
85 *outX = mX; in getPosition()
99 mX += deltaX; in move()
100 if (mX < mMinX) mX = mMinX; in move()
101 if (mX > mMaxX) mX = mMaxX; in move()