Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp67 ParaWidth postBreak; // width of text until this point, if we decide to break here member
74 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate()
79 postBreak(postBreak), in Candidate()
112 inline void pushHyphenation(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushHyphenation()
115 pushBreakCandidate(offset, preBreak, postBreak, penalty, spaceCount, spaceCount, type, in pushHyphenation()
120 inline void pushWordBreak(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushWordBreak()
123 pushBreakCandidate(offset, preBreak, postBreak, penalty, preSpaceCount, postSpaceCount, in pushWordBreak()
132 void pushBreakCandidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in pushBreakCandidate()
146 candidates.emplace_back(offset, preBreak + letterSpacingHalf, postBreak - letterSpacingHalf, in pushBreakCandidate()
381 result.widths.push_back(cand.postBreak - prev.preBreak); in finishBreaksOptimal()
[all …]