Searched refs:contextRange (Results 1 – 6 of 6) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | LineBreakerUtil.h | 68 const Range& contextRange, // A context range for measuring hyphenated piece. in populateHyphenationPoints() argument 72 if (!run.getRange().contains(contextRange) || !contextRange.contains(hyphenationTargetRange)) { in populateHyphenationPoints() 84 auto hyphenPart = contextRange.split(i); in populateHyphenationPoints() 136 inline Range contextRange() const { return Range(prevWordBreak, nextWordBreak); } in contextRange() function
|
D | GreedyLineBreaker.cpp | 186 Range contextRange = range; in tryLineBreakWithHyphenation() local 198 targetRun->measureHyphenPiece(mTextBuf, contextRange.split(i).first, in tryLineBreakWithHyphenation() 211 doLineBreakWithGraphemeBounds(contextRange); in tryLineBreakWithHyphenation() 217 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation() 233 contextRange.setStart(i); // Update the hyphenation start point. in tryLineBreakWithHyphenation() 241 doLineBreakWithGraphemeBounds(contextRange); in tryLineBreakWithHyphenation() 246 mTextBuf, contextRange.split(prevOffset).second, nextLineStartHyphenEdit, in tryLineBreakWithHyphenation()
|
D | OptimalLineBreaker.cpp | 247 const Range contextRange = proc.contextRange(); in populateCandidates() local 251 hyIter->offset < contextRange.getEnd()) { in populateCandidates() 255 desperateBreaks = populateDesperatePoints(measured, contextRange); in populateCandidates()
|
D | MeasuredText.cpp | 155 populateHyphenationPoints(textBuf, *run, *proc.hyphenator, proc.contextRange(), in measure() 277 const Range& contextRange, const MinikinPaint& paint, in buildLayout() argument 290 run->appendLayout(textBuf, targetRange, contextRange, layoutPieces, paint, range.getStart(), in buildLayout()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 60 const minikin::Range contextRange(contextStart, contextStart + contextCount); in doLayout() local 65 return minikin::Layout(textBuf.substr(contextRange), range - contextStart, bidiFlags, in doLayout() 68 return mt->buildLayout(textBuf, range, contextRange, minikinPaint, startHyphen, endHyphen); in doLayout()
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 57 const Range& contextRange, const LayoutPieces& pieces, 102 void appendLayout(const U16StringPiece& text, const Range& range, const Range& contextRange, 194 Layout buildLayout(const U16StringPiece& textBuf, const Range& range, const Range& contextRange,
|