Searched refs:breakBadness (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 44 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 49 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 62 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 66 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 78 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 261 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 265 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 276 EXPECT_EQ(1, breaker.breakBadness()); in TEST() 279 EXPECT_EQ(0, breaker.breakBadness()); in TEST() 283 EXPECT_EQ(0, breaker.breakBadness()); in TEST() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 120 int breakBadness() const;
|
D | LineBreakerUtil.h | 149 inline int wordBreakPenalty() const { return breaker.breakBadness(); } in wordBreakPenalty()
|
D | WordBreaker.cpp | 308 int WordBreaker::breakBadness() const { in breakBadness() function in minikin::WordBreaker
|
D | GreedyLineBreaker.cpp | 308 const bool isInEmailOrUrl = breaker->breakBadness() != 0; in processLineBreak()
|