Home
last modified time | relevance | path

Searched refs:fText (Results 1 - 25 of 96) sorted by relevance

1234

/third_party/skia/modules/skottie/src/text/
H A DTextAdapter.cpp226 adapter->bind(*abuilder, jd, adapter->fText.fCurrentValue); in Make()
320 draws.reserve(static_cast<size_t>(fText->fHasFill) + static_cast<size_t>(fText->fHasStroke)); in addFragment()
322 SkASSERT(fText->fHasFill || fText->fHasStroke); in addFragment()
325 if (fText->fHasFill) { in addFragment()
326 rec.fFillColorNode = sksg::Color::Make(fText->fFillColor); in addFragment()
332 if (fText->fHasStroke) { in addFragment()
333 rec.fStrokeColorNode = sksg::Color::Make(fText->fStrokeColor); in addFragment()
336 rec.fStrokeColorNode->setStrokeWidth(fText in addFragment()
[all...]
/third_party/skia/experimental/sktext/editor/
H A DTexts.h31 fText = std::move(text); in StaticText()
34 fUnicodeText = std::make_unique<UnicodeText>(std::move(unicode), SkSpan<uint16_t>((uint16_t*)fText.data(), fText.size())); in StaticText()
45 std::u16string fText; member in skia::editor::StaticText
69 fText = std::move(text); in DynamicText()
72 fUnicodeText = std::make_unique<UnicodeText>(std::move(unicode), SkSpan<uint16_t>((uint16_t*)fText.data(), fText.size())); in DynamicText()
95 this->fText = std::move(text); in rebuild()
98 fUnicodeText = std::make_unique<UnicodeText>(std::move(unicode), SkSpan<uint16_t>((uint16_t*)fText.data(), fText in rebuild()
123 std::u16string fText; global() member in skia::editor::DynamicText
[all...]
/third_party/skia/modules/skparagraph/src/
H A DOneLineShaper.cpp50 if (fCurrentRun->textRange() == unresolved.fText) { in commitRunBuffer()
70 resolved.fText.start, resolved.fText.end); in printState()
79 resolved.fText.start, resolved.fText.end, in printState()
86 SkDebugf("[%zu:%zu)\n", unresolved.fText.start, unresolved.fText.end); in printState()
107 if (unresolved.fText == prevText) { in fillGaps()
109 unresolved.fText = EMPTY_TEXT; in fillGaps()
112 prevText = unresolved.fText; in fillGaps()
[all...]
H A DIterators.h17 : fText(utf8) in LangIterator()
24 SkASSERT(fCurrentChar < fText.end());
27 fCurrentChar = fText.end();
31 fCurrentChar = fText.begin() + fCurrentStyle->fRange.end;
37 fCurrentChar = fText.begin() + fCurrentStyle->fRange.end;
41 size_t endOfCurrentRun() const override { return fCurrentChar - fText.begin(); }
42 bool atEnd() const override { return fCurrentChar >= fText.end(); }
46 SkSpan<const char> fText;
H A DParagraphImpl.cpp120 , fText(text) in ParagraphImpl()
149 fText = SkUnicode::convertUtf16ToUtf8(utf16text); in ParagraphImpl()
213 &fText[textRange.start], textRange.width(), in GetLineFontMetrics()
315 fText.reset(); in GetLineFontMetrics()
316 fText.set(ellStr); in GetLineFontMetrics()
324 fText.remove(ltrTextSize[start].charbegin, ltrTextSize[end].charOver - ltrTextSize[start].charbegin); in GetLineFontMetrics()
325 fText.insert(ltrTextSize[start].charbegin, ellStr); in GetLineFontMetrics()
346 fText.remove(rtlTextSize[start - 1].charbegin, in GetLineFontMetrics()
348 fText.insert(rtlTextSize[start - 1].charbegin, ellStr); in GetLineFontMetrics()
464 this->fClustersIndexFromCodeUnit.push_back_n(fText in GetLineFontMetrics()
[all...]
H A DParagraphCache.cpp35 : fText(paragraph->fText.c_str(), paragraph->fText.size()) in ParagraphCacheKey()
45 : fText(std::move(other.fText)) in ParagraphCacheKey()
60 const SkString& text() const { return fText; } in text()
66 SkString fText; member in skia::textlayout::ParagraphCacheKey
189 hash = mix(hash, SkGoodHash()(fText)); in computeHash()
198 if (fText.size() != other.fText in operator ==()
[all...]
/third_party/icu/icu4c/source/common/
H A Drbbi.cpp230 utext_close(&fText); in ~RuleBasedBreakIterator()
270 utext_clone(&fText, &that.fText, false, true, &status); in operator =()
340 // Note: IBM xlC is unable to assign or initialize member fText from UTEXT_INITIALIZER. in init()
341 // fText = UTEXT_INITIALIZER; in init()
343 uprv_memcpy(&fText, &initializedUText, sizeof(UText)); in init()
349 utext_openUChars(&fText, NULL, 0, &status); in init()
401 if (!utext_equals(&fText, &that2.fText)) { in operator ==()
404 // Note that fText' in operator ==()
[all...]
H A Dfilteredbrk.cpp181 LocalUTextPointer fText; member in SimpleFilteredSentenceBreakIterator
278 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState()
286 utext_setNativeIndex(fText.getAlias(), n); // from n.. in breakExceptionAt()
290 if(utext_previous32(fText.getAlias())==u' ') { // TODO: skip a class of chars here?? in breakExceptionAt()
295 utext_next32(fText.getAlias()); in breakExceptionAt()
303 while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL) { // more to consume backwards in breakExceptionAt()
306 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
312 //if(debug2) u_printf("rev< /%C/ cont?%d @%d\n", (UChar)uch, r, utext_getNativeIndex(fText.getAlias())); in breakExceptionAt()
336 utext_setNativeIndex(fText in breakExceptionAt()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Drbbi.cpp217 utext_close(&fText); in ~RuleBasedBreakIterator()
257 utext_clone(&fText, &that.fText, FALSE, TRUE, &status); in operator =()
326 // Note: IBM xlC is unable to assign or initialize member fText from UTEXT_INITIALIZER. in init()
327 // fText = UTEXT_INITIALIZER; in init()
329 uprv_memcpy(&fText, &initializedUText, sizeof(UText)); in init()
335 utext_openUChars(&fText, NULL, 0, &status); in init()
387 if (!utext_equals(&fText, &that2.fText)) { in operator ==()
390 // Note that fText' in operator ==()
[all...]
H A Dfilteredbrk.cpp182 LocalUTextPointer fText; member in SimpleFilteredSentenceBreakIterator
279 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState()
287 utext_setNativeIndex(fText.getAlias(), n); // from n.. in breakExceptionAt()
291 if(utext_previous32(fText.getAlias())==u' ') { // TODO: skip a class of chars here?? in breakExceptionAt()
296 utext_next32(fText.getAlias()); in breakExceptionAt()
304 while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL) { // more to consume backwards in breakExceptionAt()
307 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
313 //if(debug2) u_printf("rev< /%C/ cont?%d @%d\n", (UChar)uch, r, utext_getNativeIndex(fText.getAlias())); in breakExceptionAt()
337 utext_setNativeIndex(fText in breakExceptionAt()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Drbbi.cpp206 utext_openUChars(&fText, nullptr, 0, status); in RuleBasedBreakIterator()
252 utext_close(&fText); in ~RuleBasedBreakIterator()
292 utext_clone(&fText, &that.fText, false, true, &status); in operator =()
371 if (!utext_equals(&fText, &that2.fText)) { in operator ==()
374 // Note that fText's position is always the same as the break iterator's position. in operator ==()
412 utext_clone(&fText, ut, false, true, &status); in setText()
433 UText *result = utext_clone(fillIn, &fText, false, true, &status); in getUText()
470 utext_openUChars(&fText, nullpt in adoptText()
[all...]
H A Dfilteredbrk.cpp181 LocalUTextPointer fText; member in SimpleFilteredSentenceBreakIterator
278 fText.adoptInstead(fDelegate->getUText(fText.orphan(), status)); in resetState()
286 utext_setNativeIndex(fText.getAlias(), n); // from n.. in breakExceptionAt()
290 if(utext_previous32(fText.getAlias())==u' ') { // TODO: skip a class of chars here?? in breakExceptionAt()
295 utext_next32(fText.getAlias()); in breakExceptionAt()
303 while((uch=utext_previous32(fText.getAlias()))!=U_SENTINEL) { // more to consume backwards in breakExceptionAt()
306 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
312 //if(debug2) u_printf("rev< /%C/ cont?%d @%d\n", (char16_t)uch, r, utext_getNativeIndex(fText.getAlias())); in breakExceptionAt()
336 utext_setNativeIndex(fText in breakExceptionAt()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DRBBITestMonkey.java157 StringBuffer fText; field in RBBITestMonkey.RBBICharMonkey
160 fText = null; in RBBICharMonkey()
210 fText = s; in setText()
231 if (prevPos >= fText.length()) { in next()
235 c3 = UTF16.charAt(fText, prevPos); in next()
246 p3 = moveIndex32(fText, p3, 1); in next()
247 c3 = (p3>=fText.length())? -1: UTF16.charAt(fText, p3); in next()
253 if (p2 == fText.length()) { in next()
324 while (pi > 0 && fExtCccZwjSet.contains(fText in next()
373 StringBuffer fText; global() field in RBBITestMonkey.RBBIWordMonkey
733 StringBuffer fText; global() field in RBBITestMonkey.RBBILineMonkey
1508 StringBuffer fText; global() field in RBBITestMonkey.RBBISentenceMonkey
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
H A DRBBITestMonkey.java154 StringBuffer fText; field in RBBITestMonkey.RBBICharMonkey
157 fText = null; in RBBICharMonkey()
207 fText = s; in setText()
228 if (prevPos >= fText.length()) { in next()
232 c3 = UTF16.charAt(fText, prevPos); in next()
243 p3 = moveIndex32(fText, p3, 1); in next()
244 c3 = (p3>=fText.length())? -1: UTF16.charAt(fText, p3); in next()
250 if (p2 == fText.length()) { in next()
321 while (pi > 0 && fExtCccZwjSet.contains(fText in next()
370 StringBuffer fText; global() field in RBBITestMonkey.RBBIWordMonkey
752 StringBuffer fText; global() field in RBBITestMonkey.RBBILineMonkey
1513 StringBuffer fText; global() field in RBBITestMonkey.RBBISentenceMonkey
[all...]
/third_party/skia/modules/skplaintexteditor/src/
H A Deditor.cpp94 approximatePosition = {xy.x() <= line.fOrigin.x() ? 0 : line.fText.size(), j}; in getPosition()
153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen); in insert()
161 size_t newlinecount = count_char(fLines[pos.fParagraphIndex].fText, '\n'); in insert()
163 StringSlice src = std::move(fLines[pos.fParagraphIndex].fText); in insert()
168 (line++)->fText = remove_newline(str, l); in insert()
186 fLines[start.fParagraphIndex].fText.remove( in remove()
192 line.fText.remove(start.fTextByteIndex, in remove()
193 line.fText.size() - start.fTextByteIndex); in remove()
194 line.fText.insert(start.fTextByteIndex, in remove()
195 fLines[end.fParagraphIndex].fText in remove()
[all...]
/third_party/skia/bench/
H A DCmapBench.cpp25 const SkUnichar* fText; member
37 r.fFont.textToGlyphs(r.fText, r.fCount*4, SkTextEncoding::kUTF32, glyphs, NGLYPHS); in textToGlyphs_proc()
47 face->unicharsToGlyphs(r.fText, r.fCount, glyphs); in charsToGlyphs_proc()
55 cache.addCharAndGlyph(r.fText[i], i); in addcache_proc()
63 r.fCache.findGlyphIndex(r.fText[i]); in findcache_proc()
71 SkUnichar fText[NGLYPHS]; member in CMAPBench
86 fText[i] = rand.nextU() & 0xFFFF; in CMAPBench()
87 fCache.addCharAndGlyph(fText[i], i); in CMAPBench()
102 fProc({fCache, loops, fFont, fText, fCount});
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DRuleBasedBreakIterator.java174 if (fText != null) { in clone()
175 result.fText = (CharacterIterator)(fText.clone()); in clone()
209 if (fText == null && other.fText == null) { in equals()
212 if (fText == null || other.fText == null || !fText.equals(other.fText)) { in equals()
261 private CharacterIterator fText field in RuleBasedBreakIterator
[all...]
H A DRBBIRuleScanner.java229 // RHSExprNode.fLastPos, RHSExprNode.fText); in doParseActions()
230 RHSExprNode.fText = fRB.fRules.substring(RHSExprNode.fFirstPos, in doParseActions()
239 fSymbolTable.addEntry(varRefNode.fText, varRefNode); in doParseActions()
375 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
386 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
397 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
422 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
477 n.fText = fRB.fRules.substring(n.fFirstPos + 1, n.fLastPos); in doParseActions()
485 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
664 usetNode.fText in findSetFor()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRuleBasedBreakIterator.java133 if (fText != null) { in clone()
134 result.fText = (CharacterIterator)(fText.clone()); in clone()
167 if (fText == null && other.fText == null) { in equals()
170 if (fText == null || other.fText == null || !fText.equals(other.fText)) { in equals()
217 private CharacterIterator fText field in RuleBasedBreakIterator
[all...]
H A DRBBIRuleScanner.java230 // RHSExprNode.fLastPos, RHSExprNode.fText); in doParseActions()
231 RHSExprNode.fText = fRB.fRules.substring(RHSExprNode.fFirstPos, in doParseActions()
240 fSymbolTable.addEntry(varRefNode.fText, varRefNode); in doParseActions()
376 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
387 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
398 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
423 n.fText = fRB.fRules.substring(n.fFirstPos, n.fLastPos); in doParseActions()
478 n.fText = fRB.fRules.substring(n.fFirstPos + 1, n.fLastPos); in doParseActions()
486 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
665 usetNode.fText in findSetFor()
[all...]
/third_party/skia/gm/
H A Dscaledemoji.cpp46 const char* fText; member
51 fEmojiFont.fText = ToolUtils::emoji_sample_text();
68 const char* text = fEmojiFont.fText;
95 const char* fText; member
100 fEmojiFont.fText = ToolUtils::emoji_sample_text();
116 const char* text = fEmojiFont.fText;
153 const char* fText; member
158 fEmojiFont.fText = ToolUtils::emoji_sample_text();
H A Dtextblob.cpp84 : fText(txt) { in TextBlobGM()
91 size_t txtLen = strlen(fText);
92 int glyphCount = font.countText(fText, txtLen, SkTextEncoding::kUTF8);
95 font.textToGlyphs(fText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), glyphCount);
199 const char* fText; member in TextBlobGM
/third_party/skia/modules/skplaintexteditor/include/
H A Deditor.h41 StringView operator*() { return fPtr->fText.view(); } in operator *()
86 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line()
104 StringSlice fText; member
113 TextLine(StringSlice t) : fText(std::move(t)) {} in TextLine()
/third_party/icu/icu4c/source/test/intltest/
H A Drbbitst.cpp1617 const UnicodeString *fText; member in RBBICharMonkey
1624 fText = NULL; in RBBICharMonkey()
1682 fText = &s; in setText()
1703 if (prevPos >= fText->length()) { in next()
1708 c3 = fText->char32At(prevPos); in next()
1721 p3 = fText->moveIndex32(p3, 1); in next()
1722 c3 = fText->char32At(p3); in next()
1729 if (p2 == fText->length()) { in next()
1799 while (pi > 0 && fExtCccZwjSet->contains(fText->char32At(pi))) { in next()
1800 if (fViramaSet->contains(fText in next()
1904 const UnicodeString *fText; global() member in RBBIWordMonkey
2277 const UnicodeString *fText; global() member in RBBISentMonkey
2642 const UnicodeString *fText; global() member in RBBILineMonkey
[all...]
/third_party/skia/samplecode/
H A DSampleGlyphTransform.cpp30 fEmojiFont.fText = ToolUtils::emoji_sample_text();
39 const char* text = fEmojiFont.fText;
71 const char* fText; member

Completed in 45 milliseconds

1234