/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/telephony/java/android/telephony/satellite/ |
D | AntennaDirection.java | 42 private float mX; field in AntennaDirection 55 mX = x; in AntennaDirection() 71 out.writeFloat(mX); in writeToParcel() 94 sb.append(mX); in toString() 111 return mX == that.mX in equals() 118 return Objects.hash(mX, mY, mZ); in hashCode() 122 return mX; in getX() 134 mX = in.readFloat(); in readFromParcel()
|
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | AntennaDirectionWrapper.java | 36 private float mX; field in AntennaDirectionWrapper 45 mX = x; in AntennaDirectionWrapper() 55 sb.append(mX); in toString() 72 return mX == that.mX && mY == that.mY && mZ == that.mZ; in equals() 77 return Objects.hash(mX, mY, mZ); in hashCode() 81 return mX; in getX()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | PropertyAccessPerfTest.java | 42 private Field mX; field in PropertyAccessPerfTest 48 mX = View.class.getDeclaredField("mX"); in setUp() 63 mView.mX = 0.1f; in timeDirectFieldSet() 81 mView.mX = value; in timeDirectFieldSetAndBomXing() 106 mX.setFloat(mView, 0.1f); in timeReflectionFieldSet() 127 float mX; field in PropertyAccessPerfTest.View 129 public void mSetX(float mX) { in mSetX() argument 130 this.mX = mX; in mSetX() 146 v.mX = f; in setFloat()
|
/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/native/services/inputflinger/tests/ |
D | FakePointerController.cpp | 36 mX = x; in setPosition() 41 return {mX, mY}; in getPosition() 67 mX += deltaX; in move() 68 if (mX < mMinX) mX = mMinX; in move() 69 if (mX > mMaxX) mX = mMaxX; in move()
|
/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/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | InkView.java | 37 private float mX, mY; field in InkView 78 mX = x; in stylusStart() 83 float dx = Math.abs(x - mX); in stylusMove() 89 mPath.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in stylusMove() 90 mX = x; in stylusMove() 96 mPath.lineTo(mX, mY); in stylusFinish() 99 mX = 0; in stylusFinish()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualTouchEvent.java | 95 private final float mX; field in VirtualTouchEvent 106 mX = x; in VirtualTouchEvent() 117 mX = parcel.readFloat(); in VirtualTouchEvent() 129 dest.writeFloat(mX); in writeToParcel() 166 return mX; in getX() 208 private float mX = Float.NaN; field in VirtualTouchEvent.Builder 223 || mAction == ACTION_UNKNOWN || Float.isNaN(mX) || Float.isNaN(mY)) { in build() 232 return new VirtualTouchEvent(mPointerId, mToolType, mAction, mX, mY, mPressure, in build() 287 mX = absX; in setX()
|
/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/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()
|
/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/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 62 private int mX; field in QSCustomizer 131 mX = x - containerLocation[0]; in show() 137 mX, mY, true, new ExpandAnimatorListener(tileAdapter)); in show() 168 duration = mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener); in hide() 194 mX = x - containerLocation[0]; in setEditLocation()
|