Searched refs:ParaWidth (Results 1 – 2 of 2) 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: 66 ParaWidth postBreak; // width of text until this point, if we decide to break here 73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() 100 inline void pushDesperate(uint32_t offset, ParaWidth sumOfCharWidths, uint32_t spaceCount, in pushDesperate() 108 inline void pushHyphenation(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushHyphenation() 116 inline void pushWordBreak(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, in pushWordBreak() 157 ParaWidth sumOfChars; 159 DesperateBreak(uint32_t offset, ParaWidth sumOfChars) in DesperateBreak() 167 ParaWidth width = measured.widths[range.getStart()]; in populateDesperatePoints() 210 const ParaWidth minLineWidth = lineWidth.getMin(); in populateCandidates() [all …]
|
D | LineBreakerUtil.h | 39 typedef double ParaWidth; typedef 109 ParaWidth sumOfCharWidths = 0.0; 113 ParaWidth effectiveWidth = 0.0; 116 ParaWidth sumOfCharWidthsAtPrevWordBreak = 0.0; 139 inline ParaWidth widthFromLastWordBreak() const { in widthFromLastWordBreak()
|