Searched refs:paraEnd (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/text/ |
D | PrecomputedText.java | 287 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 288 this.paragraphEnd = paraEnd; in ParagraphInfo() 340 int paraEnd = 0; in createMeasuredParagraphs() local 341 for (int paraStart = start; paraStart < end; paraStart = paraEnd) { in createMeasuredParagraphs() 342 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in createMeasuredParagraphs() 343 if (paraEnd < 0) { in createMeasuredParagraphs() 346 paraEnd = end; in createMeasuredParagraphs() 348 paraEnd++; // Includes LINE_FEED(U+000A) to the prev paragraph. in createMeasuredParagraphs() 351 result.add(new ParagraphInfo(paraEnd, MeasuredParagraph.buildForStaticLayout( in createMeasuredParagraphs() 352 params.getTextPaint(), text, paraStart, paraEnd, params.getTextDirection(), in createMeasuredParagraphs() [all …]
|
D | StaticLayout.java | 676 final int paraEnd = paragraphInfo[paraIndex].paragraphEnd; in generate() 685 LeadingMarginSpan[] sp = getParagraphSpans(spanned, paraStart, paraEnd, in generate() 701 chooseHt = getParagraphSpans(spanned, paraStart, paraEnd, LineHeightSpan.class); in generate() 731 paraEnd, TabStopSpan.class); in generate() 759 paraEnd - paraStart, in generate() 819 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { in generate() 886 if (paraEnd == bufEnd) { in generate()
|
/frameworks/support/compat/src/main/java/androidx/core/text/ |
D | PrecomputedTextCompat.java | 415 int paraEnd = 0; in create() local 417 for (int paraStart = 0; paraStart < end; paraStart = paraEnd) { in create() 418 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in create() 419 if (paraEnd < 0) { in create() 422 paraEnd = end; in create() 424 paraEnd++; // Includes LINE_FEED(U+000A) to the prev paragraph. in create() 427 ends.add(paraEnd); in create()
|