Home
last modified time | relevance | path

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

/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
554 mY = y; in touchDown()
606 final float previousY = mY; in touchMove()
633 mY = y; in touchMove()
/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();
DViewRootImpl.java4033 private final TrackballAxis mY = new TrackballAxis(); field in ViewRootImpl.SyntheticTrackballHandler
4043 mY.reset(0); in process()
4052 mY.reset(2); in process()
4060 mY.reset(2); in process()
4071 + " / Y=" + mY.position + " step=" in process()
4072 + mY.step + " dir=" + mY.dir + " acc=" + mY.acceleration in process()
4075 final float yOff = mY.collect(event.getY(), event.getEventTime(), "Y"); in process()
4092 mY.reset(2); in process()
4095 movement = mY.generate(); in process()
4099 accel = mY.acceleration; in process()
[all …]
DViewGroup.java1145 final float ty = event.mY; in dispatchDragEvent()
1212 final View target = findFrontmostDroppableChildAt(event.mX, event.mY, localPoint); in dispatchDragEvent()
1247 event.mY = localPoint.y; in dispatchDragEvent()
1252 event.mY = ty; in dispatchDragEvent()
1281 View target = findFrontmostDroppableChildAt(event.mX, event.mY, localPoint); in dispatchDragEvent()
1285 event.mY = localPoint.y; in dispatchDragEvent()
1288 event.mY = ty; in dispatchDragEvent()
/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java31 private float mY; field in RadialGradient
63 mY = y; in RadialGradient()
88 mY = y; in RadialGradient()
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), in copy()
110 copy = new RadialGradient(mX, mY, mRadius, mColor0, mColor1, mTileMode); in copy()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp40 newBlock, newBlock->mX, newBlock->mY, in insertBlock()
47 while (currBlock && currBlock->mY != TEXTURE_BORDER_SIZE) { in insertBlock()
84 blockToRemove, blockToRemove->mX, blockToRemove->mY, in removeBlock()
279 (cacheBlock->mY == TEXTURE_BORDER_SIZE || in fitBitmap()
287 *retOriginY = cacheBlock->mY; in fitBitmap()
291 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { in fitBitmap()
303 newBlock, newBlock->mX, newBlock->mY, in fitBitmap()
310 cacheBlock->mY += glyphH; in fitBitmap()
314 cacheBlock, cacheBlock->mX, cacheBlock->mY, in fitBitmap()
DCacheTexture.h51 uint16_t mY; member
58 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) { in mX()
68 currBlock, currBlock->mX, currBlock->mY, in output()
/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.java126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
144 dy = event.getY() - ds[0].mY; in onTouchEvent()
147 dy = ds[0].mY - event.getY(); in onTouchEvent()
150 ds[0].mY = event.getY(); in onTouchEvent()
199 public float mY; field in Touch.DragState
207 mY = y; in DragState()
/frameworks/base/core/java/android/widget/
DToast.java93 mTN.mY = context.getResources().getDimensionPixelSize( in Toast()
204 mTN.mY = yOffset; in setGravity()
227 return mTN.mY; in getYOffset()
330 int mX, mY; field in Toast.TN
397 mParams.y = mY; in handleShow()
DEdgeEffect.java81 private int mY; field in EdgeEffect
174 mY = y; in setPosition()
376 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/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
652 if (tile.mY == parent.mY) { in drawTile()
665 public int mY; field in TiledImageRenderer.Tile
673 mY = y; in Tile()
690 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
704 int bottomEdge = ((mImageHeight - mY) >> mTileLevel); in onGetBitmap()
729 mY = y; in update()
740 int y = size * (mY / size); in getParentTile()
747 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
/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, 0); in data()
/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/base/libs/hwui/
DDisplayListOp.h1218 mX(x), mY(y), mRadius(radius) {} in DrawCircleOp()
1221 return renderer.drawCircle(mX, mY, mRadius, getPaint(renderer)); in applyDraw()
1225 OP_LOG("Draw Circle x %f, y %f, r %f", mX, mY, mRadius); in output()
1232 float mY; variable
1430 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) { in DrawTextOp()
1459 return renderer.drawText(mText, mBytesCount, mCount, mX, mY, in applyDraw()
1474 status |= renderer.drawText(op.mText, op.mBytesCount, op.mCount, op.mX, op.mY, in multiDraw()
1492 float mY; variable
1565 : DrawOp(0), mLayer(layer), mX(x), mY(y) {} in DrawLayerOp()
1568 return renderer.drawLayer(mLayer, mX, mY); in applyDraw()
[all …]
/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()
73 mY = y; in setPosition()
86 *outY = mY; in getPosition()
102 mY += deltaY; in move()
103 if (mY < mMinY) mY = mMinY; in move()
104 if (mY > mMaxY) mY = mMaxY; in move()