Lines Matching refs:fText
120 , fText(text)
149 fText = SkUnicode::convertUtf16ToUtf8(utf16text);
213 &fText[textRange.start], textRange.width(),
315 fText.reset();
316 fText.set(ellStr);
324 fText.remove(ltrTextSize[start].charbegin, ltrTextSize[end].charOver - ltrTextSize[start].charbegin);
325 fText.insert(ltrTextSize[start].charbegin, ellStr);
346 fText.remove(rtlTextSize[start - 1].charbegin,
348 fText.insert(rtlTextSize[start - 1].charbegin, ellStr);
464 this->fClustersIndexFromCodeUnit.push_back_n(fText.size() + 1, EMPTY_INDEX);
477 std::shared_ptr<ParagraphImpl> tmpParagraph = std::make_shared<ParagraphImpl>(fText, fParagraphStyle, fTextStyles,
480 fText = tmpParagraph->fText;
513 if (fText.size() != 0) {
517 fText.reset();
535 this->fUnicodeText = convertUtf8ToUnicode(fText);
551 this->fClustersIndexFromCodeUnit.push_back_n(fText.size() + 1, EMPTY_INDEX);
652 //SkDebugf("layout('%s', %f): %f %f\n", fText.c_str(), rawWidth, fMinIntrinsicWidth, fMaxIntrinsicWidth);
734 if (!fUnicode->getBidiRegions(fText.c_str(), fText.size(), textDirection, &fBidiRegions)) {
740 if (!fUnicode->computeCodeUnitFlags(&fText[0],
741 fText.size(),
753 fTrailingSpaces = fText.size();
758 if (fTrailingSpaces == fText.size()) {
765 fTrailingSpaces = fText.size();
950 fTextStyles[0].fRange.width() == fText.size() && fRuns.size() == 1) {
1082 SkSpan<const char> text(fText.c_str() + charStart, charEnd - charStart);
1092 fClustersIndexFromCodeUnit[fText.size()] = fClusters.size();
1093 fClusters.emplace_back(this, EMPTY_RUN, 0, 0, this->text({fText.size(), fText.size()}), 0, 0);
1100 if (fText.size() == 0) {
1506 if (fText.isEmpty() || fState < kShaped) {
1533 TextRange text(fText.size(), fText.size());
1576 if (fText.isEmpty() || fState < kShaped) {
1587 SkDebugf("getRectsForPlaceholders('%s'): %d\n", fText.c_str(), boxes.size());
1603 if (fText.isEmpty()) {
1635 if (!fUnicode->getWords(fText.c_str(), fText.size(), nullptr, &fWords)) {
1665 SkASSERT(textRange.start <= fText.size() && textRange.end <= fText.size());
1666 auto start = fText.c_str() + textRange.start;
1821 SkASSERT(from == 0 && to == fText.size());
1844 SkASSERT(from == 0 && to == fText.size());
1855 SkASSERT(from == 0 && to == fText.size());
1891 from = (from < SkToSizeT(fUTF8IndexForUTF16Index.size())) ? fUTF8IndexForUTF16Index[from] : fText.size();
1892 to = (to < SkToSizeT(fUTF8IndexForUTF16Index.size())) ? fUTF8IndexForUTF16Index[to] : fText.size();
1893 if (from == 0 && to == fText.size()) {
1923 textRange = textRange.intersection({0, fText.size()});
1946 while (utf8 < fText.size() &&
1954 while (utf8 < fText.size() &&
2220 convertUtf8ToUnicode(fText);
2233 fText = source.fText;
2264 paragraph->fText.remove(0, validStart);
2273 auto invalidEnd = paragraph->fText.size();
2275 paragraph->fText.remove(invalidStart, invalidEnd - invalidStart);
2283 this->fUnicodeText = convertUtf8ToUnicode(fText);
2317 paragraph->fText = this->fText;