Searched refs:pointY (Results 1 – 2 of 2) 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 | 493 private int getDegreesFromCoords(float pointX, float pointY, boolean forceLegal, in getDegreesFromCoords() argument 498 pointX, pointY, forceLegal, isInnerCircle); in getDegreesFromCoords() 501 pointX, pointY, forceLegal, isInnerCircle); in getDegreesFromCoords()
|