Home
last modified time | relevance | path

Searched refs:canBreak (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/include/minikin/
DMeasuredText.h43 virtual bool canBreak() const = 0;
103 bool canBreak() const override { return true; } in canBreak() function
147 bool canBreak() const { return false; } in canBreak() function
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp224 if (run->canBreak()) { in populateCandidates()
236 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in populateCandidates() local
237 proc.feedChar(i, textBuf[i], measured.widths[i], canBreak); in populateCandidates()
DMeasuredText.cpp170 if (!computeHyphenation || !run->canBreak()) { in measure()
178 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in measure() local
179 proc.feedChar(i, textBuf[i], widths[i], canBreak); in measure()
DGreedyLineBreaker.cpp347 if (run->canBreak() || nextWordBoundaryOffset == range.getEnd()) { in process()
348 processLineBreak(i + 1, &wordBreaker, run->canBreak()); in process()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h55 virtual bool canBreak() const override { return true; } in canBreak() function