Home
last modified time | relevance | path

Searched refs:hardBreak (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/experimental/sktext/tests/
H A DWrappedText.cpp44 bool hardBreak; member
62 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override {
64 fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.size(), fTestRuns.size()) });
131 REPORTER_ASSERT(reporter, runIndex <= 1 ? line.hardBreak : !line.hardBreak); in UNIX_ONLY_TEST()
H A DSelectableText.cpp44 bool hardBreak; member
63 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override {
65 fTestLines.push_back({ index, lineText, hardBreak, bounds, EMPTY_RANGE, Range<RunIndex>(fTestRuns.size(), fTestRuns.size()), 0 });
137 REPORTER_ASSERT(reporter, boxLine.fIsHardBreak == testLine.hardBreak); in UNIX_ONLY_TEST()
/third_party/skia/experimental/sktext/include/
H A DInterface.h72 virtual void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { } in onBeginLine() argument
150 BoxLine(size_t index, TextRange text, bool hardBreak, SkRect bounds);
H A DText.h174 virtual void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { } in onBeginLine() argument
294 BoxLine(size_t index, TextRange text, bool hardBreak, SkRect bounds) in BoxLine()
295 : fTextRange(text), fIndex(index), fIsHardBreak(hardBreak), fBounds(bounds) { } in BoxLine()
346 void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) override;
/third_party/skia/experimental/sktext/src/
H A DText.cpp653 void SelectableText::onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) {
655 fBoxLines.emplace_back(index, lineText, hardBreak, bounds);

Completed in 4 milliseconds