Lines Matching defs:range
1285 // Update text range by grapheme edges (shift start up to the edge of the grapheme)
1293 //SkDebugf("Correct range: [%d:%d) -> [%d:%d)\n", textRange.start, textRange.end, startIndex, endIndex);
2131 // Find the grapheme range that contains the point
2271 int getEndWhitespaceCount(const ClusterRange& range, ParagraphImpl* owner)
2278 for (auto clusterIndex = range.end - 1; clusterIndex >= range.start; clusterIndex--) {
2284 if (clusterIndex == range.start) {
2328 size_t getPrevGlyphsIndex(const ClusterRange& range, ParagraphImpl* owner, RunIndex& prevRunIndex)
2335 auto clusterIndex = range.start - 1;
2337 if (prevRunIndex != owner->cluster(range.start).runIndex()) {
2361 std::vector<SkRect> getAllRectInfo(const ClusterRange& range, ParagraphImpl* owner)
2365 std::vector<RSRect> getAllRectInfo(const ClusterRange& range, ParagraphImpl* owner)
2376 if (range.start > 0) {
2377 glyphsIndex = getPrevGlyphsIndex(range, owner, prevRunIndex);
2380 for (auto clusterIndex = range.start; clusterIndex < range.end; clusterIndex++) {