/external/skia/modules/skplaintexteditor/src/ |
D | editor.cpp | 57 for (auto& l : fLines) { this->markDirty(&l); } in setFont() 65 for (auto& l : fLines) { this->markDirty(&l); } in setWidth() 73 for (size_t j = 0; j < fLines.size(); ++j) { in getPosition() 74 const TextLine& line = fLines[j]; in getPosition() 78 j + 1 < fLines.size() ? fLines[j + 1].fOrigin.y() : INT_MAX}; in getPosition() 127 if (fLines.size() > 0) { in getLocation() 128 const TextLine& cLine = fLines[cursor.fParagraphIndex]; in getLocation() 152 if (pos.fParagraphIndex < fLines.size()) { in insert() 153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen); in insert() 154 this->markDirty(&fLines[pos.fParagraphIndex]); in insert() [all …]
|
/external/skia/modules/skplaintexteditor/include/ |
D | editor.h | 38 const std::vector<TextLine>& fLines; member 45 Iterator begin() const { return Iterator{fLines.begin()}; } in begin() 46 Iterator end() const { return Iterator{fLines.end()}; } in end() 53 Text text() const { return Text{fLines}; } in text() 56 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() 84 size_t lineCount() const { return fLines.size(); } in lineCount() 86 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line() 116 std::vector<TextLine> fLines; variable
|
/external/icu/icu4c/source/samples/layout/ |
D | paragraph.cpp | 84 fLineCount(0), fLinesMax(LINE_GROW), fLinesGrow(LINE_GROW), fLines(NULL), fChars(NULL), in Paragraph() 100 fLines = LE_NEW_ARRAY(const ParagraphLayout::Line *, fLinesMax); in Paragraph() 170 delete /*(LineInfo *)*/ fLines[line]; in ~Paragraph() 177 LE_DELETE_ARRAY(fLines); in ~Paragraph() 185 fLines = (const ParagraphLayout::Line **) LE_GROW_ARRAY(fLines, fLinesMax + fLinesGrow); in addLine() 189 fLines[fLineCount++] = line; in addLine() 208 delete fLines[li]; in breakLines() 235 const ParagraphLayout::Line *line = fLines[li]; in draw()
|
D | pflow.c | 54 pl_line **fLines; member 135 flow->fLines = NULL; in pf_create() 149 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create() 231 DELETE_ARRAY(obj->fLines[i]); in pf_close() 234 DELETE_ARRAY(obj->fLines); in pf_close() 272 obj->fLines = (pl_line **) GROW_ARRAY(obj->fLines, obj->fLinesMax + obj->fLinesGrow); in addLine() 276 obj->fLines[obj->fLineCount++] = line; in addLine() 299 pl_closeLine(obj->fLines[li]); in pf_breakLines() 327 const pl_line *line = obj->fLines[li]; in pf_draw()
|
D | paragraph.h | 67 const ParagraphLayout::Line **fLines; variable
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 119 fLines.size() == 1 && fLines.front().ellipsis() == nullptr) { in layout() 144 this->fLines.reset(); in layout() 181 this->fLines.reset(); in layout() 542 …fAlphabeticBaseline = fLines.empty() ? fEmptyMetrics.alphabeticBaseline() : fLines.front().alphabe… in breakShapedTextIntoLines() 543 …fIdeographicBaseline = fLines.empty() ? fEmptyMetrics.ideographicBaseline() : fLines.front().ideog… in breakShapedTextIntoLines() 553 fLines.reset(); in formatLines() 557 for (auto& line : fLines) { in formatLines() 567 for (auto& line : fLines) { in paintLinesIntoPicture() 576 for (auto& line : fLines) { in paintLines() 650 …return fLines.emplace_back(this, offset, advance, blocks, text, textWithSpaces, clusters, clusters… in addLine() [all …]
|
D | ParagraphImpl.h | 126 size_t lineNumber() override { return fLines.size(); } 141 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } 263 …SkTArray<TextLine, false> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig…
|
/external/skia/bench/ |
D | TypefaceBench.cpp | 232 fLines.emplace_back(this->convertLine(i)); in onDelayedSetup() 233 maxGlyphs = std::max(maxGlyphs, fLines.back()->glyphCount); in onDelayedSetup() 243 for (auto& line : fLines) { in onDraw() 293 std::vector<std::unique_ptr<Line>> fLines; member in UtfToGlyph
|
/external/skqp/src/gpu/ops/ |
D | GrDashOp.cpp | 233 for (const auto& geo : fLines) { in dumpInfo() 284 fLines.push_back(geometry); in DashOp() 294 SkMatrix& combinedMatrix = fLines[0].fSrcRotInv; in DashOp() 323 int instanceCount = fLines.count(); in onPrepareDraws() 365 const LineData& args = fLines[i]; in onPrepareDraws() 579 const LineData& geom = fLines[i]; in onPrepareDraws() 656 fLines.push_back_n(that->fLines.count(), that->fLines.begin()); in onCombineIfPossible() 661 const SkMatrix& viewMatrix() const { return fLines[0].fViewMatrix; } in viewMatrix() 669 SkSTArray<1, LineData, true> fLines; member in DashOp
|
/external/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 277 fLines.push_back(geometry); in DashOp() 287 SkMatrix& combinedMatrix = fLines[0].fSrcRotInv; in DashOp() 368 int instanceCount = fLines.count(); in onPrepareDraws() 394 const LineData& args = fLines[i]; in onPrepareDraws() 610 const LineData& geom = fLines[i]; in onPrepareDraws() 693 fLines.push_back_n(that->fLines.count(), that->fLines.begin()); in onCombineIfPossible() 700 for (const auto& geo : fLines) { in onDumpInfo() 716 const SkMatrix& viewMatrix() const { return fLines[0].fViewMatrix; } in viewMatrix() 724 SkSTArray<1, LineData, true> fLines; member in DashOp
|
/external/skia/experimental/sktext/src/ |
D | Wrapper.h | 19 fProcessor->fLines.emplace_back(fProcessor, stretch, spaces); in addLine()
|
D | Processor.cpp | 210 for (auto& line : fLines) { in iterateByVisualOrder() 250 for (auto& line : fLines) { in iterateByVisualOrder()
|
/external/skia/experimental/sktext/include/ |
D | Processor.h | 189 SkTArray<Line, false> fLines; variable
|