Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DMeasuredText.h35 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/
DMeasuredText.cpp333 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()
DGreedyLineBreaker.cpp526 LineMetrics metrics = mMeasuredText.getLineMetrics(mTextBuf, actualRange); in getResult()
DOptimalLineBreaker.cpp392 LineMetrics metrics = measured.getLineMetrics(textBuf, actualRange); in finishBreaksOptimal()
/frameworks/minikin/tests/unittest/
DLineBreakerTestHelper.h77 virtual LineMetrics getLineMetrics(const U16StringPiece& text, const Range& range, in getLineMetrics()
80 return LineMetrics(getExtent(text, range, pieces), rect, adv); in getLineMetrics()