Searched refs:ParaWidth (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 63 ParaWidth preBreak; // width of text until this point, if we decide to not break here: 67 ParaWidth postBreak; // width of text until this point, if we decide to break here 74 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() 105 inline void pushDesperate(uint32_t offset, ParaWidth sumOfCharWidths, float score, in pushDesperate() 112 inline void pushHyphenation(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushHyphenation() 120 inline void pushWordBreak(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushWordBreak() 132 void pushBreakCandidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in pushBreakCandidate() 180 ParaWidth sumOfChars; 184 DesperateBreak(uint32_t offset, ParaWidth sumOfChars, float score) in DesperateBreak() 196 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints() [all …]
|
D | LineBreakerUtil.h | 41 typedef float ParaWidth; typedef 200 ParaWidth sumOfCharWidths = 0.0; 204 ParaWidth effectiveWidth = 0.0; 207 ParaWidth sumOfCharWidthsAtPrevWordBreak = 0.0; 234 inline ParaWidth widthFromLastWordBreak() const { in widthFromLastWordBreak()
|