Searched refs:preBreak (Results 1 – 1 of 1) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 62 ParaWidth preBreak; // width of text until this point, if we decide to not break here: member 73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() 77 preBreak(preBreak), in Candidate() 108 inline void pushHyphenation(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushHyphenation() 111 candidates.emplace_back(offset, preBreak, postBreak, penalty, spaceCount, spaceCount, type, in pushHyphenation() 116 inline void pushWordBreak(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushWordBreak() 119 candidates.emplace_back(offset, preBreak, postBreak, penalty, preSpaceCount, postSpaceCount, in pushWordBreak() 304 result.widths.push_back(cand.postBreak - prev.preBreak); in finishBreaksOptimal() 357 const float delta = candidates[j].preBreak - leftEdge; in computeBreaks()
|