Searched refs:alpha_codes (Results 1 - 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DHyphenator.cpp119 uint16_t alpha_codes[MAX_HYPHENATED_SIZE]; local
120 if (alphabetLookup(alpha_codes, word, len)) {
121 hyphenateFromCodes(result->data(), alpha_codes, paddedLen);
139 bool Hyphenator::alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len) { argument
147 alpha_codes[0] = 0; // word start
157 alpha_codes[i + 1] = code;
159 alpha_codes[len + 1] = 0; // word termination
166 alpha_codes[0] = 0;
177 alpha_codes[i + 1] = AlphabetTable1::value(entry);
179 alpha_codes[le
[all...]
/frameworks/minikin/include/minikin/
H A DHyphenator.h56 // Note that this methor writes len+2 entries into alpha_codes (including start and stop)
57 bool alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len);

Completed in 132 milliseconds