/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MeteringRectangle.java | 75 private final int mY; field in MeteringRectangle 93 mY = checkArgumentNonnegative(y, "y must be nonnegative"); in MeteringRectangle() 117 mY = checkArgumentNonnegative(xy.y, "y must be nonnegative"); in MeteringRectangle() 138 mY = checkArgumentNonnegative(rect.top, "rect.top must be nonnegative"); in MeteringRectangle() 159 return mY; in getY() 195 return new Point(mX, mY); in getUpperLeftPoint() 217 return new Rect(mX, mY, mX + mWidth, mY + mHeight); in getRect() 244 && mY == other.mY 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/core/java/android/util/ |
D | Spline.java | 126 private float[] mY; field in Spline.MonotoneCubicSpline 178 mY = y; in MonotoneCubicSpline() 190 return mY[0]; in interpolate() 193 return mY[n - 1]; in interpolate() 202 return mY[i]; in interpolate() 209 return (mY[i] * (1 + 2 * t) + h * mM[i] * t) * (1 - t) * (1 - t) in interpolate() 210 + (mY[i + 1] * (3 - 2 * t) + h * mM[i + 1] * (t - 1)) * t * t; in interpolate() 224 str.append(", ").append(mY[i]); in toString() 234 private final float[] mY; field in Spline.LinearSpline 248 mY = y; in LinearSpline() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 27 private float[] mY; // y coordinates in the line field in PathInterpolatorBuilder 68 mY = new float[numPoints]; in initPath() 85 mY[i] = y; in initPath() 88 float dy = mY[i] - mY[i - 1]; in initPath() 107 return new PathInterpolator(mDist, mY); in getYInterpolator() 112 private final float[] mY; // y coordinates in the line field in PathInterpolatorBuilder.PathInterpolator 116 mY = ys; in PathInterpolator() 141 return mY[startIndex]; in getInterpolation() 147 float startY = mY[startIndex]; in getInterpolation() 148 float endY = mY[endIndex]; in getInterpolation()
|
/frameworks/base/libs/hwui/ |
D | RevealClip.h | 28 RevealClip() : mShouldClip(false), mX(0), mY(0), mRadius(0) {} in RevealClip() 33 mY = y; in set() 45 outBounds->set(mX - mRadius, mY - mRadius, mX + mRadius, mY + mRadius); in getBounds() 50 float getY() const { return mY; } in getY() 61 float mY; variable
|
D | Interpolator.cpp | 119 return mY[startIndex]; in interpolate() 125 float startY = mY[startIndex]; in interpolate() 126 float endY = mY[endIndex]; in interpolate()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureStroke.java | 127 float mY = 0; in makePath() local 136 mY = y; in makePath() 139 float dy = Math.abs(y - mY); in makePath() 141 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in makePath() 143 mY = y; in makePath() 172 float mY = 0; in toPath() local 185 mY = y; in toPath() 188 float dy = Math.abs(y - mY); in toPath() 190 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); in toPath() 192 mY = y; in toPath()
|
/frameworks/base/core/java/android/hardware/display/ |
D | Curve.java | 25 private final float[] mY; field in Curve 29 mY = y; in Curve() 37 return mY; in getY() 55 out.writeFloatArray(mY); in writeToParcel() 71 sb.append("(").append(mX[i]).append(", ").append(mY[i]).append(")"); in toString()
|
/frameworks/base/core/java/android/view/ |
D | DragEvent.java | 132 float mX, mY; field in DragEvent 281 mY = y; in init() 321 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain() 358 return mY; in getY() 482 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString() 506 dest.writeFloat(mY); in writeToParcel() 537 event.mY = in.readFloat();
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 56 private float[] mY; // y coordinates in the line field in PathInterpolator 172 mY = new float[numPoints]; in initPath() 188 mY[i] = y; in initPath() 226 return mY[startIndex]; in getInterpolation() 232 float startY = mY[startIndex]; in getInterpolation() 233 float endY = mY[endIndex]; in getInterpolation() 240 return NativeInterpolatorFactory.createPathInterpolator(mX, mY); in createNativeInterpolator()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 35 int mY; field in MotionEventMatcher 42 mY = y; in MotionEventMatcher() 65 && ((int) event.getY() == mY)) { in matchesSafely() 80 Log.e(LOG_TAG, "event.getY() = " + event.getY() + ", expected " + mY); in matchesSafely()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DrawableHolder.java | 39 private float mY = 0.0f; field in DrawableHolder 54 mY = y; in DrawableHolder() 132 canvas.translate(mX, mY); in draw() 163 mY = value; in setY() 183 return mY; in getY()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent() 145 dy = event.getY() - ds[0].mY; in onTouchEvent() 148 dy = ds[0].mY - event.getY(); in onTouchEvent() 151 ds[0].mY = event.getY(); in onTouchEvent() 200 public float mY; field in Touch.DragState 208 mY = y; in DragState()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 37 private float mY; field in GeomagneticField 236 mY = gcY; in GeomagneticField() 252 return mY; in getY() 268 return (float) Math.toDegrees(Math.atan2(mY, mX)); in getDeclination() 284 return (float) Math.hypot(mX, mY); in getHorizontalStrength() 291 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); in getFieldStrength()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | AnimatedDrawables.h | 62 : mX(x), mY(y), mRadius(radius), mPaint(paint) {} in AnimatedCircle() 67 const float y = mY->value; in onGetBounds() 72 canvas->drawCircle(mX->value, mY->value, mRadius->value, mPaint->value); in onDraw() 77 sp<uirenderer::CanvasPropertyPrimitive> mY; variable
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | CirclePropActivity.java | 66 CanvasProperty<Float> mY; field in CirclePropActivity.CircleView 75 mY = CanvasProperty.createFloat(200.0f); in CircleView() 92 recordingCanvas.drawCircle(mX, mY, mRadius, mPaint); in onDraw() 109 mY, mToggle ? 600.0f : 200.0f)); in performClick()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 158 touchPoints[numPointsFound].mY = Math.round(mTempPos[1]); in getPointsForTime() 437 public float mY; field in GestureDescription.TouchPoint 453 mY = parcel.readFloat(); in TouchPoint() 462 mY = other.mY; in copyFrom() 473 + ", mY=" + mY in toString() 490 dest.writeFloat(mY); in writeToParcel()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RadialGradient.java | 29 private float mY; field in RadialGradient 110 mY = centerY; in RadialGradient() 152 return nativeCreate(nativeMatrix, mX, mY, mRadius, in createNativeInstance()
|
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/ |
D | MainActivity.java | 42 static private int mY = 2; field in MainActivity 68 s.set_b_startval(mY); in findMinUserTypeAutoComb() 76 s.set_b_startval(mY); in findMinUserType()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | ToastUI.java | 54 private final int mY; field in ToastUI 76 mY = resources.getDimensionPixelSize(R.dimen.toast_y_offset); in ToastUI() 96 mPresenter.show(view, token, windowToken, duration, mGravity, 0, mY, 0, 0, mCallback); in showToast()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | RenderingJitter.java | 283 private float mY; field in RenderingJitter.AnimatedBackgroundDrawable 299 mY += (mReverseY ? -mMoveStep : mMoveStep); in draw() 301 canvas.drawCircle(mX, mY, mRadius, mPaint); in draw() 311 if (mY <= mRadius) { in clampXY() 313 mY = mRadius; in clampXY() 321 if (mY >= maxY) { in clampXY() 323 mY = maxY; in clampXY()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 50 private float mY; field in TestLatencyView 74 mDY = y - mY; in onTouchEvent() 75 mY = y; in onTouchEvent() 103 y = mY; in onDrawFrame()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 310 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 649 if (tile.mY == parent.mY) { in drawTile() 662 public int mY; field in TiledImageRenderer.Tile 670 mY = y; in Tile() 687 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode() 701 int bottomEdge = ((mImageHeight - mY) >> mTileLevel); in onGetBitmap() 726 mY = y; in update() 737 int y = size * (mY / size); in getParentTile() 744 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | RadialGradient_Delegate.java | 95 private final float mY; field in RadialGradient_Delegate.RadialGradientPaint 102 mY = y; in RadialGradientPaint() 183 float _y = pt2[1] - mY; in getRaster()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 87 private int mY; field in QSCustomizer 192 mY = y - containerLocation[1]; in show() 198 mClipper.animateCircularClip(mX, mY, true, mExpandAnimationListener); in show() 241 mClipper.animateCircularClip(mX, mY, false, mCollapseAnimationListener); in hide() 323 mY = y - containerLocation[1]; in setEditLocation()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchState.java | 440 return mReceivedPointers[pointerId].mY; in getReceivedPointerDownY() 545 private float mY; field in TouchState.PointerDownInfo 550 mY = y; in set() 556 mY = 0; in clear()
|