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()
131 const MeasuredText& mMeasuredText; member in minikin::__anondb74f7790111::GreedyLineBreaker
184 for (const auto& run : mMeasuredText.runs) { in tryLineBreakWithHyphenation()
277 float width = mMeasuredText.widths[range.getStart()]; in doLineBreakWithGraphemeBounds()
282 const float w = mMeasuredText.widths[i]; in doLineBreakWithGraphemeBounds()
311 for (const auto& run : mMeasuredText.runs) { in doLineBreakWithFallback()
339 const float w = mMeasuredText.widths[i]; in doLineBreakWithFallback()
388 if (!mMeasuredText.hasOverhang(range)) { in overhangExceedLineLimit()
403 return mMeasuredText.getBounds(mTextBuf, Range(range.getStart(), range.getEnd() - i)).width() > in overhangExceedLineLimit()
457 for (uint32_t runIndex = 0; runIndex < mMeasuredText.runs.size(); ++runIndex) { in process()
[all …]
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java140 private @Nullable MeasuredText mMeasuredText; field in MeasuredParagraph
171 mMeasuredText = null; in reset()
343 return mMeasuredText; in getMeasuredText()
357 if (mMeasuredText == null) { in getWidth()
367 return mMeasuredText.getWidth(start, end); in getWidth()
380 mMeasuredText.getBounds(start, end, bounds); in getBounds()
391 mMeasuredText.getFontMetricsInt(start, end, fmi); in getFontMetricsInt()
401 return mMeasuredText.getCharWidthAt(offset); in getCharWidthAt()
605 builder = new MeasuredText.Builder(hint.mMeasuredText); in buildForStaticLayoutInternal()
610 mt.mMeasuredText = builder.build(); in buildForStaticLayoutInternal()
[all …]