/external/skia/modules/skparagraph/src/ |
D | TextLine.h | 27 class TextLine { 39 TextLine() = default; 40 TextLine(const TextLine&) = delete; 41 TextLine& operator=(const TextLine&) = delete; 42 TextLine(TextLine&&) = default; 43 TextLine& operator=(TextLine&&) = default; 44 ~TextLine() = default; 46 TextLine(ParagraphImpl* owner,
|
D | TextLine.cpp | 81 TextLine::TextLine(ParagraphImpl* owner, in TextLine() function in skia::textlayout::TextLine 163 SkRect TextLine::paint(SkCanvas* textCanvas, SkScalar x, SkScalar y) { in paint() 221 void TextLine::ensureTextBlobCachePopulated() { in ensureTextBlobCachePopulated() 242 void TextLine::format(TextAlign align, SkScalar maxWidth) { in format() 263 void TextLine::scanStyles(StyleType styleType, const RunStyleVisitor& visitor) { in scanStyles() 279 SkRect TextLine::extendHeight(const ClipContext& context) const { in extendHeight() 285 SkScalar TextLine::metricsWithoutMultiplier(TextHeightBehavior correction) { in metricsWithoutMultiplier() 312 void TextLine::buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& contex… in buildTextBlob() 348 void TextLine::TextBlobRecord::paint(SkCanvas* canvas, SkScalar x, SkScalar y) { in paint() 359 void TextLine::paintBackground(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const… in paintBackground() [all …]
|
D | Decorations.h | 15 …void paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& context, SkS… 23 …void calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, SkScalar baseline, Sk…
|
D | ParagraphImpl.h | 58 class TextLine; 128 TextLine& addLine(SkVector offset, SkVector advance, TextRange text, TextRange textWithSpaces, 141 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } 263 …SkTArray<TextLine, false> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig…
|
D | Decorations.cpp | 23 void Decorations::paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& … in paint() 95 void Decorations::calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, in calculateGaps()
|
D | Run.h | 169 friend class TextLine; variable 468 friend class TextLine; variable
|
D | ParagraphImpl.cpp | 640 TextLine& ParagraphImpl::addLine(SkVector offset, in addLine()
|
/external/skia/modules/skplaintexteditor/include/ |
D | editor.h | 25 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() argument 116 std::vector<TextLine> fLines; 123 void markDirty(TextLine*);
|
/external/skia/modules/skplaintexteditor/src/ |
D | editor.cpp | 47 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/ |
D | skparagraph.gni | 36 "$_src/TextLine.cpp", 37 "$_src/TextLine.h",
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 215 … (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 997 …[reporter, &index](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& conte… in DEF_TEST() 1087 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 1114 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 1160 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 1206 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in DEF_TEST() 1714 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST() 1801 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST() 1889 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST() 1934 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST() [all …]
|
/external/skia/ |
D | Android.bp | 2447 "modules/skparagraph/src/TextLine.cpp", 3597 "modules/skparagraph/src/TextLine.cpp",
|