/frameworks/minikin/libs/minikin/ |
D | MeasuredText.cpp | 27 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()
|
D | OptimalLineBreaker.cpp | 207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates() 294 MinikinExtent LineBreakOptimizer::computeMaxExtent(const U16StringPiece& textBuf, in computeMaxExtent() 308 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal() 334 const U16StringPiece& textBuf, in computeBreaks() 420 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal()
|
D | BidiUtils.cpp | 75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
|
D | Layout.cpp | 228 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout() 243 void Layout::doLayoutWithPrecomputedPieces(const U16StringPiece& textBuf, const Range& range, in doLayoutWithPrecomputedPieces() 258 std::pair<float, MinikinRect> Layout::getBoundsWithPrecomputedPieces(const U16StringPiece& textBuf, in getBoundsWithPrecomputedPieces() 273 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText() 289 float Layout::doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl, in doLayoutRunCached() 344 LayoutAppendFunctor(const U16StringPiece& textBuf, const Range& range, in LayoutAppendFunctor() 410 const U16StringPiece textBuf(buf, bufSize); in doLayoutWord() local
|
D | GreedyLineBreaker.cpp | 41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() 384 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
|
D | LineBreakerUtil.h | 70 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 83 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 291 const std::vector<uint16_t> textBuf = utf8ToUtf16("Hyphenation is hyphenation."); in TEST_F() local 565 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local 619 const auto textBuf = utf8ToUtf16(""); in TEST_F() local 627 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local 637 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local 657 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 668 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 687 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 736 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local [all …]
|
D | OptimalLineBreakerTest.cpp | 92 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 828 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local 886 const auto textBuf = utf8ToUtf16(""); in TEST_F() local 895 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local 906 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local 928 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 940 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 961 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 1008 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local 1041 const auto textBuf = utf8ToUtf16("This is an email: a@example.com"); in TEST_F() local [all …]
|
D | LineBreakerTestHelper.h | 157 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 56 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() local 74 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText() local
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 198 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText() 223 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, in build()
|
D | AndroidLineBreakerHelper.h | 95 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 235 char textBuf[64]; in processFrame_l() local
|