Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DMeasuredText.h42 virtual bool canBreak() const = 0;
89 bool canBreak() const override { return true; } in canBreak() function
124 bool canBreak() const { return false; } in canBreak() function
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp139 if (!computeHyphenation || !run->canBreak()) { in measure()
147 const bool canBreak = run->canBreak() || (i + 1) == range.getEnd(); in measure() local
148 proc.feedChar(i, textBuf[i], widths[i], canBreak); in measure()
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()
DGreedyLineBreaker.cpp346 if (run->canBreak() || nextWordBoundaryOffset == range.getEnd()) { in process()
347 processLineBreak(i + 1, &wordBreaker, run->canBreak()); in process()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h55 virtual bool canBreak() const override { return true; } in canBreak() function