Home
last modified time | relevance | path

Searched refs:mMeasuredText (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp46 mMeasuredText(measured), in GreedyLineBreaker()
120 const MeasuredText& mMeasuredText; member in minikin::__anon9c931a620111::GreedyLineBreaker
169 for (const auto& run : mMeasuredText.runs) { in tryLineBreakWithHyphenation()
258 double width = mMeasuredText.widths[range.getStart()]; in doLineBreakWithGraphemeBounds()
262 const float w = mMeasuredText.widths[i]; in doLineBreakWithGraphemeBounds()
329 for (const auto& run : mMeasuredText.runs) { in process()
342 updateLineWidth(mTextBuf[i], mMeasuredText.widths[i]); in process()
374 mMeasuredText.getExtent(mTextBuf, Range(prevBreakOffset, breakPoint.offset)); in getResult()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java125 private @Nullable MeasuredText mMeasuredText; field in MeasuredParagraph
153 mMeasuredText = null; in reset()
250 return mMeasuredText; in getMeasuredText()
263 if (mMeasuredText == null) { in getWidth()
273 return mMeasuredText.getWidth(start, end); in getWidth()
285 mMeasuredText.getBounds(start, end, bounds); in getBounds()
294 return mMeasuredText.getCharWidthAt(offset); in getCharWidthAt()
405 builder = new MeasuredText.Builder(hint.mMeasuredText); in buildForStaticLayout()
410 mt.mMeasuredText = builder.build(); in buildForStaticLayout()
431 mt.mMeasuredText = builder.build(); in buildForStaticLayout()
[all …]