Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java44 private float[] mY; field in FreePathInterpolator
62 mY = new float[numPoints]; in initPath()
80 mY[i] = y; in initPath()
104 return mY[startIndex]; in getInterpolation()
106 return mY[endIndex]; in getInterpolation()
121 return mY[startIndex]; in getInterpolation()
127 float startY = mY[startIndex]; in getInterpolation()
128 float endY = mY[endIndex]; in getInterpolation()
139 int endIndex = mY.length - 1; in getX()
151 if (y < mY[midIndex]) { in getX()
[all …]
/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/av/media/libmedia/include/media/
DLinearMap.h144 mY(new T[size]) { } in LinearMap()
148 delete[] mY; in ~LinearMap()
172 checkedDiff(&ydiff, y, mY[mPos], "y"); in push()
180 const int32_t ydiff2 = y - mY[prev]; in push()
190 mY[mPos] = y; in push()
208 mY[mPos] = y; in push()
227 return findU(y, mX, mY, method, extrapolation, startValue);
234 return findU(x, mY, mX, method, extrapolation, startValue);
361 T * const mY; // History of Y values as a circular array. variable
/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/view/
DDragEvent.java132 float mX, mY; field in DragEvent
281 mY = y; in init()
321 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain()
358 return mY; in getY()
482 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString()
506 dest.writeFloat(mY); in writeToParcel()
537 event.mY = in.readFloat();
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java56 private float[] mY; // y coordinates in the line field in PathInterpolator
172 mY = new float[numPoints]; in initPath()
188 mY[i] = y; in initPath()
226 return mY[startIndex]; in getInterpolation()
232 float startY = mY[startIndex]; in getInterpolation()
233 float endY = mY[endIndex]; in getInterpolation()
240 return NativeInterpolatorFactoryHelper.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/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/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/libs/hwui/pipeline/skia/
DAnimatedDrawables.h62 : mX(x), mY(y), mRadius(radius), mPaint(paint) {} in AnimatedCircle()
67 const float y = mY->value; in onGetBounds()
72 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value); in onDraw()
77 sp<uirenderer::CanvasPropertyPrimitive> mY; variable
/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()
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java139 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]); in getPointsForTime()
402 public float mY; field in GestureDescription.TouchPoint
418 mY = parcel.readFloat(); in TouchPoint()
427 mY = other.mY; in copyFrom()
438 + ", mY=" + mY in toString()
455 dest.writeFloat(mY); in writeToParcel()
/frameworks/base/graphics/java/android/graphics/
DRadialGradient.java29 private float mY; field in RadialGradient
110 mY = centerY; in RadialGradient()
152 return nativeCreate(nativeMatrix, mX, mY, mRadius, in createNativeInstance()
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
DMainActivity.java42 static private int mY = 2; field in MainActivity
68 s.set_b_startval(mY); in findMinUserTypeAutoComb()
76 s.set_b_startval(mY); in findMinUserType()
/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/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/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/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java95 private final float mY; field in RadialGradient_Delegate.RadialGradientPaint
102 mY = y; in RadialGradientPaint()
183 float _y = pt2[1] - mY; in getRaster()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java85 private int mY; field in QSCustomizer
180 mY = y - containerLocation[1]; in show()
186 mClipper.animateCircularClip(mX, mY, true, mExpandAnimationListener); in show()
224 mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener); in hide()
311 mY = y - containerLocation[1]; in setEditLocation()
/frameworks/base/core/java/android/widget/
DToast.java122 mTN.mY = context.getResources().getDimensionPixelSize( in Toast()
230 mTN.mY = yOffset; in setGravity()
253 return mTN.mY; in getYOffset()
369 int mY; field in Toast.TN
497 mParams.y = mY; in handleShow()

12