Searched refs:textGridHeights (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 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() 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 942 textGridHeights[0] = yCenter - offset1; in calculateGridSizes() 944 textGridHeights[1] = yCenter - offset2; in calculateGridSizes() 946 textGridHeights[2] = yCenter - offset3; in calculateGridSizes() 948 textGridHeights[3] = yCenter; in calculateGridSizes() 950 textGridHeights[4] = yCenter + offset3; in calculateGridSizes() 952 textGridHeights[5] = yCenter + offset2; in calculateGridSizes() 954 textGridHeights[6] = yCenter + 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 …]
|