Searched refs:LINE_WIDTH (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 236 constexpr float LINE_WIDTH = 1000; in TEST_F() local 241 expectBreak(expect, textBuf, HIGH_QUALITY, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 242 expectBreak(expect, textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 243 expectBreak(expect, textBuf, BALANCED, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 244 expectBreak(expect, textBuf, BALANCED, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 247 constexpr float LINE_WIDTH = 240; in TEST_F() local 251 expectBreak(expect, textBuf, HIGH_QUALITY, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 252 expectBreak(expect, textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 253 expectBreak(expect, textBuf, BALANCED, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 254 expectBreak(expect, textBuf, BALANCED, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 272 constexpr float LINE_WIDTH = 1000; in TEST_F() local 277 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() 283 constexpr float LINE_WIDTH = 240; in TEST_F() local 288 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() 294 constexpr float LINE_WIDTH = 230; in TEST_F() local 302 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() 308 constexpr float LINE_WIDTH = 80; in TEST_F() local 318 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() 324 constexpr float LINE_WIDTH = 70; in TEST_F() local 334 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() [all …]
|