Searched refs:breakBadness (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 42 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 47 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 62 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 66 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 81 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 282 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 286 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 300 EXPECT_EQ(1, breaker.breakBadness()); in TEST() 303 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 307 EXPECT_EQ(0, breaker.breakBadness()); in TEST() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 168 int breakBadness() const;
|
D | LineBreakerUtil.h | 239 inline int wordBreakPenalty() const { return breaker.breakBadness(); } in wordBreakPenalty()
|
D | WordBreaker.cpp | 350 int WordBreaker::breakBadness() const { in breakBadness() function in minikin::WordBreaker
|
D | GreedyLineBreaker.cpp | 442 const bool isInEmailOrUrl = breaker->breakBadness() != 0; in processLineBreak()
|