Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1045 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange() local
1047 while (maxLine < layout.getLineCount() - 1) { in getParagraphsRange()
1048 final int lineEndOffset = layout.getLineEnd(maxLine); in getParagraphsRange()
1052 maxLine++; in getParagraphsRange()
1054 return TextUtils.packRangeInLong(layout.getLineStart(minLine), layout.getLineEnd(maxLine)); in getParagraphsRange()
DTextView.java11788 final int maxLine = mLayout.getLineForOffset(endIndex - 1); in populateCharacterBounds() local
11789 for (int line = minLine; line <= maxLine; ++line) { in populateCharacterBounds()