Home
last modified time | relevance | path

Searched refs:mSpacingMult (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java61 private float mSpacingMult; field in LayoutTest
72 mSpacingMult = 1; in setup()
78 new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testConstructor()
90 mAlign, mSpacingMult, mSpacingAdd); in testGetText()
93 layout = new MockLayout(null, mTextPaint, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetText()
100 mAlign, mSpacingMult, mSpacingAdd); in testGetPaint()
104 layout = new MockLayout(LAYOUT_TEXT, null, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetPaint()
111 mAlign, mSpacingMult, mSpacingAdd); in testGetWidth()
114 layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 0, mAlign, mSpacingMult, mSpacingAdd); in testGetWidth()
121 mAlign, mSpacingMult, mSpacingAdd); in testGetEllipsizedWidth()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java74 private float mSpacingMult = 1; field in SubtitleView
111 mSpacingMult = a.getFloat(attr, mSpacingMult); in SubtitleView()
261 .setLineSpacing(mSpacingAdd, mSpacingMult) in computeMeasurements()
/frameworks/base/core/java/android/text/
DStaticLayout.java104 b.mSpacingMult = DEFAULT_LINESPACING_MULTIPLIER; in obtain()
231 mSpacingMult = spacingMult; in setLineSpacing()
428 private float mSpacingMult; field in StaticLayout.Builder
567 b.mPaint, b.mWidth, b.mAlignment, b.mTextDir, b.mSpacingMult, b.mSpacingAdd); in StaticLayout()
602 float spacingmult = b.mSpacingMult; in generate()
DDynamicLayout.java81 b.mSpacingMult = DEFAULT_LINESPACING_MULTIPLIER; in obtain()
157 mSpacingMult = spacingMult; in setLineSpacing()
291 private float mSpacingMult; field in DynamicLayout.Builder
391 b.mPaint, b.mWidth, b.mAlignment, b.mTextDir, b.mSpacingMult, b.mSpacingAdd); in DynamicLayout()
DLayout.java268 mSpacingMult = spacingMult; in Layout()
293 mSpacingMult = spacingmult; in replaceWith()
818 return mSpacingMult; in getSpacingMultiplier()
2549 private float mSpacingMult; local
/frameworks/base/core/java/android/widget/
DTextView.java743 private float mSpacingMult = 1.0f;
1272 mSpacingMult = a.getFloat(attr, mSpacingMult);
2332 return FastMath.round(mTextPaint.getFontMetricsInt(null) * mSpacingMult + mSpacingAdd); in getLineHeight()
5667 if (mSpacingAdd != add || mSpacingMult != mult) { in setLineSpacing()
5669 mSpacingMult = mult; in setLineSpacing()
5691 return mSpacingMult; in getLineSpacingMultiplier()
9002 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9006 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9014 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9019 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
[all …]