Searched refs:paraIndex (Results 1 – 4 of 4) sorted by relevance
496 public @IntRange(from = 0) int getParagraphStart(@IntRange(from = 0) int paraIndex) { in getParagraphStart()497 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphStart()498 return paraIndex == 0 ? mStart : getParagraphEnd(paraIndex - 1); in getParagraphStart()504 public @IntRange(from = 0) int getParagraphEnd(@IntRange(from = 0) int paraIndex) { in getParagraphEnd()505 Preconditions.checkArgumentInRange(paraIndex, 0, getParagraphCount(), "paraIndex"); in getParagraphEnd()506 return mParagraphInfo[paraIndex].paragraphEnd; in getParagraphEnd()510 public @NonNull MeasuredParagraph getMeasuredParagraph(@IntRange(from = 0) int paraIndex) { in getMeasuredParagraph()511 return mParagraphInfo[paraIndex].measured; in getMeasuredParagraph()567 final int paraIndex = findParaIndex(start); in getWidth() local568 final int paraStart = getParagraphStart(paraIndex); in getWidth()[all …]
687 for (int paraIndex = 0; paraIndex < paragraphInfo.length; paraIndex++) { in generate()688 final int paraStart = paraIndex == 0 in generate()689 ? bufStart : paragraphInfo[paraIndex - 1].paragraphEnd; in generate()690 final int paraEnd = paragraphInfo[paraIndex].paragraphEnd; in generate()754 final MeasuredParagraph measuredPara = paragraphInfo[paraIndex].measured; in generate()
559 final int paraIndex = pt.findParaIndex(start); in drawTextRun() local560 if (end <= pt.getParagraphEnd(paraIndex)) { in drawTextRun()561 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun()562 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()
620 final int paraIndex = pt.findParaIndex(start); in drawTextRun() local621 if (end <= pt.getParagraphEnd(paraIndex)) { in drawTextRun()622 final int paraStart = pt.getParagraphStart(paraIndex); in drawTextRun()623 final MeasuredParagraph mp = pt.getMeasuredParagraph(paraIndex); in drawTextRun()