Searched refs:mX (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DRevealClip.h30 , mX(0)
36 mX = x;
51 outBounds->set(mX - mRadius, mY - mRadius,
52 mX + mRadius, mY + mRadius);
56 float getX() const { return mX; }
67 float mX; member in class:android::uirenderer::RevealClip
H A DDisplayListOp.h1072 mX(x), mY(y), mRadius(radius) {}
1075 renderer.drawCircle(mX, mY, mRadius, mPaint);
1079 OP_LOG("Draw Circle x %f, y %f, r %f", mX, mY, mRadius);
1085 float mX; member in class:android::uirenderer::DrawCircleOp
1093 : DrawOp(paint), mX(x), mY(y), mRadius(radius) {}
1096 renderer.drawCircle(*mX, *mY, *mRadius, mPaint);
1100 OP_LOG("Draw Circle Props x %p, y %p, r %p", mX, mY, mRadius);
1106 float* mX; member in class:android::uirenderer::DrawCirclePropsOp
1313 mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) {
1344 renderer.drawText(mText, mBytesCount, mCount, mX, m
1374 float mX; member in class:android::uirenderer::DrawTextOp
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java43 private float[] mX; field in class:FreePathInterpolator
61 mX = new float[numPoints];
79 mX[i] = x;
100 int endIndex = mX.length - 1;
112 if (t < mX[midIndex]) {
119 float xRange = mX[endIndex] - mX[startIndex];
124 float tInRange = t - mX[startIndex];
143 return mX[endIndex];
145 return mX[startInde
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java74 private final int mX; field in class:MeteringRectangle
92 mX = checkArgumentNonnegative(x, "x must be nonnegative");
116 mX = checkArgumentNonnegative(xy.x, "x must be nonnegative");
137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative");
150 return mX;
195 return new Point(mX, mY);
217 return new Rect(mX, mY, mX + mWidth, mY + mHeight);
243 return (mX == other.mX
[all...]
/frameworks/support/v4/donut/android/support/v4/view/animation/
H A DPathInterpolatorDonut.java33 private final float[] mX; field in class:PathInterpolatorDonut
42 mX = new float[numPoints];
50 mX[i] = position[0];
74 int endIndex = mX.length - 1;
77 if (t < mX[midIndex]) {
84 final float xRange = mX[endIndex] - mX[startIndex];
89 final float tInRange = t - mX[startIndex];
/frameworks/base/core/java/android/util/
H A DSpline.java125 private float[] mX; field in class:Spline.MonotoneCubicSpline
177 mX = x;
185 final int n = mX.length;
189 if (x <= mX[0]) {
192 if (x >= mX[n - 1]) {
199 while (x >= mX[i + 1]) {
201 if (x == mX[i]) {
207 float h = mX[i + 1] - mX[i];
208 float t = (x - mX[
233 private final float[] mX; field in class:Spline.LinearSpline
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java26 private float[] mX; // x coordinates in the line field in class:PathInterpolatorBuilder
67 mX = new float[numPoints];
84 mX[i] = x;
87 float dx = mX[i] - mX[i - 1];
103 return new PathInterpolator(mDist, mX);
111 private final float[] mX; // x coordinates in the line field in class:PathInterpolatorBuilder.PathInterpolator
115 mX = xs;
128 int endIndex = mX.length - 1;
132 if (t < mX[midInde
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRadialGradient.java33 private float mX; field in class:RadialGradient
66 mX = centerX;
89 mX = centerX;
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
110 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
/frameworks/av/services/audioflinger/
H A DLinearMap.h143 mX(new T[size]),
147 delete[] mX;
170 mStepValid = checkedDiff(&xdiff, x, mX[mPos], "x")
179 const int32_t xdiff2 = x - mX[prev];
189 mX[mPos] = x;
207 mX[mPos] = x;
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 an
360 T * const mX; // History of X values as a circular array. member in class:android::LinearMap
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java126 float mX = 0;
135 mX = x;
138 float dx = Math.abs(x - mX);
141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2);
142 mX = x;
171 float mX = 0;
184 mX = x;
187 float dx = Math.abs(x - mX);
190 path.quadTo(mX, m
[all...]
H A DGestureOverlayView.java92 private float mX; field in class:GestureOverlayView
561 mX = x;
613 final float previousX = mX;
640 mX = x;
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java50 private float[] mX; // x coordinates in the line field in class:PathInterpolator
167 mX = new float[numPoints];
183 mX[i] = x;
209 int endIndex = mX.length - 1;
213 if (t < mX[midIndex]) {
220 float xRange = mX[endIndex] - mX[startIndex];
225 float tInRange = t - mX[startIndex];
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java38 private float mX = 0.0f; field in class:DrawableHolder
53 mX = x;
132 canvas.translate(mX, mY);
159 mX = value;
179 return mX;
/frameworks/base/core/java/android/view/
H A DDragEvent.java130 float mX, mY; field in class:DragEvent
264 mX = x;
304 return obtain(source.mAction, source.mX, source.mY, source.mLocalState,
332 return mX;
456 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription
479 dest.writeFloat(mX);
510 event.mX = in.readFloat();
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp41 newBlock, newBlock->mX, newBlock->mY,
85 blockToRemove, blockToRemove->mX, blockToRemove->mY,
268 *retOriginX = cacheBlock->mX;
274 uint16_t oldX = cacheBlock->mX;
277 cacheBlock->mX += roundedUpW;
285 newBlock, newBlock->mX, newBlock->mY,
296 cacheBlock, cacheBlock->mX, cacheBlock->mY,
H A DCacheTexture.h49 uint16_t mX; 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,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCirclePropActivity.java65 CanvasProperty<Float> mX; field in class:CirclePropActivity.CircleView
74 mX = CanvasProperty.createFloat(200.0f);
92 displayListCanvas.drawCircle(mX, mY, mRadius, mPaint);
106 mX, mToggle ? 400.0f : 200.0f));
/frameworks/base/core/java/android/text/method/
H A DTouch.java125 if (Math.abs(event.getX() - ds[0].mX) >= slop ||
144 dx = event.getX() - ds[0].mX;
147 dx = ds[0].mX - event.getX();
150 ds[0].mX = event.getX();
199 public float mX; field in class:Touch.DragState
207 mX = x;
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java49 private float mX; field in class:TestLatencyView
72 mDX = x - mX;
73 mX = x;
102 x = mX;
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java133 touchPoints[numPointsFound].mX = Math.round(mTempPos[0]);
310 float mX; field in class:GestureDescription.TouchPoint
317 mX = other.mX;
429 moveFound |= (lastTouchPoints[lastPointsIndex].mX != currentTouchPoints[i].mX)
499 pointerCoords[i].x = touchPoints[i].mX;
/frameworks/base/core/java/android/hardware/
H A DGeomagneticField.java36 private float mX; field in class:GeomagneticField
234 mX = (float) (gcX * Math.cos(latDiffRad)
245 return mX;
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/widget/
H A DToast.java214 mTN.mX = xOffset;
231 return mTN.mX;
349 int mX, mY; field in class:Toast.TN
420 mParams.x = mX;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient_Delegate.java97 private final float mX; field in class:RadialGradient_Delegate.RadialGradientPaint
104 mX = x;
184 pt1[0] = pt2[0] - mX;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) {
645 if (tile.mX == parent.mX) {
664 public int mX; field in class:TiledImageRenderer.Tile
672 mX = x;
690 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse);
703 int rightEdge = ((mImageWidth - mX) >> mTileLevel);
728 mX = x;
739 int x = size * (mX / size);
747 mX / mTileSiz
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java395 final int mX; field in class:AssistStructure.WindowNode
407 mX = rect.left - view.getLeft();
428 mX = in.readInt();
438 out.writeInt(mX);
451 return mX;
518 int mX; field in class:AssistStructure.ViewNode
586 mX = in.readInt();
592 mX = val&0x7fff;
640 if ((mX&~0x7fff) != 0 || (mY&~0x7fff) != 0
685 out.writeInt(mX);
[all...]

Completed in 642 milliseconds

12