Searched refs:getOffsetToLeftRightOf (Results 1 – 2 of 2) sorted by relevance
1457 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 Layout1685 caret = lineStart + tl.getOffsetToLeftRightOf(caret - lineStart, toLeft); in getOffsetToLeftRightOf()
531 int getOffsetToLeftRightOf(int cursor, boolean toLeft) {