/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) { 44 textSize = paint->getTextSize(); 64 float textSize; member in struct:android::uirenderer::ShadowText 87 LTE_FLOAT(textSize) {
|
H A D | OpenGLRenderer.cpp | 2994 const float textSize = paintCopy.getTextSize(); local 2995 const float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); 3009 top = y + textSize * kStdUnderline_Offset; 3017 top = y + textSize * kStdStrikeThru_Offset;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestView.java | 146 boolean isItalic, boolean isBold, int dir, int textSize) { 160 paint.setTextSize(textSize); 172 drawMetricsAroundText(canvas, x, y, textWidthHB, textWidthICU, textSize, Color.RED, Color.GREEN); 195 float textWidthICU, int textSize, int color, int colorICU) { 198 canvas.drawLine(x, y - textSize, x, y + 8, paint); 200 canvas.drawLine(x + textWidthHB, y - textSize, x + textWidthHB, y + 8, paint); 202 canvas.drawLine(x + textWidthICU, y - textSize, x + textWidthICU, y + 8, paint); 145 testString(Canvas canvas, String text, int x, int y, boolean isItalic, boolean isBold, int dir, int textSize) argument 194 drawMetricsAroundText(Canvas canvas, int x, int y, float textWidthHB, float textWidthICU, int textSize, int color, int colorICU) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 95 SkScalar textSize; member in class:android::TextLayoutCacheKey
|
H A D | TextLayoutCache.cpp | 226 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), 236 textSize = paint->getTextSize(); 252 textSize(other.textSize), 274 if (lhs.textSize < rhs.textSize) return -1; 275 if (lhs.textSize > rhs.textSize) return +1; 834 int textSize = paint->getTextSize(); local 836 mFontRec.x_ppem = floor(scaleX * textSize [all...] |
H A D | Canvas.cpp | 800 float textSize = paint->getTextSize(); local 801 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); 803 SkScalar top = SkFloatToScalar(y + textSize * kStdUnderline_Offset 805 SkScalar bottom = SkFloatToScalar(y + textSize * kStdUnderline_Offset 810 SkScalar top = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset 812 SkScalar bottom = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset
|
H A D | Paint.cpp | 311 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 D | Paint_Delegate.java | 443 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument 450 delegate.mTextSize = textSize;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1126 * @param textSize set the paint's text size. 1128 public native void setTextSize(float textSize); argument 1214 * settings for typeface, textSize, etc. If metrics is not null, return the 1253 * typeface, textSize, etc. If metrics is not null, return the fontmetric
|