Home
last modified time | relevance | path

Searched defs:Candidate (Results 1 – 1 of 1) sorted by relevance

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp60 struct Candidate { struct
61 uint32_t offset; // offset to text buffer, in code units
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
68 float penalty; // penalty of this break (for example, hyphen penalty)
69 uint32_t preSpaceCount; // preceding space count before breaking
70 uint32_t postSpaceCount; // preceding space count after breaking
71 HyphenationType hyphenType;
72 bool isRtl; // The direction of the bidi run containing or ending in this candidate
74 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate() function