/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 62 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/ |
D | SubtitleView.java | 75 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/ |
D | StaticLayout.java | 105 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()
|
D | DynamicLayout.java | 82 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()
|
D | Layout.java | 269 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/ |
D | TextView.java | 747 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/ |
D | hiddenapi-greylist-max-o.txt | 69954 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
|