Home
last modified time | relevance | path

Searched defs:textBuf (Results 1 – 18 of 18) 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.cpp58 uint32_t getPrevWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getPrevWordBreakForCache()
75 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()
137 float StyleRun::measureHyphenPiece(const U16StringPiece& textBuf, const Range& range, in measureHyphenPiece()
158 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure()
210 void StyleRun::appendLayout(const U16StringPiece& textBuf, const Range& range, in appendLayout()
273 std::pair<float, MinikinRect> StyleRun::getBounds(const U16StringPiece& textBuf, const Range& range, in getBounds()
303 MinikinExtent StyleRun::getExtent(const U16StringPiece& textBuf, const Range& range, in getExtent()
318 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout()
338 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds() argument
356 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()
389 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DLineBreakerUtil.h65 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
DMeasurement.cpp170 MinikinExtent getFontExtent(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlag, in getFontExtent()
DLayoutCore.cpp326 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp127 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
334 const std::vector<uint16_t> textBuf = utf8ToUtf16("Hyphenation is hyphenation."); in TEST_F() local
609 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local
662 const auto textBuf = utf8ToUtf16(""); in TEST_F() local
670 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local
680 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local
700 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
721 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
749 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
801 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
[all …]
DOptimalLineBreakerTest.cpp130 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
678 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local
723 const auto textBuf = utf8ToUtf16(""); in TEST_F() local
728 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local
735 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local
753 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
772 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
800 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local
850 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local
872 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.h185 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp59 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() local
77 const minikin::U16StringPiece textBuf(buf, bufSize); in getBounds() local
89 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText() local
102 const minikin::U16StringPiece textBuf(buf, bufSize); in getFontExtent() local
/frameworks/minikin/include/minikin/
DMeasuredText.h239 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, in MeasuredText()
267 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