Searched refs:LineBreakResult (Results 1 – 11 of 11) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | LineBreaker.h | 88 struct LineBreakResult { struct 90 LineBreakResult() = default; 100 LineBreakResult(LineBreakResult&&) = default; argument 101 LineBreakResult& operator=(LineBreakResult&&) = default; argument 112 MINIKIN_PREVENT_COPY_AND_ASSIGN(LineBreakResult); argument 115 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy,
|
D | AndroidLineBreakerHelper.h | 83 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
|
/frameworks/base/libs/hwui/jni/text/ |
D | LineBreaker.cpp | 94 std::unique_ptr<minikin::LineBreakResult> result = in nComputeLineBreaks() 95 std::make_unique<minikin::LineBreakResult>(builder->computeBreaks( in nComputeLineBreaks() 102 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints.size(); in nGetLineCount() 106 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->breakPoints[i]; in nGetLineBreakOffset() 110 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->widths[i]; in nGetLineWidth() 114 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->ascents[i]; in nGetLineAscent() 118 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->descents[i]; in nGetLineDescent() 122 return reinterpret_cast<minikin::LineBreakResult*>(ptr)->flags[i]; in nGetLineFlag() 126 delete reinterpret_cast<minikin::LineBreakResult*>(ptr); in nReleaseResult()
|
/frameworks/minikin/libs/minikin/ |
D | OptimalLineBreaker.cpp | 277 LineBreakResult computeBreaks(const OptimizeContext& context, const U16StringPiece& textBuf, 288 LineBreakResult finishBreaksOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, 294 LineBreakResult LineBreakOptimizer::finishBreaksOptimal( in finishBreaksOptimal() 298 LineBreakResult result; in finishBreaksOptimal() 320 LineBreakResult LineBreakOptimizer::computeBreaks(const OptimizeContext& context, in computeBreaks() 407 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal() 411 return LineBreakResult(); in breakLineOptimal()
|
D | GreedyLineBreaker.cpp | 53 LineBreakResult getResult() const; 361 LineBreakResult GreedyLineBreaker::getResult() const { in getResult() 364 LineBreakResult out; in getResult() 388 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy() 392 return LineBreakResult(); in breakLineGreedy()
|
D | GreedyLineBreaker.h | 28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
|
D | OptimalLineBreaker.h | 26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
|
D | LineBreaker.cpp | 24 LineBreakResult breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, in breakIntoLines()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 112 const LineBreakResult& actual) { in sameLineBreak() 177 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
|
D | OptimalLineBreakerTest.cpp | 67 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, in doLineBreak() 72 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, in doLineBreak() 90 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak()
|
D | GreedyLineBreakerTest.cpp | 67 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, bool doHyphenation, in doLineBreak() 72 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, bool doHyphenation, in doLineBreak()
|