Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp66 ParaWidth postBreak; // width of text until this point, if we decide to break here member
73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate()
78 postBreak(postBreak), 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()
340 ParaWidth leftEdge = candidates[i].postBreak - width; in computeBreaks()
349 leftEdge = candidates[i].postBreak - width; in computeBreaks()