Searched refs:yCenter (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialTextsView.java | 235 private void calculateGridSizes(float numbersRadius, float xCenter, float yCenter, in calculateGridSizes() argument 247 yCenter -= (mPaint.descent() + mPaint.ascent()) / 2; in calculateGridSizes() 249 textGridHeights[0] = yCenter - offset1; in calculateGridSizes() 251 textGridHeights[1] = yCenter - offset2; in calculateGridSizes() 253 textGridHeights[2] = yCenter - offset3; in calculateGridSizes() 255 textGridHeights[3] = yCenter; in calculateGridSizes() 257 textGridHeights[4] = yCenter + offset3; in calculateGridSizes() 259 textGridHeights[5] = yCenter + offset2; in calculateGridSizes() 261 textGridHeights[6] = yCenter + offset1; in calculateGridSizes()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 877 private static void calculatePositions(Paint paint, float radius, float xCenter, float yCenter, in calculatePositions() argument 881 yCenter -= (paint.descent() + paint.ascent()) / 2; in calculatePositions() 885 y[i] = yCenter - radius * SIN_30[i]; in calculatePositions() 1341 final float yCenter = mYCenter - centerRadius * (float) Math.cos(radians); in getBoundsForVirtualView() local 1343 bounds.set((int) (xCenter - radius), (int) (yCenter - radius), in getBoundsForVirtualView() 1344 (int) (xCenter + radius), (int) (yCenter + radius)); in getBoundsForVirtualView()
|