Searched refs:mXCenter (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | CircleView.java | 43 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()
|
D | RadialSelectorView.java | 63 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()
|
D | RadialTextsView.java | 59 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/ |
D | RadialTimePickerView.java | 176 private int mXCenter; field in RadialTimePickerView 649 mXCenter = getWidth() / 2; in onLayout() 651 mCircleRadius = Math.min(mXCenter, mYCenter); in onLayout() 719 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaintBackground); in drawCircleBackground() 782 canvas.drawCircle(mXCenter, mYCenter, mCenterDotRadius, mPaintCenter); in drawCenter() 807 final float selCenterX = mXCenter + selLength * (float) Math.sin(selAngleRad); in drawSelector() 834 final int centerX = mXCenter + (int) (mCenterDotRadius * sin); in drawSelector() 843 canvas.drawLine(mXCenter, mYCenter, linePointX, linePointY, linePaint); in drawSelector() 851 calculatePositions(mPaint[HOURS], numbersRadius, mXCenter, mYCenter, in calculatePositionsHours() 857 calculatePositions(mPaint[HOURS], innerNumbersRadius, mXCenter, mYCenter, in calculatePositionsHours() [all …]
|