Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DPrecomputedText.java404 final int paraStart = pct.getParagraphStart(i); in createMeasuredParagraphsFromPrecomputedText() local
407 params.getTextPaint(), pct, paraStart, paraEnd, params.getTextDirection(), in createMeasuredParagraphsFromPrecomputedText()
426 for (int paraStart = start; paraStart < end; paraStart = paraEnd) { in createMeasuredParagraphs()
427 paraEnd = TextUtils.indexOf(text, LINE_FEED, paraStart, end); in createMeasuredParagraphs()
437 params.getTextPaint(), text, paraStart, paraEnd, params.getTextDirection(), in createMeasuredParagraphs()
568 final int paraStart = getParagraphStart(paraIndex); in getWidth() local
570 if (start < paraStart || paraEnd < end) { in getWidth()
572 + "para: (" + paraStart + ", " + paraEnd + "), " in getWidth()
575 return getMeasuredParagraph(paraIndex).getWidth(start - paraStart, end - paraStart); in getWidth()
599 final int paraStart = getParagraphStart(paraIndex); in getBounds() local
[all …]
DStaticLayout.java688 final int paraStart = paraIndex == 0 in generate()
698 LeadingMarginSpan[] sp = getParagraphSpans(spanned, paraStart, paraEnd, in generate()
714 chooseHt = getParagraphSpans(spanned, paraStart, paraEnd, LineHeightSpan.class); in generate()
726 if (o < paraStart) { in generate()
742 TabStopSpan[] spans = getParagraphSpans(spanned, paraStart, in generate()
816 int here = paraStart; in generate()
822 for (int spanStart = paraStart, spanEnd; spanStart < paraEnd; spanStart = spanEnd) { 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()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java562 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun() local
566 start - paraStart, in drawTextRun()
567 end - paraStart, in drawTextRun()
568 contextStart - paraStart, in drawTextRun()
569 contextEnd - paraStart, in drawTextRun()
DBaseRecordingCanvas.java527 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun() local
531 start - paraStart, in drawTextRun()
532 end - paraStart, in drawTextRun()
533 contextStart - paraStart, in drawTextRun()
534 contextEnd - paraStart, in drawTextRun()