/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | paragraph_test.dart | 101 maxLines: 1, 105 void relayoutWith({ int maxLines, bool softWrap, TextOverflow overflow }) { 107 ..maxLines = maxLines 117 relayoutWith(maxLines: 3, softWrap: true, overflow: TextOverflow.clip); 120 relayoutWith(maxLines: null, softWrap: true, overflow: TextOverflow.clip); 125 relayoutWith(maxLines: 1, softWrap: true, overflow: TextOverflow.ellipsis); 128 relayoutWith(maxLines: 3, softWrap: true, overflow: TextOverflow.ellipsis); 131 // This is the one weird case. If maxLines is null, we would expect to allow 135 relayoutWith(maxLines: null, softWrap: true, overflow: TextOverflow.ellipsis); 139 relayoutWith(maxLines: 1, softWrap: false, overflow: TextOverflow.clip); [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | text.dart | 34 /// The [maxLines] property may be null (and indeed defaults to null), but if 42 this.maxLines, 48 assert(maxLines == null || maxLines > 0), 63 maxLines = null, 75 /// This constructor cannot be used to override the [maxLines] property of the 77 /// ancestor". To replace a non-null [maxLines] from an ancestor with the null 89 int maxLines, 103 maxLines: maxLines ?? parent.maxLines, 133 /// [Text.maxLines]. 134 final int maxLines; [all …]
|
D | editable_text.dart | 331 /// The [maxLines] property can be set to null to remove the restriction on 333 /// text field. [maxLines] must be null or greater than zero. 336 /// [TextInputType.text] unless [maxLines] is greater than one, when it will 363 this.maxLines = 1, 414 assert(maxLines == null || maxLines > 0), 417 (maxLines == null) || (minLines == null) || (maxLines >= minLines), 418 'minLines can\'t be greater than maxLines', 422 !expands || (maxLines == null && minLines == null), 423 'minLines and maxLines must be null when expands is true.', 431 … keyboardType = keyboardType ?? (maxLines == 1 ? TextInputType.text : TextInputType.multiline), [all …]
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | default_text_style_test.dart | 31 maxLines: 3, 41 expect(text.maxLines, 3); 69 expect(text1.maxLines, isNull); 76 maxLines: 3, 87 expect(text2.maxLines, 3); 97 expect(text3.maxLines, 3);
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | text_form_field.dart | 98 int maxLines = 1, 126 assert(maxLines == null || maxLines > 0), 129 (maxLines == null) || (minLines == null) || (maxLines >= minLines), 130 'minLines can\'t be greater than maxLines', 134 !expands || (maxLines == null && minLines == null), 135 'minLines and maxLines must be null when expands is true.', 174 maxLines: maxLines,
|
D | selectable_text.dart | 189 /// must not be null. If specified, the [maxLines] argument must be greater 202 this.maxLines, 214 assert(maxLines == null || maxLines > 0), 244 this.maxLines, 256 assert(maxLines == null || maxLines > 0), 322 /// {@macro flutter.widgets.editableText.maxLines} 323 final int maxLines; 391 properties.add(IntProperty('maxLines', maxLines, defaultValue: null)); 571 maxLines: widget.maxLines ?? defaultTextStyle.maxLines,
|
D | text_field.dart | 213 /// The [maxLines] property can be set to null to remove the restriction on 215 /// text field. [maxLines] must not be zero. 239 /// [maxLengthEnforced], [scrollPadding], [maxLines], and [maxLength] 265 this.maxLines = 1, 295 assert(maxLines == null || maxLines > 0), 298 (maxLines == null) || (minLines == null) || (maxLines >= minLines), 299 'minLines can\'t be greater than maxLines', 303 !expands || (maxLines == null && minLines == null), 304 'minLines and maxLines must be null when expands is true.', 307 … keyboardType = keyboardType ?? (maxLines == 1 ? TextInputType.text : TextInputType.multiline), [all …]
|
/third_party/node/lib/internal/assert/ |
D | assertion_error.js | 161 const maxLines = MathMax(actualLines.length, expectedLines.length); 164 if (maxLines === 0) { 201 if (actualLines.length < maxLines) { 207 for (i = 0; i < maxLines; i++) { 307 if (printedLines > 50 && i < maxLines - 2) {
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | text_field.dart | 173 /// The [maxLines] property can be set to null to remove the restriction on 177 /// overflown. [maxLines] must not be zero. 224 this.maxLines = 1, 252 assert(maxLines == null || maxLines > 0), 255 (maxLines == null) || (minLines == null) || (maxLines >= minLines), 256 'minLines can\'t be greater than maxLines', 260 !expands || (maxLines == null && minLines == null), 261 'minLines and maxLines must be null when expands is true.', 267 … keyboardType = keyboardType ?? (maxLines == 1 ? TextInputType.text : TextInputType.multiline), 403 /// {@macro flutter.widgets.editableText.maxLines} [all …]
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextWrapper.cpp | 145 auto maxLines = parent->paragraphStyle().getMaxLines(); in breakTextIntoLines() local 170 auto lastLine = maxLines == std::numeric_limits<size_t>::max() || in breakTextIntoLines() 171 fLineNumber >= maxLines; in breakTextIntoLines() 211 if (needEllipsis || fLineNumber >= maxLines) { in breakTextIntoLines()
|
/third_party/gptfdisk/ |
D | parttypes.cc | 584 void PartType::ShowAllTypes(int maxLines) const { in ShowAllTypes() 592 if (maxLines > 0) { in ShowAllTypes() 608 if ((maxLines > 0) && (lineCount++ % maxLines) == 0) { in ShowAllTypes()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | paragraph.dart | 66 /// The [maxLines] property may be null (and indeed defaults to null), but if 74 int maxLines, 86 assert(maxLines == null || maxLines > 0), 95 maxLines: maxLines, 226 int get maxLines => _textPainter.maxLines; 228 set maxLines(int value) { 230 if (_textPainter.maxLines == value) 232 _textPainter.maxLines = value; 887 properties.add(IntProperty('maxLines', maxLines, ifNull: 'unlimited'));
|
D | editable.dart | 108 /// to [textAlign]. The [maxLines] property controls whether the text displays 133 /// The [maxLines] property can be set to null to remove the restriction on 149 int maxLines = 1, 175 assert(maxLines == null || maxLines > 0), 180 (maxLines == null) || (minLines == null) || (maxLines >= minLines), 181 'minLines can\'t be greater than maxLines', 185 !expands || (maxLines == null && minLines == null), 186 'minLines and maxLines must be null when expands is true.', 211 _maxLines = maxLines, 805 int get maxLines => _maxLines; [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | text_painter.dart | 135 /// The [maxLines] property, if non-null, must be greater than zero. 141 int maxLines, 149 assert(maxLines == null || maxLines > 0), 155 _maxLines = maxLines, 252 /// truncated by [maxLines], if [maxLines] is non-null and that line overflows 254 /// constraint, if [maxLines] is null. The width constraint is the `maxWidth` 292 int get maxLines => _maxLines; 295 set maxLines(int value) { 397 maxLines: _maxLines, 404 maxLines: maxLines, [all …]
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 73 void setMaxLines(size_t maxLines) { fLinesLimit = maxLines; } in setMaxLines()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | gnomelayout.cpp | 226 gint maxLines = context->paragraph->getLineCount() - 1; in eventExpose() local 230 context->paragraph->draw(&surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
D | cgnomelayout.c | 218 gint maxLines = pf_getLineCount(context->paragraph) - 1; in eventExpose() local 222 pf_draw(context->paragraph, surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | gnomelayout.cpp | 226 gint maxLines = context->paragraph->getLineCount() - 1; in eventExpose() local 230 context->paragraph->draw(&surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
D | cgnomelayout.c | 218 gint maxLines = pf_getLineCount(context->paragraph) - 1; in eventExpose() local 222 pf_draw(context->paragraph, surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | gnomelayout.cpp | 226 gint maxLines = context->paragraph->getLineCount() - 1; in eventExpose() local 230 context->paragraph->draw(&surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
D | cgnomelayout.c | 218 gint maxLines = pf_getLineCount(context->paragraph) - 1; in eventExpose() local 222 pf_draw(context->paragraph, surface, firstLine, (maxLines < lastLine)? maxLines : lastLine); in eventExpose()
|
/third_party/icu/icu4c/source/tools/ctestfw/ |
D | uperf.cpp | 219 int maxLines = MAXLINES; in getLines() local 234 if (numLines >= maxLines) { in getLines() 235 maxLines += MAXLINES; in getLines() 236 ULine *newLines = new ULine[maxLines]; in getLines()
|
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/ |
D | uperf.cpp | 219 int maxLines = MAXLINES; in getLines() local 234 if (numLines >= maxLines) { in getLines() 235 maxLines += MAXLINES; in getLines() 236 ULine *newLines = new ULine[maxLines]; in getLines()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/ |
D | uperf.cpp | 219 int maxLines = MAXLINES; in getLines() local 234 if (numLines >= maxLines) { in getLines() 235 maxLines += MAXLINES; in getLines() 236 ULine *newLines = new ULine[maxLines]; in getLines()
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | text_field_test.dart | 188 int maxLines = 1, 195 maxLines: maxLines, 561 maxLines: null, 1569 maxLines: 6, 1787 // maxLines: 3 makes the TextField 3 lines tall 1789 await tester.pumpWidget(textFieldBuilder(maxLines: 3)); 1798 await tester.pumpWidget(textFieldBuilder(maxLines: 3)); 1804 await tester.pumpWidget(textFieldBuilder(maxLines: 3)); 1810 await tester.pumpWidget(textFieldBuilder(maxLines: 4)); 1819 await tester.pumpWidget(textFieldBuilder(maxLines: null)); [all …]
|