Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/inputmethod/
DTextBoundsInfo.java673 public int[] getRangeForRect(@NonNull RectF area, @NonNull SegmentFinder segmentFinder, in getRangeForRect() argument
682 start = getStartForRectWithinLine(lineStart, lineEnd, area, segmentFinder, in getRangeForRect()
697 end = getEndForRectWithinLine(lineStart, lineEnd, area, segmentFinder, in getRangeForRect()
704 start = segmentFinder.previousStartBoundary(start + 1); in getRangeForRect()
705 end = segmentFinder.nextEndBoundary(end - 1); in getRangeForRect()
723 @NonNull SegmentFinder segmentFinder, in getStartForRectWithinLine() argument
733 final int start = getStartForRectWithinRun(runStart, index, area, segmentFinder, in getStartForRectWithinLine()
743 return getStartForRectWithinRun(runStart, lineEnd, area, segmentFinder, inclusionStrategy); in getStartForRectWithinLine()
760 @NonNull SegmentFinder segmentFinder, in getStartForRectWithinRun() argument
764 int segmentEndOffset = segmentFinder.nextEndBoundary(runStart); in getStartForRectWithinRun()
[all …]
/frameworks/base/core/java/android/text/
DLayout.java2365 public int[] getRangeForRect(@NonNull RectF area, @NonNull SegmentFinder segmentFinder, in getRangeForRect() argument
2389 startLine, area, segmentFinder, inclusionStrategy, /* getStart= */ true); in getRangeForRect()
2395 startLine, area, segmentFinder, inclusionStrategy, /* getStart= */ true); in getRangeForRect()
2403 endLine, area, segmentFinder, inclusionStrategy, /* getStart= */ false); in getRangeForRect()
2409 endLine, area, segmentFinder, inclusionStrategy, /* getStart= */ false); in getRangeForRect()
2420 start = segmentFinder.previousStartBoundary(start + 1); in getRangeForRect()
2421 end = segmentFinder.nextEndBoundary(end - 1); in getRangeForRect()
2444 @NonNull SegmentFinder segmentFinder, in getStartOrEndOffsetForAreaWithinLine() argument
2486 segmentFinder, inclusionStrategy) in getStartOrEndOffsetForAreaWithinLine()
2491 segmentFinder, inclusionStrategy); in getStartOrEndOffsetForAreaWithinLine()
[all …]