Home
last modified time | relevance | path

Searched defs:textBuf (Results 1 – 13 of 13) sorted by relevance

/frameworks/minikin/libs/minikin/
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()
DOptimalLineBreaker.cpp207 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()
DBidiUtils.cpp75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
DLayout.cpp228 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
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker()
384 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DLineBreakerUtil.h70 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp83 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 …]
DOptimalLineBreakerTest.cpp92 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 …]
DLineBreakerTestHelper.h157 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp56 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() local
74 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText() local
/frameworks/minikin/include/minikin/
DMeasuredText.h198 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()
DAndroidLineBreakerHelper.h95 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp235 char textBuf[64]; in processFrame_l() local