Searched refs:breakBadness (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 43 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 48 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 61 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 65 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 77 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 259 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 263 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 274 EXPECT_EQ(1, breaker.breakBadness()); in TEST() 277 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 281 EXPECT_EQ(0, breaker.breakBadness()); in TEST() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 121 int breakBadness() const;
|
D | LineBreakerUtil.h | 144 inline int wordBreakPenalty() const { return breaker.breakBadness(); } in wordBreakPenalty()
|
D | WordBreaker.cpp | 309 int WordBreaker::breakBadness() const { in breakBadness() function in minikin::WordBreaker
|
D | GreedyLineBreaker.cpp | 313 const bool isInEmailOrUrl = breaker->breakBadness() != 0; in processLineBreak()
|