Home
last modified time | relevance | path

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

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