Searched refs:paraEnd (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | PrecomputedText.java | 328 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 329 this.paragraphEnd = paraEnd; in ParagraphInfo() 405 final int paraEnd = pct.getParagraphEnd(i); in createMeasuredParagraphsFromPrecomputedText() local 406 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphsFromPrecomputedText() 407 params.getTextPaint(), pct, paraStart, paraEnd, params.getTextDirection(), in createMeasuredParagraphsFromPrecomputedText() 425 int paraEnd = 0; in createMeasuredParagraphs() local 426 for (int paraStart = start; paraStart < end; paraStart = paraEnd) { in createMeasuredParagraphs() 427 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in createMeasuredParagraphs() 428 if (paraEnd < 0) { in createMeasuredParagraphs() 431 paraEnd = end; in createMeasuredParagraphs() [all …]
|
D | StaticLayout.java | 690 final int paraEnd = paragraphInfo[paraIndex].paragraphEnd; in generate() 698 LeadingMarginSpan[] sp = getParagraphSpans(spanned, paraStart, paraEnd, in generate() 714 chooseHt = getParagraphSpans(spanned, paraStart, paraEnd, LineHeightSpan.class); in generate() 743 paraEnd, TabStopSpan.class); in generate() 822 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { in generate() 890 if (paraEnd == bufEnd) { in generate()
|