Home
last modified time | relevance | path

Searched refs:trailingSpaces (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/experimental/sktext/tests/
DWrappedText.cpp46 GlyphRange trailingSpaces; member
54 …size_t trailingSpaces; // Depending of TextDirection it goes right to the end (LTR) or left t… member
66 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine() argument
68 fTestLines.back().trailingSpaces = trailingSpaces; in onEndLine()
74 TextIndex trailingSpaces, in onGlyphRun() argument
80 fTestRuns.push_back({font, dirTextRange, bounds, trailingSpaces, in onGlyphRun()
111 REPORTER_ASSERT(reporter, testVisitor.fTestLines[0].trailingSpaces.width() == 0); in UNIX_ONLY_TEST()
112 REPORTER_ASSERT(reporter, testVisitor.fTestLines[1].trailingSpaces.width() == 4); in UNIX_ONLY_TEST()
113 REPORTER_ASSERT(reporter, testVisitor.fTestLines[2].trailingSpaces.width() == 6); in UNIX_ONLY_TEST()
114 REPORTER_ASSERT(reporter, testVisitor.fTestLines[3].trailingSpaces.width() == 1); in UNIX_ONLY_TEST()
[all …]
DSelectableText.cpp46 GlyphRange trailingSpaces; member
55 …size_t trailingSpaces; // Depending of TextDirection it goes right to the end (LTR) or left t… member
67 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove… in onEndLine() argument
69 fTestLines.back().trailingSpaces = trailingSpaces; in onEndLine()
76 TextIndex trailingSpaces, in onGlyphRun() argument
82 fTestRuns.push_back({font, dirTextRange, bounds, trailingSpaces, in onGlyphRun()
122 GlyphIndex trailingSpaces = boxLine.fBoxGlyphs.size() - 1; in UNIX_ONLY_TEST() local
125 if (testRun.trailingSpaces == 0) { in UNIX_ONLY_TEST()
126 trailingSpaces -= testRun.glyphs.size(); in UNIX_ONLY_TEST()
128 trailingSpaces -= (testRun.glyphs.size() - testRun.trailingSpaces); in UNIX_ONLY_TEST()
[all …]
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp1047 SkRect trailingSpaces = SkRect::MakeEmpty(); in getRectsForRange() local
1053 trailingSpaces = SkRect::MakeXYWH(0, 0, 0, 0); in getRectsForRange()
1058 trailingSpaces = clip; in getRectsForRange()
1060 trailingSpaces.fLeft = this->width(); in getRectsForRange()
1063 trailingSpaces.fRight = 0; in getRectsForRange()
1070 trailingSpaces = clip; in getRectsForRange()
1071 trailingSpaces.fLeft = - delta; in getRectsForRange()
1072 trailingSpaces.fRight = 0; in getRectsForRange()
1078 trailingSpaces = clip; in getRectsForRange()
1079 trailingSpaces.fLeft = this->width(); in getRectsForRange()
[all …]
DTextWrapper.cpp210 bool trailingSpaces = true; in getClustersTrimmedWidth() local
215 if (trailingSpaces) { in getClustersTrimmedWidth()
218 trailingSpaces = false; in getClustersTrimmedWidth()
/third_party/skia/experimental/sktext/include/
DText.h175 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() argument
179 …TextIndex trailingSpaces, // Depending of TextDirection it goes right to the end (LTR) or … in onGlyphRun() argument
259 TextIndex trailingSpaces, in onGlyphRun() argument
347 …void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) ove…
352 TextIndex trailingSpaces,
DInterface.h73 …virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCo… in onEndLine() argument
77 …int trailingSpaces, // Depending of TextDirection it goes right to the end (LTR) or left t… in onGlyphRun() argument
/third_party/skia/experimental/sktext/src/
DText.cpp535 visitor->onEndLine(lineIndex, line.text(), line.trailingSpaces(), glyphCount); in visit()
606 visitor->onEndLine(lineIndex, line.text(), line.trailingSpaces(), glyphCount); in visit()
658 void SelectableText::onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t … in onEndLine() argument
660 line.fTextEnd = trailingSpaces.fStart; in onEndLine()
661 line.fTrailingSpacesEnd = trailingSpaces.fEnd; in onEndLine()
674 TextIndex trailingSpaces, in onGlyphRun() argument
DPaint.h96 TextIndex trailingSpaces,
DVisualRun.h125 GlyphRange trailingSpaces() const { return fTrailingSpaces; } in trailingSpaces() function
DPaint.cpp57 TextIndex trailingSpaces, in onGlyphRun() argument
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp612 SkRect trailingSpaces = SkRect::MakeEmpty(); in getRectsForRange() local
683 if (trailingSpaces.width() > 0) { in getRectsForRange()
684 results.emplace_back(trailingSpaces, paragraphTextDirection); in getRectsForRange()