Searched refs:LineMetrics (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 35 struct LineMetrics { struct 36 LineMetrics() : advance(0) {} in LineMetrics() argument 37 LineMetrics(const MinikinExtent& extent, const MinikinRect& bounds, float advance) in LineMetrics() argument 40 void append(const LineMetrics& metrics) { in append() argument 88 virtual LineMetrics getLineMetrics(const U16StringPiece& text, const Range& range, 162 LineMetrics getLineMetrics(const U16StringPiece& text, const Range& range, 216 LineMetrics getLineMetrics(const U16StringPiece& /*text*/, const Range& /*range*/, in getLineMetrics() 218 return LineMetrics(); in getLineMetrics()
|
/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 333 const LineMetrics& metrics() const { return mMetrics; } in metrics() 336 LineMetrics mMetrics; 339 LineMetrics StyleRun::getLineMetrics(const U16StringPiece& textBuf, const Range& range, in getLineMetrics() 404 LineMetrics MeasuredText::getLineMetrics(const U16StringPiece& textBuf, const Range& range) const { in getLineMetrics() 405 LineMetrics metrics; in getLineMetrics()
|
D | GreedyLineBreaker.cpp | 526 LineMetrics metrics = mMeasuredText.getLineMetrics(mTextBuf, actualRange); in getResult()
|
D | OptimalLineBreaker.cpp | 392 LineMetrics metrics = measured.getLineMetrics(textBuf, actualRange); in finishBreaksOptimal()
|
/frameworks/minikin/tests/unittest/ |
D | LineBreakerTestHelper.h | 77 virtual LineMetrics getLineMetrics(const U16StringPiece& text, const Range& range, in getLineMetrics() 80 return LineMetrics(getExtent(text, range, pieces), rect, adv); in getLineMetrics()
|