Searched refs:mTextBuf (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/txt/src/minikin/ |
D | LineBreaker.cpp | 79 mWordBreaker.setText(mTextBuf.data(), mTextBuf.size()); in setText() 135 width = Layout::measureText(mTextBuf.data(), start, end - start, in addStyleRun() 136 mTextBuf.size(), isRtl, style, *paint, typeface, in addStyleRun() 165 uint16_t c = mTextBuf[i]; in addStyleRun() 182 mHyphenator->hyphenate(&mHyphBuf, &mTextBuf[wordStart], in addStyleRun() 203 mTextBuf.data(), lastBreak, j - lastBreak, mTextBuf.size(), in addStyleRun() 209 mTextBuf.data(), j, afterWord - j, mTextBuf.size(), isRtl, in addStyleRun() 384 for (size_t i = 0; i < mTextBuf.size(); i++) { in getSpaceWidth() 385 if (isWordSpace(mTextBuf[i])) { in getSpaceWidth() 540 if (mTextBuf.size() > MAX_TEXT_BUF_RETAIN) { in finish() [all …]
|
D | LineBreaker.h | 106 mTextBuf.resize(size); in resize() 110 size_t size() const { return mTextBuf.size(); } in size() 112 uint16_t* buffer() { return mTextBuf.data(); } in buffer() 220 std::vector<uint16_t> mTextBuf; variable
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | LineBreaker.cpp | 73 mWordBreaker.setText(mTextBuf.data(), mTextBuf.size()); in setText() 130 width = Layout::measureText(mTextBuf.data(), start, end - start, in addStyleRun() 131 mTextBuf.size(), bidiFlags, style, *paint, in addStyleRun() 160 uint16_t c = mTextBuf[i]; in addStyleRun() 177 mHyphenator->hyphenate(&mHyphBuf, &mTextBuf[wordStart], in addStyleRun() 198 mTextBuf.data(), lastBreak, j - lastBreak, mTextBuf.size(), in addStyleRun() 204 mTextBuf.data(), j, afterWord - j, mTextBuf.size(), bidiFlags, in addStyleRun() 390 for (size_t i = 0; i < mTextBuf.size(); i++) { in getSpaceWidth() 391 if (isWordSpace(mTextBuf[i])) { in getSpaceWidth() 546 if (mTextBuf.size() > MAX_TEXT_BUF_RETAIN) { in finish() [all …]
|
D | LineBreaker.h | 112 mTextBuf.resize(size); in resize() 116 size_t size() const { return mTextBuf.size(); } in size() 118 uint16_t* buffer() { return mTextBuf.data(); } in buffer() 233 std::vector<uint16_t> mTextBuf; variable
|