Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java842 int segmentEnd = segmentFinder.nextEndBoundary(segmentStart); in getEndForRectWithinRun() local
845 while (segmentEnd != SegmentFinder.DONE && segmentEnd > runStart) { in getEndForRectWithinRun()
847 final int end = Math.min(runEnd, segmentEnd); in getEndForRectWithinRun()
853 segmentEnd = segmentFinder.previousEndBoundary(segmentEnd); in getEndForRectWithinRun()
1330 int segmentEnd = segmentFinder.nextEndBoundary(start); in encodeSegmentFinder() local
1331 if (segmentEnd == SegmentFinder.DONE) return; in encodeSegmentFinder()
1332 int segmentStart = segmentFinder.previousStartBoundary(segmentEnd); in encodeSegmentFinder()
1334 while (segmentEnd != SegmentFinder.DONE && segmentEnd <= end) { in encodeSegmentFinder()
1337 flags[segmentEnd - start] |= segmentEndFlag; in encodeSegmentFinder()
1340 segmentEnd = segmentFinder.nextEndBoundary(segmentEnd); in encodeSegmentFinder()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGestureManifoldTest.java109 PointF segmentEnd = new PointF(PATH_START.x + delta.x, PATH_START.y + delta.y); in testPath() local
110 fillPath(PATH_START, segmentEnd, path); in testPath()
/frameworks/base/core/java/android/text/
DLayout.java2597 float segmentEnd = lineStartPos + horizontalBounds[ in getStartOffsetForAreaWithinRun() local
2599 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getStartOffsetForAreaWithinRun()
2600 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getStartOffsetForAreaWithinRun()
2707 float segmentEnd = lineStartPos + horizontalBounds[ in getEndOffsetForAreaWithinRun() local
2709 if ((!isRtl && segmentEnd < area.left) || (isRtl && segmentEnd > area.right)) { in getEndOffsetForAreaWithinRun()
2717 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getEndOffsetForAreaWithinRun()
2718 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getEndOffsetForAreaWithinRun()
/frameworks/base/core/java/android/view/
DView.java16103 final int segmentEnd = range[1]; 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()