Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1561 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
1592 int aft = tl.getOffsetToLeftRightOf(low - lineStartOffset, isRtl) + lineStartOffset; in getOffsetForHorizontal()
1593 low = tl.getOffsetToLeftRightOf(aft - lineStartOffset, !isRtl) + lineStartOffset; in getOffsetForHorizontal()
1755 return getOffsetToLeftRightOf(offset, true); in getOffsetToLeftOf()
1759 return getOffsetToLeftRightOf(offset, false); in getOffsetToRightOf()
1762 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { in getOffsetToLeftRightOf() method in Layout
1810 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft); in getOffsetToLeftRightOf()
DTextLine.java526 int getOffsetToLeftRightOf(int cursor, boolean toLeft) {