Searched refs:hyph (Results 1 – 6 of 6) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 85 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 …]
|
D | LineBreaker.h | 210 size_t preSpaceCount, size_t postSpaceCount, float penalty, HyphenationType hyph);
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 275 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/ |
D | HyphTool.cpp | 39 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/ |
D | LineBreaker.cpp | 218 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()
|
D | Hyphenator.cpp | 166 const uint32_t* HyphenEdit::getHyphenString(uint32_t hyph) { in getHyphenString() argument 167 switch (hyph) { in getHyphenString()
|