Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java2213 final int lineStartOffset = getLineStart(line); in getOffsetForHorizontal() local
2219 tl.set(mPaint, mText, lineStartOffset, lineEndOffset, getParagraphDirection(line), dirs, in getOffsetForHorizontal()
2230 max = tl.getOffsetToLeftRightOf(lineEndOffset - lineStartOffset, in getOffsetForHorizontal()
2231 !isRtlCharAt(lineEndOffset - 1)) + lineStartOffset; in getOffsetForHorizontal()
2233 int best = lineStartOffset; in getOffsetForHorizontal()
2234 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
2237 int here = lineStartOffset + dirs.mDirections[i]; in getOffsetForHorizontal()
2261 int aft = tl.getOffsetToLeftRightOf(low - lineStartOffset, isRtl) + lineStartOffset; in getOffsetForHorizontal()
2262 low = tl.getOffsetToLeftRightOf(aft - lineStartOffset, !isRtl) + lineStartOffset; in getOffsetForHorizontal()
2450 int lineStartOffset = getLineStart(line); in getStartOrEndOffsetForAreaWithinLine() local
[all …]