Home
last modified time | relevance | path

Searched refs:TextWrapper (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/modules/skparagraph/src/
H A DTextTabAlign.h23 #include "modules/skparagraph/src/TextWrapper.h"
32 bool processTab(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, Cluster* currentCluster, in processTab()
42 bool processEndofWord(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, Cluster* currentCluster, in processEndofWord()
52 bool processEndofLine(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, Cluster* currentCluster, in processEndofLine()
62 bool processCluster(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, Cluster* currentCluster, in processCluster()
75 bool leftAlignProcessTab(TextWrapper
[all...]
H A DTextTabAlign.cpp83 bool TextTabAlign::leftAlignProcessTab(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, in leftAlignProcessTab()
107 bool TextTabAlign::leftAlignProcessEndofWord(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, in leftAlignProcessEndofWord()
116 bool TextTabAlign::leftAlignProcessEndofLine(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, in leftAlignProcessEndofLine()
126 bool TextTabAlign::leftAlignProcessCluster(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters, in leftAlignProcessCluster()
135 void TextTabAlign::rightAlignProcessTabBlockEnd(TextWrapper::TextStretch& words, TextWrapper
[all...]
H A DTextWrapper.cpp3 #include "modules/skparagraph/src/TextWrapper.h"
59 SkScalar TextWrapper::calculateFakeSpacing(Cluster* cluster, bool autoSpacingEnable) in calculateFakeSpacing()
81 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, in lookAhead()
260 void TextWrapper::moveForward(bool hasEllipsis, bool breakAll) { in moveForward()
291 void TextWrapper::trimEndSpaces(TextAlign align) { in moveForward()
303 SkScalar TextWrapper::getClustersTrimmedWidth() { in moveForward()
324 std::tuple<Cluster*, size_t, SkScalar> TextWrapper::trimStartSpaces(Cluster* endOfClusters) { in moveForward()
672 uint64_t TextWrapper::CalculateBestScore(std::vector<SkScalar>& widthOut, SkScalar maxWidth, in moveForward()
691 void TextWrapper::updateMetricsWithPlaceholder(std::vector<Run*>& runs, bool iterateByCluster) { in moveForward()
728 void TextWrapper in moveForward()
[all...]
H A DTextWrapper.h18 class TextWrapper { class
173 TextWrapper() { in TextWrapper() function in skia::textlayout::TextWrapper
H A DParagraphImpl.h333 friend class TextWrapper;
H A DRun.h628 friend class TextWrapper; in InternalLineMetrics()
H A DParagraphImpl.cpp21 #include "modules/skparagraph/src/TextWrapper.h"
1198 TextWrapper textWrapper; in GetLineFontMetrics()
1299 TextWrapper textWrapper; in GetLineFontMetrics()
/third_party/python/Lib/
H A Dtextwrap.py10 __all__ = ['TextWrapper', 'wrap', 'fill', 'dedent', 'indent', 'shorten']
17 class TextWrapper: class
380 space. See TextWrapper class for available keyword args to customize
383 w = TextWrapper(width=width, **kwargs)
392 whitespace characters converted to space. See TextWrapper class for
395 w = TextWrapper(width=width, **kwargs)
410 w = TextWrapper(width=width, max_lines=1, **kwargs)
/third_party/python/Lib/test/
H A Dtest_textwrap.py13 from textwrap import TextWrapper, wrap, fill, dedent, indent, shorten namespace
49 self.wrapper = TextWrapper(width=45)
95 wrapper = TextWrapper(45, fix_sentence_endings=True)
111 wrapper = TextWrapper(60, fix_sentence_endings=True)
576 self.wrapper = TextWrapper()
645 self.wrapper = TextWrapper()
H A Dtest_pydoc.py1125 self.assertEqual(self._get_summary_line(textwrap.TextWrapper.wrap),
1135 t = textwrap.TextWrapper()
1137 "wrap(text) method of textwrap.TextWrapper instance")
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_history.py58 class TextWrapper: class
78 self.text = text = TextWrapper(self.root)
H A Dtest_calltip.py99 if textwrap.TextWrapper.__doc__ is not None:
100 self.assertEqual(get_spec(textwrap.TextWrapper), '''\
H A Dtest_format.py233 class TextWrapper: class
243 self.text = TextWrapper(root)
/third_party/mbedtls/tests/scripts/
H A Dcheck_names.py99 self.textwrapper = textwrap.TextWrapper()
/third_party/python/Lib/idlelib/
H A Dpyshell.py35 from textwrap import TextWrapper namespace
1404 wrapper = TextWrapper(width=width, tabsize=8, expand_tabs=True)

Completed in 20 milliseconds