Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java132 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_LTR()
145 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_RTL()
158 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_BiDi()
175 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_BiDi2()
188 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_BiDi3()
203 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_Tab_LTR()
218 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_Tab_RTL()
233 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_Tab_BiDi()
248 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_Tab_BiDi2()
261 paint.setTextSize(10.0f); // make 1em = 10px in testMeasure_wordSpacing()
/frameworks/base/core/java/android/text/style/
DAbsoluteSizeSpan.java119 ds.setTextSize(mSize * ds.density); in updateDrawState()
121 ds.setTextSize(mSize); in updateDrawState()
128 ds.setTextSize(mSize * ds.density); in updateMeasureState()
130 ds.setTextSize(mSize); in updateMeasureState()
DRelativeSizeSpan.java93 ds.setTextSize(ds.getTextSize() * mProportion); in updateDrawState()
98 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()
DDrawIntoHwBitmapActivity.java43 p.setTextSize(20 * getResources().getDisplayMetrics().density); in createBitmap()
DNewLayersActivity.java45 mRectPaint.setTextSize(24.0f); in LayersView()
DTextPathActivity.java48 mHugePaint.setTextSize(300f); in CustomTextView()
DRotate3dTextActivity.java69 mPaint.setTextSize(50.0f); in Rotate3dTextView()
/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/tests/UiBench/src/com/android/test/uibench/
DSaveLayerInterleaveActivity.java65 mBluePaint.setTextSize(padding); in onCreate()
67 mGreenPaint.setTextSize(padding); in onCreate()
/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/graphics/java/android/graphics/
DPaint.java1712 public void setTextSize(float textSize) { in setTextSize() method in Paint
2184 setTextSize(oldSize * mCompatScaling); in measureText()
2187 setTextSize(oldSize); in measureText()
2215 setTextSize(oldSize * mCompatScaling); in measureText()
2218 setTextSize(oldSize); in measureText()
2305 setTextSize(oldSize * mCompatScaling); in breakText()
2308 setTextSize(oldSize); in breakText()
2393 setTextSize(oldSize*mCompatScaling); in breakText()
2396 setTextSize(oldSize); in breakText()
2430 setTextSize(oldSize * mCompatScaling); in getTextWidths()
[all …]
/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/
DBiDiTestGridLayoutCodeRtl.java87 c.setTextSize(32); in create()
93 c.setTextSize(16); in create()
DBiDiTestGridLayoutCodeLtr.java87 c.setTextSize(32); in create()
93 c.setTextSize(16); in create()
/frameworks/layoutlib/remote/tests/src/
DCustomComponent.java52 setTextSize(40f); in init()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSimple.java47 ((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/base/core/tests/coretests/src/android/widget/gridview/
DGridSimple.java51 ((TextView) view).setTextSize(16.0f); in createView()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DArraysCheckWidget.java54 textView.setTextSize(30); in addTextView()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeView.java72 mPaint.setTextSize(mRandom.nextInt(40) + 10); in onDraw()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java60 tp.setTextSize(100.0f); // Large enough so that the difference in kerning is visible. in textWidth()

12345