Searched refs:textGridWidths (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialTextsView.java | 236 float textSize, float[] textGridHeights, float[] textGridWidths) { 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() 269 float[] textGridWidths, float[] textGridHeights) { in drawTexts() argument 272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint); in drawTexts() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 928 float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) { in calculateGridSizes() argument 943 textGridWidths[0] = xCenter - offset1; in calculateGridSizes() 945 textGridWidths[1] = xCenter - offset2; in calculateGridSizes() 947 textGridWidths[2] = xCenter - offset3; in calculateGridSizes() 949 textGridWidths[3] = xCenter; in calculateGridSizes() 951 textGridWidths[4] = xCenter + offset3; in calculateGridSizes() 953 textGridWidths[5] = xCenter + offset2; in calculateGridSizes() 955 textGridWidths[6] = xCenter + offset1; in calculateGridSizes() 962 float[] textGridWidths, float[] textGridHeights, Paint paint, int color, int alpha) { in drawTextElements() argument 967 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], paint); in drawTextElements() [all …]
|