/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 61 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/ |
D | SubtitleView.java | 74 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/ |
D | StaticLayout.java | 104 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()
|
D | DynamicLayout.java | 81 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()
|
D | Layout.java | 268 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/ |
D | TextView.java | 743 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 …]
|