Home
last modified time | relevance | path

Searched refs:mY (Results 1 – 25 of 48) 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/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java27 private float[] mY; // y coordinates in the line field in PathInterpolatorBuilder
68 mY = new float[numPoints]; in initPath()
85 mY[i] = y; in initPath()
88 float dy = mY[i] - mY[i - 1]; in initPath()
107 return new PathInterpolator(mDist, mY); in getYInterpolator()
112 private final float[] mY; // y coordinates in the line field in PathInterpolatorBuilder.PathInterpolator
116 mY = ys; in PathInterpolator()
141 return mY[startIndex]; in getInterpolation()
147 float startY = mY[startIndex]; in getInterpolation()
148 float endY = mY[endIndex]; in getInterpolation()
/frameworks/base/libs/hwui/
DRevealClip.h28 RevealClip() : mShouldClip(false), mX(0), mY(0), mRadius(0) {} in RevealClip()
33 mY = y; in set()
45 outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius); in getBounds()
50 float getY() const { return mY; } in getY()
61 float mY; variable
DInterpolator.cpp119 return mY[startIndex]; in interpolate()
125 float startY = mY[startIndex]; in interpolate()
126 float endY = mY[endIndex]; in interpolate()
/frameworks/base/core/java/android/gesture/
DGestureStroke.java127 float mY = 0; in makePath() local
136 mY = y; in makePath()
139 float dy = Math.abs(y - mY); in makePath()
141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in makePath()
143 mY = y; in makePath()
172 float mY = 0; in toPath() local
185 mY = y; in toPath()
188 float dy = Math.abs(y - mY); in toPath()
190 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in toPath()
192 mY = y; in toPath()
/frameworks/base/core/java/android/hardware/face/
DFaceEnrollCell.java30 private final int mY; field in FaceEnrollCell
42 mY = y; in FaceEnrollCell()
57 return mY; in getY()
69 mY = source.readInt(); in FaceEnrollCell()
81 dest.writeInt(mY); in writeToParcel()
/frameworks/base/core/java/android/hardware/display/
DCurve.java25 private final float[] mY; field in Curve
29 mY = y; in Curve()
37 return mY; in getY()
55 out.writeFloatArray(mY); in writeToParcel()
71 sb.append("(").append(mX[i]).append(", ").append(mY[i]).append(")"); in toString()
/frameworks/base/core/java/android/hardware/input/
DVirtualTouchEvent.java84 private final float mY; field in VirtualTouchEvent
94 mY = y; in VirtualTouchEvent()
104 mY = parcel.readFloat(); in VirtualTouchEvent()
115 dest.writeFloat(mY); in writeToParcel()
157 return mY; in getY()
183 private float mY = Float.NaN; field in VirtualTouchEvent.Builder
192 || mAction == ACTION_UNKNOWN || Float.isNaN(mX) || Float.isNaN(mY)) { in build()
201 return new VirtualTouchEvent(mPointerId, mToolType, mAction, mX, mY, mPressure, in build()
258 mY = absY; in setY()
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/
DInkView.java39 private float mX, mY; field in InkView
82 mY = y; in stylusStart()
88 float dy = Math.abs(y - mY); in stylusMove()
93 mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in stylusMove()
95 mY = y; in stylusMove()
100 mPath.lineTo(mX, mY); in stylusFinish()
104 mY = 0; in stylusFinish()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DMotionEventMatcher.java35 int mY; field in MotionEventMatcher
42 mY = y; in MotionEventMatcher()
65 && ((int) event.getY() == mY)) { in matchesSafely()
80 Log.e(LOG_TAG, "event.getY() = " + event.getY() + ", expected " + mY); in matchesSafely()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java58 private float[] mY; // y coordinates in the line field in PathInterpolator
174 mY = new float[numPoints]; in initPath()
190 mY[i] = y; in initPath()
228 return mY[startIndex]; in getInterpolation()
234 float startY = mY[startIndex]; in getInterpolation()
235 float endY = mY[endIndex]; in getInterpolation()
242 return NativeInterpolatorFactory.createPathInterpolator(mX, mY); in createNativeInterpolator()
/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/view/
DDragEvent.java133 float mX, mY; field in DragEvent
298 mY = y; in init()
343 return obtain(source.mAction, source.mX, source.mY, source.mOffsetX, source.mOffsetY, in obtain()
380 return mY; in getY()
547 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString()
571 dest.writeFloat(mY); in writeToParcel()
610 event.mY = in.readFloat();
/frameworks/base/core/java/android/text/method/
DTouch.java126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
145 dy = event.getY() - ds[0].mY; in onTouchEvent()
148 dy = ds[0].mY - event.getY(); in onTouchEvent()
151 ds[0].mY = event.getY(); in onTouchEvent()
200 public float mY; field in Touch.DragState
208 mY = y; in DragState()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java38 private float mY; field in GeomagneticField
240 mY = gcY; in GeomagneticField()
256 return mY; in getY()
272 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination()
288 return (float) Math.hypot(mX, mY); in getHorizontalStrength()
295 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); in getFieldStrength()
/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 recordingCanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw()
109 mY, mToggle ? 600.0f : 200.0f)); in performClick()
DRippleActivity.java58 CanvasProperty<Float> mY; field in RippleActivity.RippleView
102 mY = CanvasProperty.createFloat(200.0f); in RippleView()
122 recordingCanvas.drawRipple(mX, mY, mRadius, mPaint, mProgress, mNoisePhase, in onDraw()
140 mY, mToggle ? 600.0f : 200.0f)); in performClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java63 private int mY; field in QSCustomizer
125 mY = y - containerLocation[1]; in show()
130 mX, mY, true, new ExpandAnimatorListener(tileAdapter)); in show()
160 duration = mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener); in hide()
187 mY = y - containerLocation[1]; in setEditLocation()
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java158 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]); in getPointsForTime()
437 public float mY; field in GestureDescription.TouchPoint
453 mY = parcel.readFloat(); in TouchPoint()
462 mY = other.mY; in copyFrom()
473 + ", mY=" + mY in toString()
490 dest.writeFloat(mY); in writeToParcel()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java283 private float mY; field in RenderingJitter.AnimatedBackgroundDrawable
299 mY += (mReverseY ? -mMoveStep : mMoveStep); in draw()
301 canvas.drawCircle(mX, mY, mRadius, mPaint); in draw()
311 if (mY <= mRadius) { in clampXY()
313 mY = mRadius; in clampXY()
321 if (mY >= maxY) { in clampXY()
323 mY = maxY; in clampXY()
/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.java310 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
649 if (tile.mY == parent.mY) { in drawTile()
662 public int mY; field in TiledImageRenderer.Tile
670 mY = y; in Tile()
687 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
701 int bottomEdge = ((mImageHeight - mY) >> mTileLevel); in onGetBitmap()
726 mY = y; in update()
737 int y = size * (mY / size); in getParentTile()
744 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java31 private float mY; field in RadialGradient
169 mY = endY; in RadialGradient()
215 return nativeCreate(nativeMatrix, mFocalX, mFocalY, mFocalRadius, mX, mY, mRadius, in createNativeInstance()
/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h153 : mX(x), mY(y), mRadius(radius), mPaint(paint) {} in AnimatedCircle()
158 const float y = mY->value; in onGetBounds()
163 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value); in onDraw()
168 sp<uirenderer::CanvasPropertyPrimitive> mY; variable

12