Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1545 final int lineStartOffset = getLineStart(line); in getOffsetForHorizontal() local
1551 tl.set(mPaint, mText, lineStartOffset, lineEndOffset, getParagraphDirection(line), dirs, in getOffsetForHorizontal()
1561 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
1562 !isRtlCharAt(lineEndOffset - 1)) + lineStartOffset; in getOffsetForHorizontal()
1564 int best = lineStartOffset; in getOffsetForHorizontal()
1565 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
1568 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
1592 int aft = tl.getOffsetToLeftRightOf(low - lineStartOffset, isRtl) + lineStartOffset; in getOffsetForHorizontal()
1593 low = tl.getOffsetToLeftRightOf(aft - lineStartOffset, !isRtl) + lineStartOffset; in getOffsetForHorizontal()