Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayoutSplitter.h57 LayoutSplitter(const U16StringPiece& textBuf, const Range& range, bool isRtl) in LayoutSplitter()
71 const U16StringPiece& textBuf = mParent->mTextBuf; variable
93 const U16StringPiece& textBuf = mParent->mTextBuf; in iterator() local
DLayoutUtils.cpp51 uint32_t getPrevWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getPrevWordBreakForCache()
68 uint32_t getNextWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getNextWordBreakForCache()
DMeasuredText.cpp56 void StyleRun::getMetrics(const U16StringPiece& textBuf, std::vector<float>* advances, in getMetrics()
106 float StyleRun::measureHyphenPiece(const U16StringPiece& textBuf, const Range& range, in measureHyphenPiece()
127 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure()
178 void StyleRun::appendLayout(const U16StringPiece& textBuf, const Range& range, in appendLayout()
231 std::pair<float, MinikinRect> StyleRun::getBounds(const U16StringPiece& textBuf, const Range& range, in getBounds()
261 MinikinExtent StyleRun::getExtent(const U16StringPiece& textBuf, const Range& range, in getExtent()
276 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout()
296 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds() argument
314 MinikinExtent MeasuredText::getExtent(const U16StringPiece& textBuf, const Range& range) const { in getExtent() argument
DLayout.cpp48 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout()
60 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText()
73 float Layout::doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl, in doLayoutRunCached()
135 const U16StringPiece textBuf(buf, bufSize); in doLayoutWord() local
DBidiUtils.cpp75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
DOptimalLineBreaker.cpp207 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates()
295 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal()
321 const U16StringPiece& textBuf, in computeBreaks()
407 LineBreakResult breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineOptimal()
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker()
388 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DLineBreakerUtil.h65 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
DLayoutCore.cpp342 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp98 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
305 const std::vector<uint16_t> textBuf = utf8ToUtf16("Hyphenation is hyphenation."); in TEST_F() local
580 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local
633 const auto textBuf = utf8ToUtf16(""); in TEST_F() local
641 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local
651 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local
671 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
692 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
720 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
772 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
[all …]
DOptimalLineBreakerTest.cpp107 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
842 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local
899 const auto textBuf = utf8ToUtf16(""); in TEST_F() local
907 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local
917 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local
938 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
957 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
985 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
1035 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
1068 const auto textBuf = utf8ToUtf16("This is an email: a@example.com"); in TEST_F() local
[all …]
DLayoutSplitterTest.cpp74 std::string buildDebugString(const U16StringPiece& textBuf, const Range& context, in buildDebugString()
DLineBreakerTestHelper.h177 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp58 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() local
76 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText() local
/frameworks/minikin/include/minikin/
DMeasuredText.h212 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText()
237 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, in build()
DAndroidLineBreakerHelper.h83 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp235 char textBuf[64]; in processFrame_l() local