Home | History | Annotate | Download | only in text

Lines Matching refs:LineBreaks

21 import android.text.StaticLayout.LineBreaks;
44 public void computeBreaks(@NonNull LineBreaks breakInfo) {
136 private static void resize(LineBreaks lineBreaks, int size) {
137 if (lineBreaks.breaks.length == size) {
144 int toCopy = Math.min(size, lineBreaks.breaks.length);
145 System.arraycopy(lineBreaks.breaks, 0, breaks, 0, toCopy);
146 System.arraycopy(lineBreaks.widths, 0, widths, 0, toCopy);
147 System.arraycopy(lineBreaks.flags, 0, flags, 0, toCopy);
149 lineBreaks.breaks = breaks;
150 lineBreaks.widths = widths;
151 lineBreaks.flags = flags;