Searched refs:breaks (Results 1 – 2 of 2) sorted by relevance
114 List<Integer> breaks = new ArrayList<Integer>((int) Math.ceil(length / 5d)); in nComputeLineBreaks() local118 breaks.add(loc); in nComputeLineBreaks()122 computePrimitives(builder.mText, builder.mWidths, length, breaks); in nComputeLineBreaks()197 int length, @NonNull List<Integer> breaks) { in computePrimitives() argument201 int breaksSize = breaks.size(); in computePrimitives()210 while (breakIndex < breaksSize && breaks.get(breakIndex) < i) { in computePrimitives()215 if (breakIndex < breaksSize && breaks.get(breakIndex) == i) { in computePrimitives()
609 int[] breaks = null; in generate() local768 breaks = new int[lineBreakCapacity]; in generate()777 breaks[i] = res.getLineBreakOffset(i); in generate()800 for (int j = (i == 0 ? 0 : breaks[i - 1]); j < breaks[i]; j++) { in generate()807 breaks[remainingLineCount - 1] = breaks[breakCount - 1]; in generate()847 while (breakIndex < breakCount && paraStart + breaks[breakIndex] < spanStart) { in generate()851 while (breakIndex < breakCount && paraStart + breaks[breakIndex] <= spanEnd) { in generate()852 int endPos = paraStart + breaks[breakIndex]; in generate()1437 public int[] breaks = new int[INITIAL_SIZE];