Home
last modified time | relevance | path

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

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DCircleView.java44 private int mYCenter; field in CircleView
100 mYCenter = getHeight() / 2; in onDraw()
101 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw()
108 mYCenter -= amPmCircleRadius / 2; in onDraw()
116 canvas.drawCircle(mXCenter, mYCenter, mCircleRadius, mPaint); in onDraw()
120 canvas.drawCircle(mXCenter, mYCenter, 2, mPaint); in onDraw()
DRadialSelectorView.java64 private int mYCenter; field in RadialSelectorView
202 (pointY - mYCenter)*(pointY - mYCenter) + in getDegreesFromCoords()
252 float opposite = Math.abs(pointY - mYCenter); in getDegreesFromCoords()
258 boolean topSide = (pointY < mYCenter); in getDegreesFromCoords()
280 mYCenter = getHeight() / 2; in onDraw()
281 mCircleRadius = (int) (Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier); in onDraw()
288 mYCenter -= amPmCircleRadius / 2; in onDraw()
299 int pointY = mYCenter - (int) (mLineLength * Math.cos(mSelectionRadians)); in onDraw()
315 pointY = mYCenter - (int) (lineLength * Math.cos(mSelectionRadians)); in onDraw()
321 canvas.drawLine(mXCenter, mYCenter, pointX, pointY, mPaint); in onDraw()
DRadialTextsView.java60 private int mYCenter; field in RadialTextsView
182 mYCenter = getHeight() / 2; in onDraw()
183 mCircleRadius = Math.min(mXCenter, mYCenter) * mCircleRadiusMultiplier; in onDraw()
189 mYCenter -= amPmCircleRadius / 2; in onDraw()
210 calculateGridSizes(numbersRadius, mXCenter, mYCenter, in onDraw()
216 calculateGridSizes(innerNumbersRadius, mXCenter, mYCenter, in onDraw()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java169 private int mYCenter; field in RadialTimePickerView
638 mYCenter = getHeight() / 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()
735 final float selCenterY = mYCenter - selLength * (float) Math.cos(selAngleRad); in drawSelector()
762 final int centerY = mYCenter - (int) (mCenterDotRadius * cos); 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 …]