Searched defs:textSize (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL),
47 textSize = paint->getTextSize();
87 float textSize; member in struct:android::uirenderer::ShadowText
H A DOpenGLRenderer.cpp3087 const float textSize = paintCopy.getTextSize(); local
3088 const float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
3102 top = y + textSize * kStdUnderline_Offset;
3110 top = y + textSize * kStdStrikeThru_Offset;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java236 float textSize, float[] textGridHeights, float[] textGridWidths) {
245 mPaint.setTextSize(textSize);
268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
270 mPaint.setTextSize(textSize);
235 calculateGridSizes(float numbersRadius, float xCenter, float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) argument
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java928 float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) {
938 paint.setTextSize(textSize);
961 private void drawTextElements(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
963 paint.setTextSize(textSize);
927 calculateGridSizes(Paint paint, float numbersRadius, float xCenter, float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp388 static void setTextSize(JNIEnv* env, jobject paint, jfloat textSize) { argument
390 GraphicsJNI::getNativePaint(env, paint)->setTextSize(textSize);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp466 float textSize = paint.getTextSize(); local
467 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
469 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth;
470 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth;
474 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth;
475 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java471 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument
478 delegate.mTextSize = textSize;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1235 * @param textSize set the paint's text size.
1237 public native void setTextSize(float textSize); argument
1373 * settings for typeface, textSize, etc. If metrics is not null, return the
1412 * typeface, textSize, etc. If metrics is not null, return the fontmetric

Completed in 2364 milliseconds