/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 55 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 …]
|
D | DynamicLayout.java | 155 public Builder setLineSpacing(float spacingAdd, @FloatRange(from = 0.0) float spacingMult) { in setLineSpacing() argument 156 mSpacingAdd = spacingAdd; in setLineSpacing()
|
D | Layout.java | 228 float spacingMult, float spacingAdd) { in Layout() argument 230 spacingMult, spacingAdd); in Layout() 250 float spacingMult, float spacingAdd) { in Layout() argument 269 mSpacingAdd = spacingAdd; in Layout()
|
D | StaticLayout.java | 229 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/ |
D | StaticLayoutTest.java | 217 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()
|
D | DynamicLayoutTest.java | 154 final float spacingAdd = 4; in testGetLineExtra_withLinespacing() local 161 .setLineSpacing(spacingAdd, spacingMultiplier) in testGetLineExtra_withLinespacing() 170 spacingAdd, in testGetLineExtra_withLinespacing()
|