Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/params/
DMeteringRectangle.java75 private final int mY; field in MeteringRectangle
93 mY = checkArgumentNonnegative(y, "y must be nonnegative"); in MeteringRectangle()
117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative"); in MeteringRectangle()
138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative"); in MeteringRectangle()
159 return mY; in getY()
195 return new Point(mX, mY); in getUpperLeftPoint()
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect()
244 && mY == other.mY in equals()
255 return HashCodeHelpers.hashCode(mX, mY, mWidth, mHeight, mWeight); in hashCode()
267 return String.format("(x:%d, y:%d, w:%d, h:%d, wt:%d)", mX, mY, mWidth, mHeight, mWeight); in toString()
/frameworks/base/core/java/android/util/
DSpline.java126 private float[] mY; field in Spline.MonotoneCubicSpline
178 mY = y; in MonotoneCubicSpline()
190 return mY[0]; in interpolate()
193 return mY[n - 1]; in interpolate()
202 return mY[i]; in interpolate()
209 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t) in interpolate()
210 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t; in interpolate()
224 str.append(", ").append(mY[i]); in toString()
234 private final float[] mY; field in Spline.LinearSpline
248 mY = y; in LinearSpline()
[all …]
/frameworks/av/media/libstagefright/
DClockEstimator.cpp46 mX = mXX = mY = mYY = mXY = mW = 0.; in reset()
50 double s = mW * mW + mX * mX + mY * mY + mXX * mXX + mXY * mXY + mYY * mYY; in size()
54 mW, mX, mY, mXX, mXY, mYY); in size()
62 mY += w * y; in add()
71 mY += lf.mY; in combine()
80 mY *= w; in scale()
93 double a_div = (mW * mXY - mX * mY); in interpolate()
94 double b_div = (mXX * mY - mX * mXY); in interpolate()
/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
559 mY = y; in touchDown()
611 final float previousY = mY; in touchMove()
638 mY = y; in touchMove()
/frameworks/base/libs/hwui/
DRevealClip.h31 , mY(0) in RevealClip()
37 mY = y; in set()
51 outBounds->set(mX - mRadius, mY - mRadius, in getBounds()
52 mX + mRadius, mY + mRadius); in getBounds()
65 float mY; variable
DDisplayListOp.h1140 mX(x), mY(y), mRadius(radius) {} in DrawCircleOp()
1143 return renderer.drawCircle(mX, mY, mRadius, getPaint(renderer)); in applyDraw()
1147 OP_LOG("Draw Circle x %f, y %f, r %f", mX, mY, mRadius); in output()
1154 float mY; variable
1161 : DrawOp(paint), mX(x), mY(y), mRadius(radius) {} in DrawCirclePropsOp()
1164 return renderer.drawCircle(*mX, *mY, *mRadius, getPaint(renderer)); in applyDraw()
1168 OP_LOG("Draw Circle Props x %p, y %p, r %p", mX, mY, mRadius); in output()
1175 float* mY; variable
1377 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) { in DrawTextOp()
1409 return renderer.drawText(mText, mBytesCount, mCount, mX, mY, in applyDraw()
[all …]
/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java34 private float mY; field in RadialGradient
67 mY = centerY; in RadialGradient()
90 mY = centerY; in RadialGradient()
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), in copy()
110 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode); in copy()
/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();
/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 CacheBlock()
68 currBlock, currBlock->mX, currBlock->mY, in output()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java52 private float[] mY; // y coordinates in the line field in PathInterpolator
168 mY = new float[numPoints]; in initPath()
184 mY[i] = y; in initPath()
222 return mY[startIndex]; in getInterpolation()
228 float startY = mY[startIndex]; in getInterpolation()
229 float endY = mY[endIndex]; in getInterpolation()
/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.java128 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
155 dy = event.getY() - ds[0].mY; in onTouchEvent()
158 dy = ds[0].mY - event.getY(); in onTouchEvent()
161 ds[0].mY = event.getY(); in onTouchEvent()
243 public float mY; field in Touch.DragState
253 mY = y; in DragState()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCirclePropActivity.java66 CanvasProperty<Float> mY; field in CirclePropActivity.CircleView
75 mY = CanvasProperty.createFloat(200.0f); in CircleView()
92 hwcanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw()
109 mY, mToggle ? 600.0f : 200.0f)); in performClick()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp231 slangAssert(mX == NULL && mY == NULL); in validateIterationParameters()
244 if (mY != NULL) { in validateIterationParameters()
252 slangAssert(mY == NULL); // We won't be invoked if two 'y' are present. in validateIterationParameters()
253 mY = PVD; in validateIterationParameters()
281 if (mX != NULL and mY != NULL) { in validateIterationParameters()
283 clang::QualType YType = mY->getType(); in validateIterationParameters()
286 Context->ReportError(mY->getLocation(), in validateIterationParameters()
315 mSignatureMetadata |= (mY ? 0x10 : 0); in setSignatureMetadata()
Dslang_rs_export_foreach.h61 const clang::ParmVarDecl *mY; variable
74 mOut(NULL), mUsrData(NULL), mX(NULL), mY(NULL), in RSExportForEach()
/frameworks/base/core/java/android/widget/
DToast.java101 mTN.mY = context.getResources().getDimensionPixelSize( in Toast()
213 mTN.mY = yOffset; in setGravity()
236 return mTN.mY; in getYOffset()
339 int mX, mY; field in Toast.TN
407 mParams.y = mY; in handleShow()
/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/base/tools/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java96 private final float mY; field in RadialGradient_Delegate.RadialGradientPaint
103 mY = y; in RadialGradientPaint()
182 pt1[1] = pt2[1] - mY; in getRaster()
/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/av/include/media/stagefright/
DClockEstimator.h41 double mY; // sum(w_i * y_i) member

12