Searched refs:spacingAdd (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | DynamicLayoutTest.java | 264 final float spacingAdd = 4; in testLineSpacing() local 273 spacingAdd, in testLineSpacing() 277 Layout expected = createStaticLayout(text.toString(), textPaint, width, spacingAdd, in testLineSpacing() 283 expected = createStaticLayout(text.toString(), textPaint, width, spacingAdd, in testLineSpacing() 289 expected = createStaticLayout(text.toString(), textPaint, width, spacingAdd, in testLineSpacing() 298 final float spacingAdd = 4f; in testLineSpacing_textEndingWithNextLine() local 307 spacingAdd, in testLineSpacing_textEndingWithNextLine() 311 final Layout expected = createStaticLayout(text.toString(), textPaint, width, spacingAdd, in testLineSpacing_textEndingWithNextLine() 317 float spacingAdd, float spacingMultiplier) { in createStaticLayout() argument 322 .setLineSpacing(spacingAdd, spacingMultiplier) in createStaticLayout() [all …]
|
D | BoringLayoutTest.java | 113 private void verifyMultAddScale(float spacingMult, float spacingAdd) { in verifyMultAddScale() argument 116 BoringLayout boringLayout = makeBoringLayout(spacingMult, spacingAdd); in verifyMultAddScale() 585 private static BoringLayout makeBoringLayout(float spacingMult,float spacingAdd) { in makeBoringLayout() argument 591 spacingAdd, in makeBoringLayout()
|
D | StaticLayoutTest.java | 245 final float spacingAdd = 10f; in testSetLineSpacing_whereLineEndsWithNextLine() local 253 builder.setLineSpacing(spacingAdd, spacingMult).setIncludePad(false); in testSetLineSpacing_whereLineEndsWithNextLine() 267 builder.setLineSpacing(spacingAdd, spacingMult).setIncludePad(false); in testSetLineSpacing_whereLineEndsWithNextLine()
|