Home
last modified time | relevance | path

Searched refs:lineEndOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/
DLayout.java1544 final int lineEndOffset = getLineEnd(line); in getOffsetForHorizontal() local
1551 tl.set(mPaint, mText, lineStartOffset, lineEndOffset, getParagraphDirection(line), dirs, in getOffsetForHorizontal()
1559 max = lineEndOffset; in getOffsetForHorizontal()
1561 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
1562 !isRtlCharAt(lineEndOffset - 1)) + lineStartOffset; in getOffsetForHorizontal()
/frameworks/base/core/java/android/widget/
DEditor.java1048 final int lineEndOffset = layout.getLineEnd(maxLine); in getParagraphsRange() local
1049 if (text.charAt(lineEndOffset - 1) == '\n') { in getParagraphsRange()