Home
last modified time | relevance | path

Searched refs:hyph (Results 1 – 6 of 6) sorted by relevance

/frameworks/minikin/include/minikin/
DHyphenator.h85 inline static bool isReplacement(uint32_t hyph) { in isReplacement() argument
86 return hyph == REPLACE_WITH_HYPHEN_AT_END; in isReplacement()
89 inline static bool isInsertion(uint32_t hyph) { in isInsertion() argument
90 return (hyph == INSERT_HYPHEN_AT_END in isInsertion()
91 || hyph == INSERT_ARMENIAN_HYPHEN_AT_END in isInsertion()
92 || hyph == INSERT_MAQAF_AT_END in isInsertion()
93 || hyph == INSERT_UCAS_HYPHEN_AT_END in isInsertion()
94 || hyph == INSERT_ZWJ_AND_HYPHEN_AT_END in isInsertion()
95 || hyph == INSERT_HYPHEN_AT_START in isInsertion()
96 || hyph == INSERT_ZWJ_AT_START); in isInsertion()
[all …]
DLineBreaker.h210 size_t preSpaceCount, size_t postSpaceCount, float penalty, HyphenationType hyph);
/frameworks/minikin/tools/
Dmk_hyb_file.py275 hyph = Hyph()
279 hyph.add_pat(pat)
280 return hyph
304 def load_hyp(hyph, fn): argument
307 hyph.add_exception(l.strip())
346 def generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap): argument
367 dedup_next = hyph.bfs_order[dedup_ix[next.bfs_ix]]
409 def generate_hyb_file(hyph, ch_map, hyb_fn): argument
410 bfs = hyph.bfs(ch_map)
411 dedup_ix, dedup_nodes = hyph.dedup()
[all …]
/frameworks/minikin/app/
DHyphTool.cpp39 Hyphenator* hyph = loadHybFile("/tmp/en.hyb", 2, 3); // should also be configurable in main() local
56 hyph->hyphenate(&result, word.data(), word.size(), icu::Locale::getUS()); in main()
/frameworks/minikin/libs/minikin/
DLineBreaker.cpp218 HyphenationType hyph = mHyphBuf[j - wordStart]; in addStyleRun() local
219 if (hyph != HyphenationType::DONT_BREAK) { in addStyleRun()
220 paint->hyphenEdit = HyphenEdit::editForThisLine(hyph); in addStyleRun()
226 paint->hyphenEdit = HyphenEdit::editForNextLine(hyph); in addStyleRun()
233 hyphenPenalty, hyph); in addStyleRun()
258 size_t preSpaceCount, size_t postSpaceCount, float penalty, HyphenationType hyph) { in addWordBreak() argument
294 cand.hyphenType = hyph; in addWordBreak()
DHyphenator.cpp166 const uint32_t* HyphenEdit::getHyphenString(uint32_t hyph) { in getHyphenString() argument
167 switch (hyph) { in getHyphenString()