Home
last modified time | relevance | path

Searched refs:MeasuredText (Results 1 – 20 of 20) sorted by relevance

/frameworks/minikin/include/minikin/
DMeasuredText.h158 class MeasuredText {
187 MeasuredText(MeasuredText&&) = default;
188 MeasuredText& operator=(MeasuredText&&) = default;
190 MINIKIN_PREVENT_COPY_AND_ASSIGN(MeasuredText);
198 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() function
223 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, in build()
226 return std::unique_ptr<MeasuredText>( in build()
227 new MeasuredText(textBuf, std::move(mRuns), computeHyphenation, computeLayout)); in build()
DLineBreaker.h123 const MeasuredText& measuredText, const LineWidth& lineWidth,
DAndroidLineBreakerHelper.h95 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp164 std::vector<DesperateBreak> populateDesperatePoints(const MeasuredText& measured, in populateDesperatePoints()
207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates()
274 const MeasuredText& measuredText, const LineWidth& lineWidth,
284 LineBreakResult finishBreaksOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
288 MinikinExtent computeMaxExtent(const U16StringPiece& textBuf, const MeasuredText& measured,
295 const MeasuredText& measured, uint32_t start, in computeMaxExtent()
308 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal()
335 const MeasuredText& measured, in computeBreaks()
420 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal()
DMeasuredText.cpp27 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure()
58 void MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout()
66 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) { in getBounds()
DGreedyLineBreaker.h28 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured,
DOptimalLineBreaker.h26 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured,
DLineBreaker.cpp26 const MeasuredText& measuredText, const LineWidth& lineWidth, in breakIntoLines()
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker()
119 const MeasuredText& mMeasuredText;
384 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DAndroid.bp47 "MeasuredText.cpp",
/frameworks/base/core/jni/
Dandroid_text_MeasuredParagraph.cpp53 static inline minikin::MeasuredText* toMeasuredParagraph(jlong ptr) { in toMeasuredParagraph()
54 return reinterpret_cast<minikin::MeasuredText*>(ptr); in toMeasuredParagraph()
105 minikin::MeasuredText* mt = toMeasuredParagraph(ptr); in nGetWidth()
Dandroid_text_StaticLayout.cpp143 minikin::MeasuredText* measuredText = reinterpret_cast<minikin::MeasuredText*>(measuredTextPtr); in nComputeLineBreaks()
Dandroid_graphics_Canvas.cpp35 class MeasuredText;
517 minikin::MeasuredText* mt = reinterpret_cast<minikin::MeasuredText*>(mtHandle); in drawTextRunChars()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h35 class MeasuredText; variable
48 minikin::MeasuredText* mt);
DCanvas.h37 class MeasuredText; variable
273 minikin::MeasuredText* mt);
DMinikinUtils.cpp52 size_t count, size_t bufSize, minikin::MeasuredText* mt) { in doLayout()
DCanvas.cpp161 const Typeface* typeface, minikin::MeasuredText* mt) { in drawText()
/frameworks/minikin/tests/unittest/
DMeasuredTextTest.cpp47 std::unique_ptr<MeasuredText> measuredText = in TEST()
DGreedyLineBreakerTest.cpp68 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak()
696 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
715 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
778 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
799 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
828 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
DOptimalLineBreakerTest.cpp69 std::unique_ptr<MeasuredText> measuredText = builder.build( in doLineBreak()
74 LineBreakResult doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, in doLineBreak()
970 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
987 std::unique_ptr<MeasuredText> measuredText = builder.build( in TEST_F()
1084 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F()
1125 std::unique_ptr<MeasuredText> measured = builder.build( in TEST_F()