Home
last modified time | relevance | path

Searched refs:mX (Results 1 – 15 of 15) 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/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/android/text/method/
DTouch.java134 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent()
151 dx = event.getX() - ds[0].mX; in onTouchEvent()
154 dx = ds[0].mX - event.getX(); in onTouchEvent()
157 ds[0].mX = event.getX(); in onTouchEvent()
201 public float mX; field in Touch.DragState
209 mX = x; in DragState()
/frameworks/base/libs/rs/
DrsType.cpp96 mLODs[lod].mX = tx; in compute()
127 offset += (x + y * mLODs[lod].mX) * mElement->getSizeBytes(); in getLODOffset()
134 offset += (x + y*mLODs[lod].mX + z*mLODs[lod].mX*mLODs[lod].mY) * mElement->getSizeBytes(); in getLODOffset()
314 stc->mX = 0; in rsi_TypeBegin()
334 stc->mX = value; in rsi_TypeAdd()
371 if (t->getDimX() != stc->mX) continue; in rsi_TypeCreate()
382 st->setDimX(stc->mX); in rsi_TypeCreate()
DrsType.h49 uint32_t getLODDimX(uint32_t lod) const {rsAssert(lod < mLODCount); return mLODs[lod].mX;} in getLODDimX()
80 size_t mX; member
136 size_t mX; variable
/frameworks/base/services/sensorservice/
DGravitySensor.cpp34 mX(mLowPass), mY(mLowPass), mZ(mLowPass) in GravitySensor()
53 x = mX.init(event.acceleration.x); in process()
59 x = mX(event.acceleration.x); in process()
DGravitySensor.h39 CascadedBiquadFilter mX, mY, mZ; variable
/frameworks/base/core/java/android/widget/
DToast.java73 int mX, mY; field in Toast
193 mX = xOffset; in setGravity()
210 return mX; in getXOffset()
363 mParams.x = mX; in handleShow()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java95 private final float mX; field in RadialGradient_Delegate.RadialGradientPaint
102 mX = x; in RadialGradientPaint()
177 pt1[0] = pt2[0] - mX; in getRaster()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java308 private int mX; field in WebViewEventSender.TouchPoint
316 mX = x; in TouchPoint()
335 public int getX() { return mX; } in getX()
339 mX = x; in update()
/frameworks/base/core/java/android/webkit/
DWebViewCore.java646 mX = x; in CursorData()
652 int mX; field in WebViewCore.CursorData
670 int mX; field in WebViewCore.MotionUpData
704 int mX; field in WebViewCore.TouchUpData
715 int mX; field in WebViewCore.TouchEventData
1160 touchUpData.mX, touchUpData.mY); in transferMessages()
1169 nativeHandleTouchEvent(ted.mAction, ted.mX, in transferMessages()
1202 cursorData.mX, cursorData.mY); in transferMessages()
1209 cData.mX, cData.mY); in transferMessages()
1332 motionUpData.mX, motionUpData.mY); in transferMessages()
DWebView.java3861 result.mX = position.x; in cursorData()
5212 ted.mX = contentX; in onTouchEvent()
5254 ted.mX = contentX; in onTouchEvent()
5423 ted.mX = contentX; in onTouchEvent()
5441 ted.mX = contentX; in onTouchEvent()
5564 ted.mX = x; in cancelWebCoreTouchEvent()
6353 motionUpData.mX = contentX; in doShortPress()
6804 ted.mX = viewToContentX((int) mLastTouchX + mScrollX); in handleMessage()
7683 touchUpData.mX = x;
/frameworks/base/include/ui/
DInputReader.h876 int32_t mX; variable
/frameworks/base/libs/ui/
DInputReader.cpp3195 mX = 0; in initialize()
3263 mX = mAccumulator.absX; in sync()
3283 mCurrentTouch.pointers[0].x = mX; in sync()