Home
last modified time | relevance | path

Searched refs:mY (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/gesture/
DGestureStroke.java128 float mY = 0; in makePath() local
137 mY = y; in makePath()
140 float dy = Math.abs(y - mY); in makePath()
142 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in makePath()
144 mY = y; in makePath()
173 float mY = 0; in toPath() local
186 mY = y; in toPath()
189 float dy = Math.abs(y - mY); in toPath()
191 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in toPath()
193 mY = y; in toPath()
DGestureOverlayView.java92 private float mY; field in GestureOverlayView
553 mY = y; in touchDown()
605 final float previousY = mY; in touchMove()
632 mY = y; in touchMove()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp37 newBlock, newBlock->mX, newBlock->mY, in insertBlock()
44 while (currBlock && currBlock->mY != TEXTURE_BORDER_SIZE) { in insertBlock()
81 blockToRemove, blockToRemove->mX, blockToRemove->mY, in removeBlock()
128 (cacheBlock->mY == TEXTURE_BORDER_SIZE || in fitBitmap()
136 *retOriginY = cacheBlock->mY; in fitBitmap()
140 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { in fitBitmap()
152 newBlock, newBlock->mX, newBlock->mY, in fitBitmap()
159 cacheBlock->mY += glyphH; in fitBitmap()
163 cacheBlock, cacheBlock->mX, cacheBlock->mY, in fitBitmap()
DCacheTexture.h47 uint16_t mY; member
54 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { in mX()
65 currBlock, currBlock->mX, currBlock->mY, currBlock->mWidth, currBlock->mHeight); in output()
/frameworks/base/core/java/android/util/
DSpline.java25 private final float[] mY; field in Spline
30 mY = y; in Spline()
116 return mY[0]; in interpolate()
119 return mY[n - 1]; in interpolate()
128 return mY[i]; in interpolate()
135 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t) in interpolate()
136 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t; in interpolate()
150 str.append(", ").append(mY[i]); in toString()
/frameworks/base/core/java/android/view/
DDragEvent.java128 float mX, mY; field in DragEvent
259 mY = y; in init()
295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain()
332 return mY; in getY()
442 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString()
466 dest.writeFloat(mY); in writeToParcel()
491 event.mY = in.readFloat();
DViewGroup.java1100 final float ty = event.mY; in dispatchDragEvent()
1163 final View target = findFrontmostDroppableChildAt(event.mX, event.mY, mLocalPoint); in dispatchDragEvent()
1198 event.mY = mLocalPoint.y; in dispatchDragEvent()
1203 event.mY = ty; in dispatchDragEvent()
1232 View target = findFrontmostDroppableChildAt(event.mX, event.mY, mLocalPoint); in dispatchDragEvent()
1236 event.mY = mLocalPoint.y; in dispatchDragEvent()
1239 event.mY = ty; in dispatchDragEvent()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp162 } else if (mY) { in validateAndConstructParams()
170 if (mY) { in validateAndConstructParams()
174 mY = PVD; in validateAndConstructParams()
177 if (!mX && !mY) { in validateAndConstructParams()
179 } else if (!mY) { in validateAndConstructParams()
180 mY = PVD; in validateAndConstructParams()
204 mSignatureMetadata |= (mY ? 0x10 : 0); in validateAndConstructParams()
295 mY = PVD; in validateAndConstructKernelParams()
338 } else if (mY) { in validateAndConstructKernelParams()
346 if (mY) { in validateAndConstructKernelParams()
[all …]
Dslang_rs_export_foreach.h52 const clang::ParmVarDecl *mY; variable
67 mIn(NULL), mOut(NULL), mUsrData(NULL), mX(NULL), mY(NULL), mZ(NULL), in RSExportForEach()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java37 private float mY; field in GeomagneticField
236 mY = gcY; in GeomagneticField()
252 return mY; in getY()
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.java39 private float mY = 0.0f; field in DrawableHolder
54 mY = y; in DrawableHolder()
132 canvas.translate(mX, mY); in draw()
163 mY = value; in setY()
183 return mY; in getY()
/frameworks/base/core/java/android/text/method/
DTouch.java124 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
142 dy = event.getY() - ds[0].mY; in onTouchEvent()
145 dy = ds[0].mY - event.getY(); in onTouchEvent()
148 ds[0].mY = event.getY(); in onTouchEvent()
197 public float mY; field in Touch.DragState
205 mY = y; in DragState()
/frameworks/av/media/libstagefright/wifi-display/sink/
DLinearRegression.cpp46 mSumY -= oldest.mY; in addPoint()
54 newest->mY = y; in addPoint()
78 float y = p.mY - meanY; in approxLine()
DLinearRegression.h38 float mX, mY; member
/frameworks/base/core/java/android/widget/
DToast.java92 mTN.mY = context.getResources().getDimensionPixelSize( in Toast()
201 mTN.mY = yOffset; in setGravity()
224 return mTN.mY; in getYOffset()
327 int mX, mY; field in Toast.TN
394 mParams.y = mY; in handleShow()
DEdgeEffect.java79 private int mY; field in EdgeEffect
172 mY = y; in setPosition()
374 mBounds.offset(mX, mY - (reverse ? mMaxEffectHeight : 0)); in getBounds()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java50 private float mY; field in TestLatencyView
74 mDY = y - mY; in onTouchEvent()
75 mY = y; in onTouchEvent()
103 y = mY; in onDrawFrame()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java110 private final float mY; field in RadialGradient_Delegate.RadialGradientPaint
117 mY = y; in RadialGradientPaint()
196 pt1[1] = pt2[1] - mY; in getRaster()
/frameworks/support/renderscript/v8/rs_support/
DrsAdapter.h42 inline void setY(uint32_t y) {mY = y;} in setY()
55 uint32_t mY; variable
DrsAdapter.cpp34 mY = 0; in reset()
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes); in data()
/frameworks/rs/
DrsAdapter.h42 inline void setY(uint32_t y) {mY = y;} in setY()
55 uint32_t mY; variable
DrsAdapter.cpp34 mY = 0; in reset()
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes); in data()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java374 private int mY; field in WebViewEventSender.TouchPoint
383 mY = y; in TouchPoint()
403 public int getY() { return mY; } in getY()
407 mY = y; in update()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java61 private int mY; field in EventSenderImpl.Point
65 mY = y; in Point()
71 return mY; in y()
/frameworks/base/core/java/android/webkit/
DWebViewCore.java840 int mY; field in WebViewCore.MotionUpData
880 int mY; field in WebViewCore.TouchUpData
887 int mY; field in WebViewCore.TouchHighlightData

12