Home
last modified time | relevance | path

Searched refs:setTextSize (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/core/java/android/text/style/
DAbsoluteSizeSpan.java85 ds.setTextSize(mSize * ds.density); in updateDrawState()
87 ds.setTextSize(mSize); in updateDrawState()
94 ds.setTextSize(mSize * ds.density); in updateMeasureState()
96 ds.setTextSize(mSize); in updateMeasureState()
DRelativeSizeSpan.java64 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState()
69 ds.setTextSize(ds.getTextSize() * mProportion); in updateMeasureState()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextActivity.java54 mLargePaint.setTextSize(36.0f); in CustomTextView()
58 mStrikePaint.setTextSize(16.0f); in CustomTextView()
63 mScaledPaint.setTextSize(16.0f); in CustomTextView()
68 mSkewPaint.setTextSize(16.0f); in CustomTextView()
74 mHugePaint.setTextSize(300f); in CustomTextView()
79 mEventPaint.setTextSize(14); in CustomTextView()
DScaledTextActivity.java63 mPaint.setTextSize(20.0f); in ScaledTextView()
68 mShadowPaint.setTextSize(20.0f); in ScaledTextView()
DNoAATextActivity.java46 mPaint.setTextSize(60.0f); in ScaledNoAA()
DPaintDrawFilterActivity.java47 mMediumPaint.setTextSize(24.0f); in CustomTextView()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java77 mTextPaint.setTextSize(16); in initLabelView()
100 public void setTextSize(int size) { in setTextSize() method in LabelView
101 mTextPaint.setTextSize(size); in setTextSize()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1420 public void setTextSize(float textSize) { in setTextSize() method in Paint
1716 setTextSize(oldSize * mCompatScaling); in measureText()
1719 setTextSize(oldSize); in measureText()
1747 setTextSize(oldSize * mCompatScaling); in measureText()
1750 setTextSize(oldSize); in measureText()
1837 setTextSize(oldSize * mCompatScaling); in breakText()
1840 setTextSize(oldSize); in breakText()
1929 setTextSize(oldSize*mCompatScaling); in breakText()
1932 setTextSize(oldSize); in breakText()
1971 setTextSize(oldSize * mCompatScaling); in getTextWidths()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java206 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDefaultTextSize); in onMeasure()
229 setTextSize(TypedValue.COMPLEX_UNIT_PX, mResizedTextSize); in onMeasure()
248 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDefaultTextSize); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java129 public void setTextSize(int unit, float size) { in setTextSize() method in QSDualTileLabel
130 mFirstLine.setTextSize(unit, size); in setTextSize()
131 mSecondLine.setTextSize(unit, size); in setTextSize()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp98 paint.setTextSize(size / 2); in createRandomCharIcon()
135 textPaint.setTextSize(dp(20)); in createCard()
140 textPaint.setTextSize(dp(15)); in createCard()
DGlyphStressAnimation.cpp57 paint.setTextSize(10 + (frameNr % 20) + i * 20); in doFrame()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java137 setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in PagerTitleStrip()
229 public void setTextSize(int unit, float size) { in setTextSize() method in PagerTitleStrip
230 mPrevText.setTextSize(unit, size); in setTextSize()
231 mCurrText.setTextSize(unit, size); in setTextSize()
232 mNextText.setTextSize(unit, size); in setTextSize()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardStatusView.java128 mClockView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onConfigurationChanged()
135 mDateView.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onConfigurationChanged()
137 mOwnerInfo.setTextSize(TypedValue.COMPLEX_UNIT_PX, in onConfigurationChanged()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/view/
DGridLayout3.java77 c.setTextSize(32); in create()
83 c.setTextSize(16); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFontSizeUtils.java36 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, in updateFontSize()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java87 c.setTextSize(32); in create()
93 c.setTextSize(16); in create()
DBiDiTestGridLayoutCodeRtl.java87 c.setTextSize(32); in create()
93 c.setTextSize(16); in create()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSimple.java48 ((TextView) view).setTextSize(16.0f); in createView()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java136 setTextSize(textSize); in SubtitleView()
184 public void setTextSize(float size) { in setTextSize() method in SubtitleView
186 mTextPaint.setTextSize(size); in setTextSize()
/frameworks/opt/setupwizard/library/eclair-mr1/test/src/com/android/setupwizardlib/test/
DLinkAccessibilityHelperTest.java55 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); in setUp()
149 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); in testRtlLayout()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java52 ((TextView) view).setTextSize(16.0f); in createView()
/frameworks/base/libs/hwui/tests/microbench/
DFontBench.cpp30 paint.setTextSize(20); in BM_FontRenderer_precache_cachehits()
/frameworks/base/libs/hwui/tests/unit/
DTextDropShadowCacheTests.cpp31 paint.setTextSize(20); in RENDERTHREAD_TEST()
DSkiaCanvasTests.cpp36 paint.setTextSize(20); in TEST()

12345