Home
last modified time | relevance | path

Searched refs:TextLine (Results 1 – 9 of 9) sorted by relevance

/external/skia/modules/skplaintexteditor/include/
Deditor.h25 struct TextLine;
38 const std::vector<TextLine>& fLines;
40 std::vector<TextLine>::const_iterator fPtr;
103 struct TextLine { struct
113 TextLine(StringSlice t) : fText(std::move(t)) {} in TextLine() argument
114 TextLine() {} in TextLine() function
116 std::vector<TextLine> fLines;
123 void markDirty(TextLine*);
/external/skia/modules/skparagraph/src/
DTextLine.cpp52 TextLine::TextLine(ParagraphImpl* master, in TextLine() function in skia::textlayout::TextLine
124 SkRect TextLine::calculateBoundaries() { in calculateBoundaries()
189 void TextLine::paint(SkCanvas* textCanvas) { in paint()
254 void TextLine::format(TextAlign effectiveAlign, SkScalar maxWidth) { in format()
269 TextAlign TextLine::assumedTextAlign() const { in assumedTextAlign()
279 void TextLine::scanStyles(StyleType styleType, const RunStyleVisitor& visitor) { in scanStyles()
295 SkRect TextLine::extendHeight(const ClipContext& context) const { in extendHeight()
301 void TextLine::paintText(SkCanvas* canvas, TextRange textRange, const TextStyle& style, const ClipC… in paintText()
328 void TextLine::paintBackground(SkCanvas* canvas, TextRange textRange, const TextStyle& style, const… in paintBackground()
334 void TextLine::paintShadow(SkCanvas* canvas, TextRange textRange, const TextStyle& style, const Cli… in paintShadow()
[all …]
DTextLine.h17 class TextLine {
29 TextLine() = default;
30 ~TextLine() = default;
32 TextLine(ParagraphImpl* master,
DParagraphImpl.h128 TextLine& addLine(SkVector offset, SkVector advance, TextRange text, TextRange textWithSpaces,
141 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } in lines()
240 …SkTArray<TextLine, true> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig…
DRun.h174 friend class TextLine; variable
DParagraphImpl.cpp515 TextLine& ParagraphImpl::addLine(SkVector offset, in addLine()
/external/skia/modules/skplaintexteditor/src/
Deditor.cpp47 void Editor::markDirty(TextLine* line) { in markDirty()
74 const TextLine& line = fLines[j]; in getPosition()
128 const TextLine& cLine = fLines[cursor.fParagraphIndex]; in getLocation()
158 fLines.push_back(Editor::TextLine(StringSlice(utf8Text, byteLen))); in insert()
164 std::vector<TextLine>::const_iterator next = fLines.begin() + pos.fParagraphIndex + 1; in insert()
165 fLines.insert(next, newlinecount, TextLine()); in insert()
166 TextLine* line = &fLines[pos.fParagraphIndex]; in insert()
230 const std::vector<TextLine>::const_iterator firstP = fLines.begin() + start.fParagraphIndex; in copy()
231 const std::vector<TextLine>::const_iterator lastP = fLines.begin() + end.fParagraphIndex; in copy()
444 const TextLine& l = fLines[pos.fParagraphIndex]; in paint()
[all …]
/external/skia/modules/skparagraph/
Dskparagraph.gni34 "$_src/TextLine.h",
35 "$_src/TextLine.cpp",
/external/skia/tests/
DSkParagraphTest.cpp192 … (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
974 …[reporter, &index](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& conte… in DEF_TEST()
1064 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1091 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1137 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1183 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST()
1404 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
1491 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
1579 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
1624 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
[all …]