Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1457 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
1488 int aft = tl.getOffsetToLeftRightOf(low - lineStartOffset, isRtl) + lineStartOffset; in getOffsetForHorizontal()
1489 low = tl.getOffsetToLeftRightOf(aft - lineStartOffset, !isRtl) + lineStartOffset; in getOffsetForHorizontal()
1631 return getOffsetToLeftRightOf(offset, true); in getOffsetToLeftOf()
1635 return getOffsetToLeftRightOf(offset, false); in getOffsetToRightOf()
1638 private int getOffsetToLeftRightOf(int caret, boolean toLeft) { in getOffsetToLeftRightOf() method in Layout
1685 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft); in getOffsetToLeftRightOf()
DTextLine.java531 int getOffsetToLeftRightOf(int cursor, boolean toLeft) {