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

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h34 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL),
45 textSize = paint->getTextSize();
85 float textSize; member in struct:android::uirenderer::ShadowText
H A DOpenGLRenderer.cpp3249 const float textSize = paintCopy.getTextSize(); local
3250 const float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
3264 top = y + textSize * kStdUnderline_Offset;
3272 top = y + textSize * kStdStrikeThru_Offset;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java225 float textSize, float[] textGridHeights, float[] textGridWidths) {
234 mPaint.setTextSize(textSize);
257 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
259 mPaint.setTextSize(textSize);
224 calculateGridSizes(float numbersRadius, float xCenter, float yCenter, float textSize, float[] textGridHeights, float[] textGridWidths) argument
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.h102 SkScalar textSize; member in class:android::TextLayoutCacheKey
H A DCanvas.cpp826 float textSize = paint->getTextSize(); local
827 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f);
829 SkScalar top = SkFloatToScalar(y + textSize * kStdUnderline_Offset
831 SkScalar bottom = SkFloatToScalar(y + textSize * kStdUnderline_Offset
836 SkScalar top = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset
838 SkScalar bottom = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset
H A DPaint.cpp311 static void setTextSize(JNIEnv* env, jobject paint, jfloat textSize) { argument
313 GraphicsJNI::getNativePaint(env, paint)->setTextSize(SkFloatToScalar(textSize));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java443 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument
450 delegate.mTextSize = textSize;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1124 * @param textSize set the paint's text size.
1126 public native void setTextSize(float textSize); argument
1212 * settings for typeface, textSize, etc. If metrics is not null, return the
1251 * typeface, textSize, etc. If metrics is not null, return the fontmetric

Completed in 348 milliseconds