Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditor.java1181 int maxLine = layout.getLineForOffset(endOffset); in getParagraphsRange() local
1183 while (maxLine < layout.getLineCount() - 1) { in getParagraphsRange()
1184 final int lineEndOffset = layout.getLineEnd(maxLine); in getParagraphsRange()
1188 maxLine++; in getParagraphsRange()
1190 return TextUtils.packRangeInLong(layout.getLineStart(minLine), layout.getLineEnd(maxLine)); in getParagraphsRange()
DTextView.java11942 final int maxLine = mLayout.getLineForOffset(endIndex - 1); in populateCharacterBounds() local
11943 for (int line = minLine; line <= maxLine; ++line) { in populateCharacterBounds()