Searched defs:hyph (Results 1 - 4 of 4) sorted by relevance

/frameworks/minikin/app/
H A DHyphTool.cpp39 Hyphenator* hyph = loadHybFile("/tmp/en.hyb", 2, 3, "en"); // should also be configurable local
56 hyph->hyphenate(word, &result);
/frameworks/minikin/include/minikin/
H A DHyphenator.h112 inline bool isReplacement(EndHyphenEdit hyph) { argument
113 return hyph == EndHyphenEdit::REPLACE_WITH_HYPHEN;
116 inline bool isInsertion(StartHyphenEdit hyph) { argument
117 return hyph != StartHyphenEdit::NO_EDIT;
120 inline bool isInsertion(EndHyphenEdit hyph) { argument
121 return static_cast<uint8_t>(hyph) >= static_cast<uint8_t>(EndHyphenEdit::INSERT_HYPHEN);
137 inline std::pair<const uint32_t*, size_t> getHyphenString(StartHyphenEdit hyph) { argument
138 if (hyph == StartHyphenEdit::INSERT_ZWJ) {
140 } else if (hyph == StartHyphenEdit::INSERT_HYPHEN) {
147 inline std::pair<const uint32_t*, size_t> getHyphenString(EndHyphenEdit hyph) { argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLineBreakerUtil.h84 const HyphenationType hyph = hyphenResult[hyphenationTargetRange.toRangeOffset(i)]; local
85 if (hyph == HyphenationType::DONT_BREAK) {
94 editForThisLine(hyph) /* end hyphen edit */,
97 editForNextLine(hyph) /* start hyphen edit */,
101 out->emplace_back(i, hyph, first, second);
H A DGreedyLineBreaker.cpp191 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(i)]; local
192 if (hyph == HyphenationType::DONT_BREAK) {
197 mStartHyphenEdit, editForThisLine(hyph),
213 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; local
214 const StartHyphenEdit nextLineStartHyphenEdit = editForNextLine(hyph);
220 editForThisLine(hyph), nextLineStartHyphenEdit);
242 const HyphenationType hyph = hyphenResult[targetRange.toRangeOffset(prevOffset)]; local
243 const StartHyphenEdit nextLineStartHyphenEdit = editForNextLine(hyph);
249 remainingCharWidths, editForThisLine(hyph), nextLineStartHyphenEdit);

Completed in 1394 milliseconds