Home
last modified time | relevance | path

Searched refs:paraStart (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/text/
DPrecomputedText.java341 for (int paraStart = start; paraStart < end; paraStart = paraEnd) { in createMeasuredParagraphs()
342 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in createMeasuredParagraphs()
352 params.getTextPaint(), text, paraStart, paraEnd, params.getTextDirection(), in createMeasuredParagraphs()
480 final int paraStart = getParagraphStart(paraIndex); in getWidth() local
482 if (start < paraStart || paraEnd < end) { in getWidth()
484 + "para: (" + paraStart + ", " + paraEnd + "), " in getWidth()
487 return getMeasuredParagraph(paraIndex).getWidth(start - paraStart, end - paraStart); in getWidth()
511 final int paraStart = getParagraphStart(paraIndex); in getBounds() local
513 if (start < paraStart || paraEnd < end) { in getBounds()
515 + "para: (" + paraStart + ", " + paraEnd + "), " in getBounds()
[all …]
DStaticLayout.java674 final int paraStart = paraIndex == 0 in generate()
685 LeadingMarginSpan[] sp = getParagraphSpans(spanned, paraStart, paraEnd, in generate()
701 chooseHt = getParagraphSpans(spanned, paraStart, paraEnd, LineHeightSpan.class); in generate()
713 if (o < paraStart) { in generate()
730 TabStopSpan[] spans = getParagraphSpans(spanned, paraStart, in generate()
759 paraEnd - paraStart, in generate()
813 int here = paraStart; in generate()
819 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { in generate()
844 while (breakIndex < breakCount && paraStart + breaks[breakIndex] < spanStart) { in generate()
848 while (breakIndex < breakCount && paraStart + breaks[breakIndex] <= spanEnd) { in generate()
[all …]
/frameworks/support/compat/src/main/java/androidx/core/text/
DPrecomputedTextCompat.java417 for (int paraStart = 0; paraStart < end; paraStart = paraEnd) { in create()
418 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in create()