Searched refs:xCenter (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 250 textGridWidths[0] = xCenter - offset1; in calculateGridSizes() 252 textGridWidths[1] = xCenter - offset2; in calculateGridSizes() 254 textGridWidths[2] = xCenter - offset3; in calculateGridSizes() 256 textGridWidths[3] = xCenter; in calculateGridSizes() 258 textGridWidths[4] = xCenter + offset3; in calculateGridSizes() 260 textGridWidths[5] = xCenter + offset2; in calculateGridSizes() 262 textGridWidths[6] = xCenter + offset1; in calculateGridSizes()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 803 private static void calculatePositions(Paint paint, float radius, float xCenter, float yCenter, in calculatePositions() argument 810 x[i] = xCenter - radius * COS_30[i]; in calculatePositions() 1318 final float xCenter = mXCenter + centerRadius * (float) Math.sin(radians); in getBoundsForVirtualView() local 1321 bounds.set((int) (xCenter - radius), (int) (yCenter - radius), in getBoundsForVirtualView() 1322 (int) (xCenter + radius), (int) (yCenter + radius)); in getBoundsForVirtualView()
|