Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DBoringLayout.java55 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in make() argument
57 return new BoringLayout(source, paint, outerWidth, align, spacingMult, spacingAdd, metrics, in make()
104 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() argument
106 replaceWith(source, paint, outerwidth, align, spacingMult, spacingAdd); in replaceOrMake()
138 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() argument
143 replaceWith(source, paint, outerWidth, align, spacingMult, spacingAdd); in replaceOrMake()
151 paint, outerWidth, align, spacingMult, spacingAdd); in replaceOrMake() local
174 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad) { in BoringLayout() argument
175 super(source, paint, outerwidth, align, spacingMult, spacingAdd); in BoringLayout()
203 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad, in BoringLayout() argument
[all …]
DDynamicLayout.java155 public Builder setLineSpacing(float spacingAdd, @FloatRange(from = 0.0) float spacingMult) { in setLineSpacing() argument
156 mSpacingAdd = spacingAdd; in setLineSpacing()
DLayout.java229 float spacingMult, float spacingAdd) { in Layout() argument
231 spacingMult, spacingAdd); in Layout()
251 float spacingMult, float spacingAdd) { in Layout() argument
270 mSpacingAdd = spacingAdd; in Layout()
DStaticLayout.java229 public Builder setLineSpacing(float spacingAdd, @FloatRange(from = 0.0) float spacingMult) { in setLineSpacing() argument
230 mSpacingAdd = spacingAdd; in setLineSpacing()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java217 int spacingAdd = 2; // int so expressions return int in testLineMetrics_withSpacingAdd() local
222 .setSpacingAdd(spacingAdd); in testLineMetrics_withSpacingAdd()
228 {fmi.top, fmi.descent + spacingAdd, spacingAdd}, in testLineMetrics_withSpacingAdd()
229 {fmi.ascent, fmi.descent + spacingAdd, spacingAdd}, in testLineMetrics_withSpacingAdd()
247 Scaler s = new Scaler(b.spacingMult, b.spacingAdd); in testLineMetrics_withSpacingMult()
273 Scaler s = new Scaler(b.spacingMult, b.spacingAdd); in testLineMetrics_withUnitIntervalSpacingMult()
332 float spacingAdd = 0; field in StaticLayoutTest.LayoutBuilder
360 LayoutBuilder setSpacingAdd(float spacingAdd) { in setSpacingAdd() argument
361 this.spacingAdd = spacingAdd; in setSpacingAdd()
372 spacingAdd, includePad); in build()
DDynamicLayoutTest.java154 final float spacingAdd = 4; in testGetLineExtra_withLinespacing() local
161 .setLineSpacing(spacingAdd, spacingMultiplier) in testGetLineExtra_withLinespacing()
170 spacingAdd, in testGetLineExtra_withLinespacing()