Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java764 int segmentEndOffset = segmentFinder.nextEndBoundary(runStart); in getStartForRectWithinRun() local
766 if (segmentEndOffset == SegmentFinder.DONE) return -1; in getStartForRectWithinRun()
767 int segmentStartOffset = segmentFinder.previousStartBoundary(segmentEndOffset); in getStartForRectWithinRun()
772 final int end = Math.min(runEnd, segmentEndOffset); in getStartForRectWithinRun()
778 segmentEndOffset = segmentFinder.nextEndBoundary(segmentEndOffset); in getStartForRectWithinRun()
/frameworks/base/core/java/android/text/
DLayout.java2568 int segmentEndOffset = in getStartOffsetForAreaWithinRun() local
2570 if (segmentEndOffset == SegmentFinder.DONE) { in getStartOffsetForAreaWithinRun()
2575 int segmentStartOffset = segmentFinder.previousStartBoundary(segmentEndOffset); in getStartOffsetForAreaWithinRun()
2584 segmentEndOffset = Math.min(segmentEndOffset, lineStartOffset + runEndOffset); in getStartOffsetForAreaWithinRun()
2598 2 * (segmentEndOffset - lineStartOffset - 1) + (isRtl ? 0 : 1)]; in getStartOffsetForAreaWithinRun()
2611 segmentEndOffset = segmentFinder.nextEndBoundary(segmentStartOffset); in getStartOffsetForAreaWithinRun()
2614 segmentEndOffset = Math.min(segmentEndOffset, lineStartOffset + runEndOffset); in getStartOffsetForAreaWithinRun()
2693 int segmentEndOffset = segmentFinder.nextEndBoundary(segmentStartOffset); in getEndOffsetForAreaWithinRun() local
2694 if (segmentEndOffset <= lineStartOffset + runStartOffset) { in getEndOffsetForAreaWithinRun()
2702 segmentEndOffset = Math.min(segmentEndOffset, lineStartOffset + runEndOffset); in getEndOffsetForAreaWithinRun()
[all …]