Searched refs:segmentBounds (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/view/inputmethod/ |
D | TextBoundsInfo.java | 769 final RectF segmentBounds = new RectF(); in getStartForRectWithinRun() local 773 getBoundsForRange(start, end, segmentBounds); in getStartForRectWithinRun() 775 if (inclusionStrategy.isSegmentInside(segmentBounds, area)) return start; in getStartForRectWithinRun() 844 final RectF segmentBounds = new RectF(); in getEndForRectWithinRun() local 848 getBoundsForRange(start, end, segmentBounds); in getEndForRectWithinRun() 850 if (inclusionStrategy.isSegmentInside(segmentBounds, area)) return end; in getEndForRectWithinRun()
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 215 (segmentBounds, area) -> 216 area.contains(segmentBounds.centerX(), segmentBounds.centerY()); 224 (segmentBounds, area) -> area.contains(segmentBounds); 2586 RectF segmentBounds = new RectF(0, lineTop, 0, lineBottom); in getStartOffsetForAreaWithinRun() local 2599 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getStartOffsetForAreaWithinRun() 2600 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getStartOffsetForAreaWithinRun() 2601 if (inclusionStrategy.isSegmentInside(segmentBounds, area)) { in getStartOffsetForAreaWithinRun() 2704 RectF segmentBounds = new RectF(0, lineTop, 0, lineBottom); in getEndOffsetForAreaWithinRun() local 2717 segmentBounds.left = isRtl ? segmentEnd : segmentStart; in getEndOffsetForAreaWithinRun() 2718 segmentBounds.right = isRtl ? segmentStart : segmentEnd; in getEndOffsetForAreaWithinRun() [all …]
|