Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DOptimalLineBreakerTest.cpp229 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 …]
DGreedyLineBreakerTest.cpp266 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 …]
DLayoutSplitterTest.cpp74 std::string buildDebugString(const U16StringPiece& textBuf, const Range& context, in buildDebugString()
DLineBreakerTestHelper.h193 static std::string toString(const U16StringPiece& textBuf, const LineBreakResult& lines) { in toString()
/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
DMeasuredText.cpp65 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 …]
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()
DScriptUtils.h40 ScriptText(const U16StringPiece& textBuf, uint32_t start, uint32_t end) in ScriptText()
43 explicit ScriptText(const U16StringPiece& textBuf) in ScriptText()
DLayout.cpp50 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
DOptimalLineBreaker.cpp189 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()
DBidiUtils.cpp75 BidiText::BidiText(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlags) in BidiText()
DLineBreakerUtil.h60 inline Range trimTrailingLineEndSpaces(const U16StringPiece& textBuf, const Range& range) { in trimTrailingLineEndSpaces()
76 const U16StringPiece& textBuf, // A text buffer. in populateHyphenationPoints()
DGreedyLineBreaker.cpp41 GreedyLineBreaker(const U16StringPiece& textBuf, const MeasuredText& measured, in GreedyLineBreaker()
551 LineBreakResult breakLineGreedy(const U16StringPiece& textBuf, const MeasuredText& measured, in breakLineGreedy()
DMeasurement.cpp240 MinikinExtent getFontExtent(const U16StringPiece& textBuf, const Range& range, Bidi bidiFlag, in getFontExtent()
DLayoutCore.cpp278 LayoutPiece::LayoutPiece(const U16StringPiece& textBuf, const Range& range, bool isRtl, in LayoutPiece()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp70 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/
DMeasuredText.h326 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,
DAndroidLineBreakerHelper.h89 LineBreakResult computeBreaks(const U16StringPiece& textBuf, const MeasuredText& measuredText, in computeBreaks()
/frameworks/minikin/fuzz/hyphenator_fuzzer/
Dhyphenator_fuzzer.cpp112 auto textBuf = generateStringPiece(&fdp); in LLVMFuzzerTestOneInput() local
/frameworks/av/cmds/screenrecord/
DOverlay.cpp238 char textBuf[64]; in processFrame_l() local