Searched refs:mY (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DRevealClip.h28 RevealClip() : mShouldClip(false), mX(0), mY(0), mRadius(0) {}
33 mY = y;
45 outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius);
50 float getY() const { return mY; }
61 float mY; member in class:android::uirenderer::RevealClip
H A DInterpolator.cpp119 return mY[startIndex];
125 float startY = mY[startIndex];
126 float endY = mY[endIndex];
H A DInterpolator.h112 explicit PathInterpolator(std::vector<float>&& x, std::vector<float>&& y) : mX(x), mY(y) {}
117 std::vector<float> mY; member in class:android::uirenderer::PathInterpolator
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java44 private float[] mY; field in class:FreePathInterpolator
62 mY = new float[numPoints];
80 mY[i] = y;
104 return mY[startIndex];
106 return mY[endIndex];
121 return mY[startIndex];
127 float startY = mY[startIndex];
128 float endY = mY[endIndex];
139 int endIndex = mY.length - 1;
151 if (y < mY[midInde
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java75 private final int mY; field in class:MeteringRectangle
93 mY = checkArgumentNonnegative(y, "y must be nonnegative");
117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative");
138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative");
159 return mY;
195 return new Point(mX, mY);
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight);
244 && mY == other.mY
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DCurve.java25 private final float[] mY; field in class:Curve
29 mY = y;
37 return mY;
55 out.writeFloatArray(mY);
/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java35 private float mY; field in class:RadialGradient
71 mY = centerY;
95 mY = centerY;
105 return nativeCreate1(nativeMatrix, mX, mY, mRadius,
108 return nativeCreate2(nativeMatrix, mX, mY, mRadius,
120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
123 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
/frameworks/support/compat/src/main/java/androidx/core/view/animation/
H A DPathInterpolatorApi14.java34 private final float[] mY; field in class:PathInterpolatorApi14
43 mY = new float[numPoints];
51 mY[i] = position[1];
86 return mY[startIndex];
92 final float startY = mY[startIndex];
93 final float endY = mY[endIndex];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java27 private float[] mY; // y coordinates in the line field in class:PathInterpolatorBuilder
68 mY = new float[numPoints];
85 mY[i] = y;
88 float dy = mY[i] - mY[i - 1];
107 return new PathInterpolator(mDist, mY);
112 private final float[] mY; // y coordinates in the line field in class:PathInterpolatorBuilder.PathInterpolator
116 mY = ys;
141 return mY[startIndex];
147 float startY = mY[startInde
[all...]
/frameworks/base/core/java/android/util/
H A DSpline.java126 private float[] mY; field in class:Spline.MonotoneCubicSpline
178 mY = y;
190 return mY[0];
193 return mY[n - 1];
202 return mY[i];
209 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t)
210 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t;
224 str.append(", ").append(mY[i]);
234 private final float[] mY; field in class:Spline.LinearSpline
248 mY
[all...]
/frameworks/av/include/media/
H A DLinearMap.h144 mY(new T[size]) { }
148 delete[] mY;
172 checkedDiff(&ydiff, y, mY[mPos], "y");
180 const int32_t ydiff2 = y - mY[prev];
190 mY[mPos] = y;
208 mY[mPos] = y;
227 return findU(y, mX, mY, method, extrapolation, startValue);
234 return findU(x, mY, mX, method, extrapolation, startValue);
296 // TODO: back extrapolation value could be stored along with mX, mY in history.
354 const size_t mSize; // Size of mX and mY array
361 T * const mY; // History of Y values as a circular array. member in class:android::LinearMap
[all...]
/frameworks/av/media/libmedia/include/media/
H A DLinearMap.h144 mY(new T[size]) { }
148 delete[] mY;
172 checkedDiff(&ydiff, y, mY[mPos], "y");
180 const int32_t ydiff2 = y - mY[prev];
190 mY[mPos] = y;
208 mY[mPos] = y;
227 return findU(y, mX, mY, method, extrapolation, startValue);
234 return findU(x, mY, mX, method, extrapolation, startValue);
296 // TODO: back extrapolation value could be stored along with mX, mY in history.
354 const size_t mSize; // Size of mX and mY array
361 T * const mY; // History of Y values as a circular array. member in class:android::LinearMap
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java127 float mY = 0;
136 mY = y;
139 float dy = Math.abs(y - mY);
141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2);
143 mY = y;
172 float mY = 0;
185 mY = y;
188 float dy = Math.abs(y - mY);
190 path.quadTo(mX, mY, (
[all...]
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DPathInterpolatorCompat.java65 private float[] mY; // y coordinates in the line field in class:PathInterpolatorCompat
147 mY = new float[numPoints];
155 mY[i] = position[1];
158 if (abs(mX[0]) > EPSILON || abs(mY[0]) > EPSILON || abs(mX[numPoints - 1] - 1) > EPSILON
159 || abs(mY[numPoints - 1] - 1) > EPSILON) {
161 + " start: " + mX[0] + "," + mY[0] + " end:" + mX[numPoints - 1] + ","
162 + mY[numPoints - 1]);
215 return mY[startIndex];
221 float startY = mY[startIndex];
222 float endY = mY[endInde
[all...]
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp41 newBlock->mY, newBlock->mWidth, newBlock->mHeight);
47 while (currBlock && currBlock->mY != TEXTURE_BORDER_SIZE) {
84 blockToRemove->mY, blockToRemove->mWidth, blockToRemove->mHeight);
272 // it's the remainder space (mY == 0) or there's only enough height for this one glyph
275 (cacheBlock->mY == TEXTURE_BORDER_SIZE ||
283 *retOriginY = cacheBlock->mY;
287 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) {
300 newBlock, newBlock->mX, newBlock->mY, newBlock->mWidth,
307 cacheBlock->mY += glyphH;
311 cacheBlock, cacheBlock->mX, cacheBlock->mY, cacheBloc
[all...]
H A DCacheTexture.h49 uint16_t mY; member in struct:android::uirenderer::CacheBlock
56 : mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) {}
65 currBlock->mY, currBlock->mWidth, currBlock->mHeight);
/frameworks/base/libs/hwui/pipeline/skia/
H A DAnimatedDrawables.h62 : mX(x), mY(y), mRadius(radius), mPaint(paint) {}
67 const float y = mY->value;
72 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value);
77 sp<uirenderer::CanvasPropertyPrimitive> mY; member in class:android::uirenderer::skiapipeline::AnimatedCircle
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java39 private float mY = 0.0f; field in class:DrawableHolder
54 mY = y;
132 canvas.translate(mX, mY);
163 mY = value;
183 return mY;
/frameworks/base/core/java/android/view/
H A DDragEvent.java131 float mX, mY; field in class:DragEvent
278 mY = y;
317 return obtain(source.mAction, source.mX, source.mY, source.mLocalState,
354 return mY;
478 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription
502 dest.writeFloat(mY);
533 event.mY = in.readFloat();
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java56 private float[] mY; // y coordinates in the line field in class:PathInterpolator
172 mY = new float[numPoints];
188 mY[i] = y;
226 return mY[startIndex];
232 float startY = mY[startIndex];
233 float endY = mY[endIndex];
240 return NativeInterpolatorFactoryHelper.createPathInterpolator(mX, mY);
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/
H A DMainActivity.java42 static private int mY = 2; field in class:MainActivity
68 s.set_b_startval(mY);
76 s.set_b_startval(mY);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCirclePropActivity.java66 CanvasProperty<Float> mY; field in class:CirclePropActivity.CircleView
75 mY = CanvasProperty.createFloat(200.0f);
92 displayListCanvas.drawCircle(mX, mY, mRadius, mPaint);
109 mY, mToggle ? 600.0f : 200.0f));
/frameworks/base/core/java/android/text/method/
H A DTouch.java126 Math.abs(event.getY() - ds[0].mY) >= slop) {
145 dy = event.getY() - ds[0].mY;
148 dy = ds[0].mY - event.getY();
151 ds[0].mY = event.getY();
200 public float mY; field in class:Touch.DragState
208 mY = y;
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DGridModel.java602 final RelativeCoordinate mY; field in class:GridModel.RelativePoint
609 this.mY = new RelativeCoordinate(rowLimits, point.y);
614 this.mY = y;
619 return mX.toComparisonValue() ^ mY.toComparisonValue();
629 return mX.equals(otherPoint.mX) && mY.equals(otherPoint.mY);
649 min(mRelOrigin.mY, mRelPointer.mY),
653 max(mRelOrigin.mY, mRelPointer.mY),
[all...]
/frameworks/native/include/gui/
H A DLayerDebugInfo.h50 float mY = 0.f; member in class:android::LayerDebugInfo

Completed in 1227 milliseconds

12