/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);
|
H A D | SubtitleView.java | 90 int textSize = 15; 107 textSize = a.getDimensionPixelSize(attr, textSize); 130 setTextSize(textSize);
|
/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/libs/hwui/ |
H A D | TextDropShadowCache.h | 36 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 D | TextDropShadowCache.cpp | 37 hash = JenkinsHashMix(hash, android::hash_type(textSize)); 66 if (lhs.textSize < rhs.textSize) return -1; 67 if (lhs.textSize > rhs.textSize) return +1;
|
H A D | OpenGLRenderer.cpp | 3283 const float textSize = paintCopy.getTextSize(); local 3284 const float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); 3298 top = y + textSize * kStdUnderline_Offset; 3306 top = y + textSize * kStdStrikeThru_Offset;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | CustomBar.java | 285 ResourceValue textSize = res.findItemInStyle(textStyle, "textSize", 287 textSize = res.resolveResValue(textSize); 289 if (textSize != null) { 291 if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZonePickerView.java | 122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25); 123 searchIcon.setBounds(0, 0, textSize, textSize);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | RadialTextsView.java | 236 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
|
H A D | AmPmCirclesView.java | 163 int textSize = mAmPmCircleRadius * 3 / 4; 164 mPaint.setTextSize(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/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 220 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0), 231 textSize = paint->getTextSize(); 246 textSize(other.textSize), 267 if (lhs.textSize < rhs.textSize) return -1; 268 if (lhs.textSize > rhs.textSize) return +1; 300 hash = JenkinsHashMix(hash, hash_type(textSize));
|
H A D | TextLayoutCache.h | 101 SkScalar textSize; member in class:android::TextLayoutCacheKey
|
H A D | Canvas.cpp | 809 float textSize = paint->getTextSize(); local 810 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); 812 SkScalar top = SkFloatToScalar(y + textSize * kStdUnderline_Offset 814 SkScalar bottom = SkFloatToScalar(y + textSize * kStdUnderline_Offset 819 SkScalar top = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset 821 SkScalar bottom = SkFloatToScalar(y + textSize * kStdStrikeThru_Offset
|
H A D | Paint.cpp | 318 static void setTextSize(JNIEnv* env, jobject paint, jfloat textSize) { argument 320 GraphicsJNI::getNativePaint(env, paint)->setTextSize(SkFloatToScalar(textSize));
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 492 int textSize = getTextZoom(); 494 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 | FastScroller.java | 474 final float textSize = res.getDimensionPixelSize(R.dimen.fastscroll_overlay_text_size); 478 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
|
H A D | TextView.java | 643 int textSize = 15; 692 textSize = appearance.getDimensionPixelSize(attr, textSize); 971 textSize = a.getDimensionPixelSize(attr, textSize); 1242 setRawTextSize(textSize);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 1020 int textSize = (int) (mQueryTextView.getTextSize() * 1.25); 1021 searchIcon.setBounds(0, 0, textSize, textSize);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 442 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument 449 delegate.mTextSize = textSize;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1226 * @param textSize set the paint's text size. 1228 public native void setTextSize(float textSize); argument 1314 * settings for typeface, textSize, etc. If metrics is not null, return the 1353 * typeface, textSize, etc. If metrics is not null, return the fontmetric
|