/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DialogTitle.java | 61 final int textSize = a.getDimensionPixelSize( 63 if (textSize != 0) { 64 // textSize is already expressed in pixels 65 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/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/packages/SystemUI/src/com/android/systemui/ |
H A D | LoadAverageService.java | 99 int textSize = 10; 102 textSize = 9; 104 textSize = (int)(10*density); 105 if (textSize < 10) { 106 textSize = 10; 111 mLoadPaint.setTextSize(textSize); 116 mAddedPaint.setTextSize(textSize); 122 mRemovedPaint.setTextSize(textSize); 127 mShadowPaint.setTextSize(textSize); 134 mShadow2Paint.setTextSize(textSize); [all...] |
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 269 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize", 271 textSize = res.resolveResValue(textSize); 273 if (textSize != null) { 275 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
|
/frameworks/base/core/jni/android/graphics/ |
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 | TextLayoutCache.h | 95 SkScalar textSize; member in class:android::TextLayoutCacheKey
|
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/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 67 android.R.attr.textSize, 129 final int textSize = a.getDimensionPixelSize(1, 0); 130 if (textSize != 0) { 131 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 467 int textSize = getTextZoom(); 469 int delta = Math.abs(textSize - size.value);
|
/frameworks/base/core/java/android/widget/ |
H A D | SearchView.java | 1054 int textSize = (int) (mQueryTextView.getTextSize() * 1.25); 1055 searchIcon.setBounds(0, 0, textSize, textSize);
|
H A D | TextView.java | 475 int textSize = 15; 522 textSize = appearance.getDimensionPixelSize(attr, textSize); 787 textSize = a.getDimensionPixelSize(attr, textSize); 1057 setRawTextSize(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
|