/frameworks/base/core/java/android/util/ |
D | Spline.java | 125 private float[] mX; field in Spline.MonotoneCubicSpline 177 mX = x; in MonotoneCubicSpline() 185 final int n = mX.length; in interpolate() 189 if (x <= mX[0]) { in interpolate() 192 if (x >= mX[n - 1]) { in interpolate() 199 while (x >= mX[i + 1]) { in interpolate() 201 if (x == mX[i]) { in interpolate() 207 float h = mX[i + 1] - mX[i]; in interpolate() 208 float t = (x - mX[i]) / h; in interpolate() 217 final int n = mX.length; in toString() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 74 private final int mX; field in MeteringRectangle 92 mX = checkArgumentNonnegative(x, "x must be nonnegative"); in MeteringRectangle() 116 mX = checkArgumentNonnegative(xy.x, "x must be nonnegative"); in MeteringRectangle() 137 mX = checkArgumentNonnegative(rect.left, "rect.left must be nonnegative"); in MeteringRectangle() 150 return mX; in getX() 195 return new Point(mX, mY); in getUpperLeftPoint() 217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect() 243 return (mX == other.mX 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/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 26 private float[] mX; // x coordinates in the line field in PathInterpolatorBuilder 67 mX = new float[numPoints]; in initPath() 84 mX[i] = x; in initPath() 87 float dx = mX[i] - mX[i - 1]; in initPath() 103 return new PathInterpolator(mDist, mX); in getXInterpolator() 111 private final float[] mX; // x coordinates in the line field in PathInterpolatorBuilder.PathInterpolator 115 mX = xs; in PathInterpolator() 128 int endIndex = mX.length - 1; in getInterpolation() 132 if (t < mX[midIndex]) { in getInterpolation() 139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() [all …]
|
/frameworks/base/libs/hwui/ |
D | RevealClip.h | 28 RevealClip() : mShouldClip(false), mX(0), mY(0), mRadius(0) {} in RevealClip() 32 mX = x; in set() 45 outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius); in getBounds() 49 float getX() const { return mX; } in getX() 60 float mX; variable
|
D | Interpolator.cpp | 106 size_t endIndex = mX.size() - 1; in interpolate() 110 if (t < mX[midIndex]) { in interpolate() 117 float xRange = mX[endIndex] - mX[startIndex]; in interpolate() 122 float tInRange = t - mX[startIndex]; in interpolate()
|
/frameworks/base/core/java/android/hardware/display/ |
D | Curve.java | 24 private final float[] mX; field in Curve 28 mX = x; in Curve() 33 return mX; in getX() 54 out.writeFloatArray(mX); in writeToParcel() 66 final int size = mX.length; in toString() 71 sb.append("(").append(mX[i]).append(", ").append(mY[i]).append(")"); in toString()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureStroke.java | 126 float mX = 0; in makePath() local 135 mX = x; in makePath() 138 float dx = Math.abs(x - mX); in makePath() 141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in makePath() 142 mX = x; in makePath() 171 float mX = 0; in toPath() local 184 mX = x; in toPath() 187 float dx = Math.abs(x - mX); in toPath() 190 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in toPath() 191 mX = x; in toPath()
|
/frameworks/base/core/java/android/hardware/face/ |
D | FaceEnrollCell.java | 29 private final int mX; field in FaceEnrollCell 41 mX = x; in FaceEnrollCell() 50 return mX; in getX() 68 mX = source.readInt(); in FaceEnrollCell() 80 dest.writeInt(mX); in writeToParcel()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualTouchEvent.java | 83 private final float mX; field in VirtualTouchEvent 93 mX = x; in VirtualTouchEvent() 103 mX = parcel.readFloat(); in VirtualTouchEvent() 114 dest.writeFloat(mX); in writeToParcel() 150 return mX; in getX() 182 private float mX = 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() 248 mX = absX; in setX()
|
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | InkView.java | 39 private float mX, mY; field in InkView 81 mX = x; in stylusStart() 87 float dx = Math.abs(x - mX); in stylusMove() 93 mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in stylusMove() 94 mX = x; in stylusMove() 100 mPath.lineTo(mX, mY); in stylusFinish() 103 mX = 0; in stylusFinish()
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 56 private float[] mX; // x coordinates in the line field in PathInterpolator 173 mX = new float[numPoints]; in initPath() 189 mX[i] = x; in initPath() 215 int endIndex = mX.length - 1; in getInterpolation() 219 if (t < mX[midIndex]) { in getInterpolation() 226 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() 231 float tInRange = t - mX[startIndex]; in getInterpolation() 242 return NativeInterpolatorFactory.createPathInterpolator(mX, mY); in createNativeInterpolator()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 34 int mX; field in MotionEventMatcher 41 mX = x; in MotionEventMatcher() 64 && ((int) event.getX() == mX) in matchesSafely() 79 Log.e(LOG_TAG, "event.getX() = " + event.getX() + ", expected " + mX); in matchesSafely()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 38 private float mX = 0.0f; field in DrawableHolder 53 mX = x; in DrawableHolder() 132 canvas.translate(mX, mY); in draw() 159 mX = value; in setX() 179 return mX; in getX()
|
/frameworks/base/core/java/android/view/ |
D | DragEvent.java | 133 float mX, mY; field in DragEvent 297 mX = x; in init() 343 return obtain(source.mAction, source.mX, source.mY, source.mOffsetX, source.mOffsetY, in obtain() 371 return mX; in getX() 547 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString() 570 dest.writeFloat(mX); in writeToParcel() 609 event.mX = in.readFloat();
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 125 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent() 144 dx = event.getX() - ds[0].mX; in onTouchEvent() 147 dx = ds[0].mX - event.getX(); in onTouchEvent() 150 ds[0].mX = event.getX(); in onTouchEvent() 199 public float mX; field in Touch.DragState 207 mX = x; in DragState()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 37 private float mX; field in GeomagneticField 238 mX = (float) (gcX * Math.cos(latDiffRad) in GeomagneticField() 249 return mX; in getX() 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/ |
D | CirclePropActivity.java | 65 CanvasProperty<Float> mX; field in CirclePropActivity.CircleView 74 mX = CanvasProperty.createFloat(200.0f); in CircleView() 92 recordingCanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw() 106 mX, mToggle ? 400.0f : 200.0f)); in performClick()
|
D | RippleActivity.java | 57 CanvasProperty<Float> mX; field in RippleActivity.RippleView 101 mX = CanvasProperty.createFloat(200.0f); in RippleView() 122 recordingCanvas.drawRipple(mX, mY, mRadius, mPaint, mProgress, mNoisePhase, in onDraw() 137 mX, mToggle ? 400.0f : 200.0f)); in performClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 62 private int mX; field in QSCustomizer 124 mX = x - containerLocation[0]; in show() 130 mX, mY, true, new ExpandAnimatorListener(tileAdapter)); in show() 160 duration = mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener); in hide() 186 mX = x - containerLocation[0]; in setEditLocation()
|
/frameworks/av/media/libaaudio/src/flowgraph/resampler/ |
D | PolyphaseResamplerMono.cpp | 34 float *dest = &mX[mCursor * MONO]; in writeFrame() 49 float *xFrame = &mX[mCursor * MONO]; in readFrame()
|
D | PolyphaseResamplerStereo.cpp | 34 float *dest = &mX[mCursor * STEREO]; in writeFrame() 53 float *xFrame = &mX[mCursor * STEREO]; in readFrame()
|
D | SincResamplerStereo.cpp | 36 float *dest = &mX[mCursor * STEREO]; in writeFrame() 65 float *xFrame = &mX[static_cast<size_t>(mCursor) * static_cast<size_t>(getChannelCount())]; in readFrame()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 157 touchPoints[numPointsFound].mX = Math.round(mTempPos[0]); in getPointsForTime() 436 public float mX; field in GestureDescription.TouchPoint 452 mX = parcel.readFloat(); in TouchPoint() 461 mX = other.mX; in copyFrom() 472 + ", mX=" + mX in toString() 489 dest.writeFloat(mX); in writeToParcel()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | RenderingJitter.java | 282 private float mX; field in RenderingJitter.AnimatedBackgroundDrawable 298 mX += (mReverseX ? -mMoveStep : mMoveStep); in draw() 301 canvas.drawCircle(mX, mY, mRadius, mPaint); in draw() 307 if (mX <= mRadius) { in clampXY() 309 mX = mRadius; in clampXY() 316 if (mX >= maxX) { in clampXY() 318 mX = maxX; in clampXY()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 49 private float mX; field in TestLatencyView 72 mDX = x - mX; in onTouchEvent() 73 mX = x; in onTouchEvent() 102 x = mX; in onDrawFrame()
|