OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HyphenationType
(Results
1 - 7
of
7
) sorted by null
/frameworks/minikin/tests/unittest/
HyphenatorTest.cpp
56
std::vector<
HyphenationType
> result;
59
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[0]);
60
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[1]);
61
EXPECT_EQ(
HyphenationType
::BREAK_AND_INSERT_HYPHEN, result[2]);
62
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[3]);
63
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[4]);
70
std::vector<
HyphenationType
> result;
73
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[0]);
74
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[1]);
75
EXPECT_EQ(
HyphenationType
::DONT_BREAK, result[2])
[
all
...]
/frameworks/minikin/libs/minikin/
Hyphenator.cpp
119
void Hyphenator::hyphenate(vector<
HyphenationType
>* result, const uint16_t* word, size_t len,
127
const
HyphenationType
hyphenValue = alphabetLookup(alpha_codes, word, len);
128
if (hyphenValue !=
HyphenationType
::DONT_BREAK) {
187
uint32_t HyphenEdit::editForThisLine(
HyphenationType
type) {
189
case
HyphenationType
::DONT_BREAK:
191
case
HyphenationType
::BREAK_AND_INSERT_HYPHEN:
193
case
HyphenationType
::BREAK_AND_INSERT_ARMENIAN_HYPHEN:
195
case
HyphenationType
::BREAK_AND_INSERT_MAQAF:
197
case
HyphenationType
::BREAK_AND_INSERT_UCAS_HYPHEN:
199
case
HyphenationType
::BREAK_AND_REPLACE_WITH_HYPHEN
[
all
...]
LineBreaker.cpp
76
Candidate cand = {0, 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0,
HyphenationType
::DONT_BREAK};
179
if (mHyphBuf[j - wordStart] ==
HyphenationType
::BREAK_AND_INSERT_HYPHEN) {
190
HyphenationType
hyph = mHyphBuf[j - wordStart];
191
if (hyph !=
HyphenationType
::DONT_BREAK) {
216
HyphenationType
::DONT_BREAK);
230
size_t preSpaceCount, size_t postSpaceCount, float penalty,
HyphenationType
hyph) {
249
cand.hyphenType =
HyphenationType
::BREAK_AND_DONT_INSERT_HYPHEN;
/frameworks/minikin/include/minikin/
Hyphenator.h
30
enum class
HyphenationType
: uint8_t {
100
static uint32_t editForThisLine(
HyphenationType
type);
101
static uint32_t editForNextLine(
HyphenationType
type);
126
void hyphenate(std::vector<
HyphenationType
>* result, const uint16_t* word, size_t len,
143
void hyphenateWithNoPatterns(
HyphenationType
* result, const uint16_t* word, size_t len,
150
HyphenationType
alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len);
153
void hyphenateFromCodes(
HyphenationType
* result, const uint16_t* codes, size_t len,
154
HyphenationType
hyphenValue);
LineBreaker.h
201
HyphenationType
hyphenType;
207
size_t preSpaceCount, size_t postSpaceCount, float penalty,
HyphenationType
hyph);
229
std::vector<
HyphenationType
> mHyphBuf;
/frameworks/minikin/app/
HyphTool.cpp
11
using minikin::
HyphenationType
;
40
std::vector<
HyphenationType
> result;
58
if (result[i] !=
HyphenationType
::DONT_BREAK) {
/frameworks/minikin/tests/perftests/
Hyphenator.cpp
33
std::vector<
HyphenationType
> result;
48
std::vector<
HyphenationType
> result;
Completed in 56 milliseconds