Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java1442 final int lineStartOffset = getLineStart(line); in getOffsetForHorizontal() local
1448 tl.set(mPaint, mText, lineStartOffset, lineEndOffset, getParagraphDirection(line), dirs, in getOffsetForHorizontal()
1457 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
1458 !isRtlCharAt(lineEndOffset - 1)) + lineStartOffset; in getOffsetForHorizontal()
1460 int best = lineStartOffset; in getOffsetForHorizontal()
1461 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
1464 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
1488 int aft = tl.getOffsetToLeftRightOf(low - lineStartOffset, isRtl) + lineStartOffset; in getOffsetForHorizontal()
1489 low = tl.getOffsetToLeftRightOf(aft - lineStartOffset, !isRtl) + lineStartOffset; in getOffsetForHorizontal()