Searched defs:mY (Results 1 - 25 of 36) sorted by relevance

12

/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/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/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/support/compat/ics/android/support/v4/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/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/base/libs/hwui/
H A DRevealClip.h31 , mY(0)
37 mY = y;
51 outBounds->set(mX - mRadius, mY - mRadius,
52 mX + mRadius, mY + mRadius);
57 float getY() const { return mY; }
68 float mY; member in class:android::uirenderer::RevealClip
H A DInterpolator.h107 : mX (x), mY(y) {}
111 std::vector<float> mY; member in class:android::uirenderer::PathInterpolator
/frameworks/base/libs/hwui/pipeline/skia/
H A DAnimatedDrawables.h66 , mY(y)
73 const float y = mY->value;
78 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value);
83 sp<uirenderer::CanvasPropertyPrimitive> mY; member in class:android::uirenderer::skiapipeline::AnimatedCircle
/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/core/java/android/hardware/
H A DGeomagneticField.java37 private float mY; field in class:GeomagneticField
236 mY = gcY;
252 return mY;
268 return (float) Math.toDegrees(Math.atan2(mY, mX));
284 return (float) Math.hypot(mX, mY);
291 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ);
/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/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/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/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/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient_Delegate.java99 private final float mY; field in class:RadialGradient_Delegate.RadialGradientPaint
106 mY = y;
186 pt1[1] = pt2[1] - mY;
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java64 private float[] mY; // y coordinates in the line field in class:PathInterpolatorCompat
146 mY = new float[numPoints];
154 mY[i] = position[1];
157 if (abs(mX[0]) > EPSILON || abs(mY[0]) > EPSILON || abs(mX[numPoints - 1] - 1) > EPSILON
158 || abs(mY[numPoints - 1] - 1) > EPSILON) {
160 + " start: " + mX[0] + "," + mY[0] + " end:" + mX[numPoints - 1] + ","
161 + mY[numPoints - 1]);
214 return mY[startIndex];
220 float startY = mY[startIndex];
221 float endY = mY[endInde
[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/view/
H A DDragEvent.java130 float mX, mY; field in class:DragEvent
277 mY = y;
316 return obtain(source.mAction, source.mX, source.mY, source.mLocalState,
353 return mY;
477 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription
501 dest.writeFloat(mY);
532 event.mY = in.readFloat();
/frameworks/base/core/java/android/widget/
H A DToast.java115 mTN.mY = context.getResources().getDimensionPixelSize(
222 mTN.mY = yOffset;
245 return mTN.mY;
354 int mX, mY; field in class:Toast.TN
479 mParams.y = mY;
/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/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DQSCustomizer.java76 private int mY; field in class:QSCustomizer
141 mY = y;
173 mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener);
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java50 private float mY; field in class:TestLatencyView
74 mDY = y - mY;
75 mY = y;
103 y = mY;
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java139 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]);
402 public float mY; field in class:GestureDescription.TouchPoint
418 mY = parcel.readFloat();
427 mY = other.mY;
443 dest.writeFloat(mY);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h50 uint16_t mY; member in struct:android::uirenderer::CacheBlock
57 mX(x), mY(y), mWidth(width), mHeight(height), mNext(nullptr), mPrev(nullptr) {
67 currBlock, currBlock->mX, currBlock->mY,

Completed in 3131 milliseconds

12