Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLineBreakerUtil.h73 const Range& contextRange, // A context range for measuring hyphenated piece. in populateHyphenationPoints() argument
77 if (!run.getRange().contains(contextRange) || !contextRange.contains(hyphenationTargetRange)) { in populateHyphenationPoints()
89 auto hyphenPart = contextRange.split(i); in populateHyphenationPoints()
141 inline Range contextRange() const { return Range(prevWordBreak, nextWordBreak); } in contextRange() function
DGreedyLineBreaker.cpp185 Range contextRange = range; in tryLineBreakWithHyphenation() local
196 const float width = targetRun->measureHyphenPiece(mTextBuf, contextRange.split(i).first, in tryLineBreakWithHyphenation()
210 doLineBreakWithGraphemeBounds(contextRange); in tryLineBreakWithHyphenation()
216 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation()
232 contextRange.setStart(i); // Update the hyphenation start point. in tryLineBreakWithHyphenation()
240 doLineBreakWithGraphemeBounds(contextRange); in tryLineBreakWithHyphenation()
245 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation()
DOptimalLineBreaker.cpp244 const Range contextRange = proc.contextRange(); in populateCandidates() local
248 hyIter->offset < contextRange.getEnd()) { in populateCandidates()
252 desperateBreaks = populateDesperatePoints(measured, contextRange); in populateCandidates()
DMeasuredText.cpp52 populateHyphenationPoints(textBuf, *run, *proc.hyphenator, proc.contextRange(), in measure()