Searched refs:spacingAdd (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java143 * Basic test showing effect of includePad = true, spacingAdd = 2, wrapping
148 int spacingAdd = 2; // int so expressions return int
153 .setSpacingAdd(spacingAdd);
158 fmi.top, fmi.descent + spacingAdd,
159 fmi.ascent, fmi.descent + spacingAdd,
160 fmi.ascent, fmi.bottom + spacingAdd);
164 * Basic test showing effect of includePad = true, spacingAdd = 2,
176 Scaler s = new Scaler(b.spacingMult, b.spacingAdd);
186 * Basic test showing effect of includePad = true, spacingAdd = 0,
198 Scaler s = new Scaler(b.spacingMult, b.spacingAdd);
241 float spacingAdd = 0; field in class:StaticLayoutTest.LayoutBuilder
269 setSpacingAdd(float spacingAdd) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java109 * @param spacingAdd amount to add to the default line spacing
113 float spacingMult, float spacingAdd) {
115 spacingMult, spacingAdd);
129 * @param spacingAdd amount to add to the default line spacing
135 float spacingMult, float spacingAdd) {
155 mSpacingAdd = spacingAdd;
111 Layout(CharSequence text, TextPaint paint, int width, Alignment align, float spacingMult, float spacingAdd) argument
133 Layout(CharSequence text, TextPaint paint, int width, Alignment align, TextDirectionHeuristic textDir, float spacingMult, float spacingAdd) argument

Completed in 26 milliseconds