Home
last modified time | relevance | path

Searched refs:mSpacingAdd (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java62 private float mSpacingAdd; field in LayoutTest
73 mSpacingAdd = 2; 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.java75 private float mSpacingAdd = 0; field in SubtitleView
108 mSpacingAdd = a.getDimensionPixelSize(attr, (int) mSpacingAdd); in SubtitleView()
261 .setLineSpacing(mSpacingAdd, mSpacingMult) in computeMeasurements()
/frameworks/base/core/java/android/text/
DStaticLayout.java105 b.mSpacingAdd = DEFAULT_LINESPACING_ADDITION; in obtain()
230 mSpacingAdd = spacingAdd; in setLineSpacing()
429 private float mSpacingAdd; field in StaticLayout.Builder
567 b.mPaint, b.mWidth, b.mAlignment, b.mTextDir, b.mSpacingMult, b.mSpacingAdd); in StaticLayout()
603 float spacingadd = b.mSpacingAdd; in generate()
DDynamicLayout.java82 b.mSpacingAdd = DEFAULT_LINESPACING_ADDITION; in obtain()
156 mSpacingAdd = spacingAdd; in setLineSpacing()
292 private float mSpacingAdd; field in DynamicLayout.Builder
391 b.mPaint, b.mWidth, b.mAlignment, b.mTextDir, b.mSpacingMult, b.mSpacingAdd); in DynamicLayout()
DLayout.java269 mSpacingAdd = spacingAdd; in Layout()
294 mSpacingAdd = spacingadd; in replaceWith()
825 return mSpacingAdd; in getSpacingAdd()
2550 private float mSpacingAdd; local
/frameworks/base/core/java/android/widget/
DTextView.java747 private float mSpacingAdd = 0.0f;
1273 mSpacingAdd = a.getDimensionPixelSize(attr, (int) mSpacingAdd);
2337 return FastMath.round(mTextPaint.getFontMetricsInt(null) * mSpacingMult + mSpacingAdd); in getLineHeight()
5672 if (mSpacingAdd != add || mSpacingMult != mult) { in setLineSpacing()
5673 mSpacingAdd = add; in setLineSpacing()
5711 return mSpacingAdd; in getLineSpacingExtra()
9017 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9021 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9029 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
9034 hintWidth, alignment, mSpacingMult, mSpacingAdd, in makeNewLayout()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt69954 Landroid/text/DynamicLayout$Builder;->mSpacingAdd:F
70215 Landroid/text/Layout;->mSpacingAdd:F
70699 Landroid/text/StaticLayout$Builder;->mSpacingAdd:F
101101 Lcom/android/internal/widget/SubtitleView;->mSpacingAdd:F