Searched refs:textSize (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DDialogTitle.java61 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 DSubtitleView.java90 int textSize = 15;
107 textSize = a.getDimensionPixelSize(attr, textSize);
130 setTextSize(textSize);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DLoadAverageService.java99 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 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 DTextDropShadowCache.cpp37 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 DOpenGLRenderer.cpp3283 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 DCustomBar.java285 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 DTimeZonePickerView.java122 int textSize = (int) (mAutoCompleteTextView.getTextSize() * 1.25);
123 searchIcon.setBounds(0, 0, textSize, textSize);
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp220 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 DTextLayoutCache.h101 SkScalar textSize; member in class:android::TextLayoutCacheKey
H A DCanvas.cpp809 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 DPaint.cpp318 static void setTextSize(JNIEnv* env, jobject paint, jfloat textSize) { argument
320 GraphicsJNI::getNativePaint(env, paint)->setTextSize(SkFloatToScalar(textSize));
/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
H A DAmPmCirclesView.java163 int textSize = mAmPmCircleRadius * 3 / 4;
164 mPaint.setTextSize(textSize);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java67 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 DWebSettings.java492 int textSize = getTextZoom();
494 int delta = Math.abs(textSize - size.value);
/frameworks/base/core/java/android/widget/
H A DSearchView.java1054 int textSize = (int) (mQueryTextView.getTextSize() * 1.25);
1055 searchIcon.setBounds(0, 0, textSize, textSize);
H A DFastScroller.java478 final float textSize = res.getDimensionPixelSize(R.dimen.fastscroll_overlay_text_size);
482 textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
H A DTextView.java644 int textSize = 15;
693 textSize = appearance.getDimensionPixelSize(attr, textSize);
972 textSize = a.getDimensionPixelSize(attr, textSize);
1243 setRawTextSize(textSize);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1020 int textSize = (int) (mQueryTextView.getTextSize() * 1.25);
1021 searchIcon.setBounds(0, 0, textSize, textSize);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java442 /*package*/ static void setTextSize(Paint thisPaint, float textSize) { argument
449 delegate.mTextSize = textSize;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1226 * @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

Completed in 451 milliseconds