Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java839 int segmentStart = segmentFinder.previousStartBoundary(runEnd); in getEndForRectWithinRun() local
841 if (segmentStart == SegmentFinder.DONE) return -1; in getEndForRectWithinRun()
842 int segmentEnd = segmentFinder.nextEndBoundary(segmentStart); in getEndForRectWithinRun()
846 final int start = Math.max(runStart, segmentStart); in getEndForRectWithinRun()
852 segmentStart = segmentFinder.previousStartBoundary(segmentStart); in getEndForRectWithinRun()
1332 int segmentStart = segmentFinder.previousStartBoundary(segmentEnd); in encodeSegmentFinder() local
1335 if (segmentStart >= start) { in encodeSegmentFinder()
1336 flags[segmentStart - start] |= segmentStartFlag; in encodeSegmentFinder()
1339 segmentStart = segmentFinder.nextStartBoundary(segmentStart); in encodeSegmentFinder()
1393 int segmentStart = lineSegmentFinder.previousStartBoundary(segmentEnd); in isLineDirectionFlagConsistent() local
[all …]
/frameworks/base/core/java/android/text/
DLayout.java2589 float segmentStart = lineStartPos + horizontalBounds[ in getStartOffsetForAreaWithinRun() local
2591 if ((!isRtl && segmentStart > area.right) || (isRtl && segmentStart < area.left)) { in getStartOffsetForAreaWithinRun()
2599 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getStartOffsetForAreaWithinRun()
2600 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getStartOffsetForAreaWithinRun()
2715 float segmentStart = lineStartPos + horizontalBounds[ in getEndOffsetForAreaWithinRun() local
2717 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getEndOffsetForAreaWithinRun()
2718 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getEndOffsetForAreaWithinRun()
/frameworks/base/core/java/android/view/
DView.java16102 final int segmentStart = range[0]; in traverseAtGranularity() local
16110 selectionStart = forward ? segmentStart : segmentEnd; in traverseAtGranularity()
16112 selectionEnd = forward ? segmentEnd : segmentStart; in traverseAtGranularity()
16114 selectionStart = selectionEnd= forward ? segmentEnd : segmentStart; in traverseAtGranularity()
16119 sendViewTextTraversedAtGranularityEvent(action, granularity, segmentStart, segmentEnd); in traverseAtGranularity()