Home
last modified time | relevance | path

Searched refs:mXCenter (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DCircleView.java43 private int mXCenter; field in CircleView
99 mXCenter = getWidth() / 2; in onDraw()
101 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw()
116 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaint); in onDraw()
120 canvas.drawCircle(mXCenter, mYCenter, 2, mPaint); in onDraw()
DRadialSelectorView.java63 private int mXCenter; field in RadialSelectorView
203 (pointX - mXCenter)*(pointX - mXCenter)); in getDegreesFromCoords()
257 boolean rightSide = (pointX > mXCenter); in getDegreesFromCoords()
279 mXCenter = getWidth() / 2; in onDraw()
281 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw()
298 int pointX = mXCenter + (int) (mLineLength * Math.sin(mSelectionRadians)); in onDraw()
314 pointX = mXCenter + (int) (lineLength * Math.sin(mSelectionRadians)); in onDraw()
321 canvas.drawLine(mXCenter, mYCenter, pointX, pointY, mPaint); in onDraw()
DRadialTextsView.java59 private int mXCenter; field in RadialTextsView
181 mXCenter = getWidth() / 2; in onDraw()
183 mCircleRadius = Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier; in onDraw()
210 calculateGridSizes(numbersRadius, mXCenter, mYCenter, in onDraw()
216 calculateGridSizes(innerNumbersRadius, mXCenter, mYCenter, in onDraw()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java168 private int mXCenter; field in RadialTimePickerView
637 mXCenter = getWidth() / 2; in onLayout()
639 mCircleRadius = Math.min(mXCenter, mYCenter); in onLayout()
662 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaintBackground); in drawCircleBackground()
713 canvas.drawCircle(mXCenter, mYCenter, mCenterDotRadius, mPaintCenter); in drawCenter()
734 final float selCenterX = mXCenter + selLength * (float) Math.sin(selAngleRad); in drawSelector()
761 final int centerX = mXCenter + (int) (mCenterDotRadius * sin); in drawSelector()
770 canvas.drawLine(mXCenter, mYCenter, linePointX, linePointY, linePaint); in drawSelector()
778 calculatePositions(mPaint[HOURS], numbersRadius, mXCenter, mYCenter, in calculatePositionsHours()
784 calculatePositions(mPaint[HOURS], innerNumbersRadius, mXCenter, mYCenter, in calculatePositionsHours()
[all …]