/frameworks/minikin/libs/minikin/ |
D | LayoutSplitter.h | 57 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
|
D | LayoutUtils.cpp | 56 uint32_t getPrevWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getPrevWordBreakForCache() 73 uint32_t getNextWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getNextWordBreakForCache()
|
D | MeasuredText.cpp | 56 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() 241 std::pair<float, MinikinRect> StyleRun::getBounds(const U16StringPiece& textBuf, const Range& range, in getBounds() 271 MinikinExtent StyleRun::getExtent(const U16StringPiece& textBuf, const Range& range, in getExtent() 286 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout() 306 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds() argument 324 MinikinExtent MeasuredText::getExtent(const U16StringPiece& textBuf, const Range& range) const { in getExtent() argument
|
D | Layout.cpp | 48 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
|
D | BidiUtils.cpp | 75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
|
D | OptimalLineBreaker.cpp | 207 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()
|
D | GreedyLineBreaker.cpp | 41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() 388 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
|
D | LineBreakerUtil.h | 65 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
|
D | LayoutCore.cpp | 342 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece()
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 125 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 332 const std::vector<uint16_t> textBuf = utf8ToUtf16("Hyphenation is hyphenation."); in TEST_F() local 607 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local 660 const auto textBuf = utf8ToUtf16(""); in TEST_F() local 668 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local 678 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local 698 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 719 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 747 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 799 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local [all …]
|
D | OptimalLineBreakerTest.cpp | 107 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 …]
|
D | LayoutSplitterTest.cpp | 74 std::string buildDebugString(const U16StringPiece& textBuf, const Range& context, in buildDebugString()
|
D | LineBreakerTestHelper.h | 177 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 59 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
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 212 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()
|
D | AndroidLineBreakerHelper.h | 83 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
|