Searched refs:pointY (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialSelectorView.java | 195 public int getDegreesFromCoords(float pointX, float pointY, boolean forceLegal, in getDegreesFromCoords() argument 202 (pointY - mYCenter)*(pointY - mYCenter) + in getDegreesFromCoords() 252 float opposite = Math.abs(pointY - mYCenter); in getDegreesFromCoords() 258 boolean topSide = (pointY < mYCenter); in getDegreesFromCoords() 299 int pointY = mYCenter - (int) (mLineLength * Math.cos(mSelectionRadians)); in onDraw() local 303 canvas.drawCircle(pointX, pointY, mSelectionRadius, mPaint); in onDraw() 308 canvas.drawCircle(pointX, pointY, (mSelectionRadius * 2 / 7), mPaint); in onDraw() 315 pointY = mYCenter - (int) (lineLength * Math.cos(mSelectionRadians)); in onDraw() 321 canvas.drawLine(mXCenter, mYCenter, pointX, pointY, mPaint); in onDraw()
|
D | RadialPickerLayout.java | 495 private int getDegreesFromCoords(float pointX, float pointY, boolean forceLegal, in getDegreesFromCoords() argument 500 pointX, pointY, forceLegal, isInnerCircle); in getDegreesFromCoords() 503 pointX, pointY, forceLegal, isInnerCircle); in getDegreesFromCoords()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SelectionActionModeHelperTest.java | 106 private void testMovePointInsideNearestRectangle(final float pointX, final float pointY, in testMovePointInsideNearestRectangle() argument 109 final PointF point = new PointF(pointX, pointY); in testMovePointInsideNearestRectangle()
|