/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 229 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 777 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local 822 const auto textBuf = utf8ToUtf16(""); in TEST_F() local 827 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local 834 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local 852 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 871 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 899 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 949 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local 971 const auto textBuf = utf8ToUtf16("This is an email: a@example.com"); in TEST_F() local [all …]
|
D | GreedyLineBreakerTest.cpp | 266 const std::vector<uint16_t> textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 473 const std::vector<uint16_t> textBuf = utf8ToUtf16("Hyphenation is hyphenation."); in TEST_F() local 748 const std::vector<uint16_t> textBuf = utf8ToUtf16("czerwono-niebieska"); in TEST_F() local 801 const auto textBuf = utf8ToUtf16(""); in TEST_F() local 809 const auto textBuf = utf8ToUtf16("A"); in TEST_F() local 819 const auto textBuf = utf8ToUtf16("AB"); in TEST_F() local 839 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 860 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 888 const auto textBuf = utf8ToUtf16("This is an example text."); in TEST_F() local 940 const auto textBuf = utf8ToUtf16("This is an url: http://a.b"); in TEST_F() local [all …]
|
D | LayoutSplitterTest.cpp | 74 std::string buildDebugString(const U16StringPiece& textBuf, const Range& context, in buildDebugString()
|
D | LineBreakerTestHelper.h | 193 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
|
/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 | MeasuredText.cpp | 65 void StyleRun::getMetrics(const U16StringPiece& textBuf, std::vector<float>* advances, in getMetrics() 149 float StyleRun::measureHyphenPiece(const U16StringPiece& textBuf, const Range& range, in measureHyphenPiece() 170 void MeasuredText::measure(const U16StringPiece& textBuf, bool computeHyphenation, in measure() 225 void StyleRun::appendLayout(const U16StringPiece& textBuf, const Range& range, in appendLayout() 278 std::pair<float, MinikinRect> StyleRun::getBounds(const U16StringPiece& textBuf, const Range& range, in getBounds() 309 MinikinExtent StyleRun::getExtent(const U16StringPiece& textBuf, const Range& range, in getExtent() 339 LineMetrics StyleRun::getLineMetrics(const U16StringPiece& textBuf, const Range& range, in getLineMetrics() 354 Layout MeasuredText::buildLayout(const U16StringPiece& textBuf, const Range& range, in buildLayout() 374 MinikinRect MeasuredText::getBounds(const U16StringPiece& textBuf, const Range& range) const { in getBounds() argument 391 MinikinExtent MeasuredText::getExtent(const U16StringPiece& textBuf, const Range& range) const { in getExtent() argument [all …]
|
D | LayoutUtils.cpp | 58 uint32_t getPrevWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getPrevWordBreakForCache() 75 uint32_t getNextWordBreakForCache(const U16StringPiece& textBuf, uint32_t offset) { in getNextWordBreakForCache()
|
D | ScriptUtils.h | 40 ScriptText(const U16StringPiece& textBuf, uint32_t start, uint32_t end) in ScriptText() 43 explicit ScriptText(const U16StringPiece& textBuf) in ScriptText()
|
D | Layout.cpp | 50 void adjustGlyphLetterSpacingEdge(const U16StringPiece& textBuf, const MinikinPaint& paint, in adjustGlyphLetterSpacingEdge() 99 float adjustAdvanceLetterSpacingEdge(const U16StringPiece& textBuf, const Range& range, in adjustAdvanceLetterSpacingEdge() 193 void Layout::doLayout(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in doLayout() 210 float Layout::measureText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags, in measureText() 245 float Layout::doLayoutRunCached(const U16StringPiece& textBuf, const Range& range, bool isRtl, in doLayoutRunCached() 324 const U16StringPiece textBuf(buf, bufSize); in doLayoutWord() local
|
D | OptimalLineBreaker.cpp | 189 std::vector<DesperateBreak> populateDesperatePoints(const U16StringPiece& textBuf, in populateDesperatePoints() 263 OptimizeContext populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, in populateCandidates() 369 const U16StringPiece& textBuf, const MeasuredText& measured, in finishBreaksOptimal() 414 const U16StringPiece& textBuf, in computeBreaks() 523 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 | LineBreakerUtil.h | 60 inline Range trimTrailingLineEndSpaces(const U16StringPiece& textBuf, const Range& range) { in trimTrailingLineEndSpaces() 76 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
|
D | GreedyLineBreaker.cpp | 41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker() 551 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
|
D | Measurement.cpp | 240 MinikinExtent getFontExtent(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlag, in getFontExtent()
|
D | LayoutCore.cpp | 278 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 70 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() local 91 const minikin::U16StringPiece textBuf(buf, bufSize); in getBounds() local 104 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText() local 120 const minikin::U16StringPiece textBuf(buf, bufSize); in getFontExtent() local
|
/frameworks/minikin/include/minikin/ |
D | MeasuredText.h | 326 MeasuredText(const U16StringPiece& textBuf, std::vector<std::unique_ptr<Run>>&& runs, 356 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation, 362 std::unique_ptr<MeasuredText> build(const U16StringPiece& textBuf, bool computeHyphenation,
|
D | AndroidLineBreakerHelper.h | 89 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
|
/frameworks/minikin/fuzz/hyphenator_fuzzer/ |
D | hyphenator_fuzzer.cpp | 112 auto textBuf = generateStringPiece(&fdp); in LLVMFuzzerTestOneInput() local
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 238 char textBuf[64]; in processFrame_l() local
|