/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | intrinsic_width_test.dart | 62 expect(parent.getMaxIntrinsicWidth(0.0), equals(100.0)); 67 expect(parent.getMaxIntrinsicWidth(10.0), equals(100.0)); 72 expect(parent.getMaxIntrinsicWidth(80.0), equals(100.0)); 77 expect(parent.getMaxIntrinsicWidth(double.infinity), equals(100.0)); 96 expect(parent.getMaxIntrinsicWidth(0.0), equals(0.0)); 101 expect(parent.getMaxIntrinsicWidth(10.0), equals(0.0)); 106 expect(parent.getMaxIntrinsicWidth(80.0), equals(0.0)); 111 expect(parent.getMaxIntrinsicWidth(double.infinity), equals(0.0)); 131 expect(parent.getMaxIntrinsicWidth(0.0), equals(3.0 * 47.0)); 136 expect(parent.getMaxIntrinsicWidth(10.0), equals(3.0 * 47.0)); [all …]
|
D | cached_intrinsics_test.dart | 32 expect(test.getMaxIntrinsicWidth(0.0), equals(4.0)); 33 expect(test.getMaxIntrinsicWidth(100.0), equals(5.0)); 34 expect(test.getMaxIntrinsicWidth(200.0), equals(6.0)); 35 expect(test.getMaxIntrinsicWidth(0.0), equals(4.0)); 36 expect(test.getMaxIntrinsicWidth(100.0), equals(5.0)); 37 expect(test.getMaxIntrinsicWidth(200.0), equals(6.0)); 60 expect(test.getMaxIntrinsicWidth(200.0), equals(6.0)); 61 expect(test.getMaxIntrinsicWidth(100.0), equals(5.0)); 62 expect(test.getMaxIntrinsicWidth(0.0), equals(4.0));
|
D | aspect_ratio_test.dart | 17 expect(box.getMaxIntrinsicWidth(200.0), 400.0); 18 expect(box.getMaxIntrinsicWidth(400.0), 800.0); 27 expect(box.getMaxIntrinsicWidth(double.infinity), 0.0); 38 expect(box.getMaxIntrinsicWidth(200.0), 100.0); 39 expect(box.getMaxIntrinsicWidth(400.0), 200.0); 48 expect(box.getMaxIntrinsicWidth(double.infinity), 0.0); 62 expect(box.getMaxIntrinsicWidth(200.0), 400.0); 63 expect(box.getMaxIntrinsicWidth(400.0), 800.0); 72 expect(box.getMaxIntrinsicWidth(double.infinity), 90.0); 86 expect(box.getMaxIntrinsicWidth(200.0), 100.0); [all …]
|
D | paragraph_intrinsics_test.dart | 23 final double textWidth = paragraph.getMaxIntrinsicWidth(double.infinity); 42 expect(testBlock.getMaxIntrinsicWidth(double.infinity), equals(textWidth)); 48 expect(testBlock.getMaxIntrinsicWidth(0.0), equals(textWidth)); 57 expect(testBlock.getMaxIntrinsicWidth(double.infinity), equals(textWidth)); 63 expect(testBlock.getMaxIntrinsicWidth(0.0), equals(textWidth));
|
D | box_test.dart | 356 expect(unconstrained.getMaxIntrinsicWidth(100.0), equals(0.0)); 372 expect(unconstrained.getMaxIntrinsicWidth(100.0), equals(200.0)); 495 unconstrained.getMaxIntrinsicWidth(null); 504 ' The height argument to getMaxIntrinsicWidth was null.\n' 505 ' The argument to getMaxIntrinsicWidth must not be negative or\n' 520 unconstrained.getMaxIntrinsicWidth(-1); 529 ' The height argument to getMaxIntrinsicWidth was negative.\n' 530 ' The argument to getMaxIntrinsicWidth must not be negative or\n' 533 ' to getMaxIntrinsicWidth, consider using math.max() or\n' 540 'getMaxIntrinsicWidth, consider using math.max() or double.clamp() '
|
D | flex_test.dart | 75 expect(flex.getMaxIntrinsicWidth(100.0), equals(0.0)); 98 expect(flex.getMaxIntrinsicWidth(100.0), equals(200.0)); 111 expect(flex.getMaxIntrinsicWidth(200.0), equals(0.0));
|
D | editable_test.dart | 47 expect(editable.getMaxIntrinsicWidth(double.infinity), 51.0);
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | constrained_box_test.dart | 12 …expect(tester.renderObject<RenderBox>(find.byType(Placeholder)).getMaxIntrinsicWidth(double.infini… 27 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 42 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 57 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 72 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 85 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 102 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 118 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf… 131 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMaxIntrinsicWidth(double.inf…
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | rotated_box.dart | 58 return _isVertical ? child.getMaxIntrinsicHeight(height) : child.getMaxIntrinsicWidth(height); 72 return _isVertical ? child.getMaxIntrinsicWidth(width) : child.getMaxIntrinsicHeight(width);
|
D | list_body.dart | 226 return _getIntrinsicMainAxis((RenderBox child) => child.getMaxIntrinsicWidth(height)); 228 return _getIntrinsicCrossAxis((RenderBox child) => child.getMaxIntrinsicWidth(height));
|
D | wrap.dart | 393 final double childWidth = child.getMaxIntrinsicWidth(double.infinity); 426 final double childWidth = child.getMaxIntrinsicWidth(childHeight); 472 width += child.getMaxIntrinsicWidth(double.infinity);
|
D | box.dart | 1454 double getMaxIntrinsicWidth(double height) { 1458 ErrorSummary('The height argument to getMaxIntrinsicWidth was null.'), 1459 ErrorDescription('The argument to getMaxIntrinsicWidth must not be negative or null.'), 1465 ErrorSummary('The height argument to getMaxIntrinsicWidth was negative.'), 1466 ErrorDescription('The argument to getMaxIntrinsicWidth must not be negative or null.'), 1469 'getMaxIntrinsicWidth, consider using math.max() or double.clamp() ' 1479 /// Computes the value returned by [getMaxIntrinsicWidth]. Do not call this 1480 /// function directly, instead, call [getMaxIntrinsicWidth]. 1997 … testIntrinsicsForValues(getMinIntrinsicWidth, getMaxIntrinsicWidth, 'Width', double.infinity); 2000 …testIntrinsicsForValues(getMinIntrinsicWidth, getMaxIntrinsicWidth, 'Width', constraints.maxHeight…
|
D | shifted_box.dart | 33 return child.getMaxIntrinsicWidth(height); 170 …return child.getMaxIntrinsicWidth(math.max(0.0, height - totalVerticalPadding)) + totalHorizontalP… 901 result = child.getMaxIntrinsicWidth(height * (_heightFactor ?? 1.0));
|
D | flex.dart | 529 mainSize = child.getMaxIntrinsicWidth(double.infinity); 577 childSize: (RenderBox child, double extent) => child.getMaxIntrinsicWidth(extent),
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | Paragraph.h | 28 SkScalar getMaxIntrinsicWidth() { return fMaxIntrinsicWidth; } in getMaxIntrinsicWidth() function
|
/third_party/flutter/engine/flutter/third_party/txt/src/skia/ |
D | paragraph_skia.cc | 44 return paragraph_->getMaxIntrinsicWidth(); in GetMaxIntrinsicWidth()
|
/third_party/skia/modules/skparagraph/include/ |
D | Paragraph.h | 28 SkScalar getMaxIntrinsicWidth() { return fMaxIntrinsicWidth; } in getMaxIntrinsicWidth() function
|
/third_party/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 97 expect(paragraph.getMaxIntrinsicWidth()).toBeCloseTo(1444.250, 3); 784 expect(paragraph.getMaxIntrinsicWidth()).toBeCloseTo(1167.140, 3);
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | segmented_control.dart | 559 final double childWidth = child.getMaxIntrinsicWidth(height); 634 childWidth = math.max(childWidth, child.getMaxIntrinsicWidth(double.infinity));
|
/third_party/skia/modules/canvaskit/ |
D | externs.js | 137 getMaxIntrinsicWidth: function() {}, method
|
D | paragraph_bindings.cpp | 423 .function("getMaxIntrinsicWidth", ¶::Paragraph::getMaxIntrinsicWidth) in EMSCRIPTEN_BINDINGS()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | button.dart | 445 return math.max(child.getMaxIntrinsicWidth(height), minSize.width);
|
D | list_tile.dart | 1238 return box == null ? 0.0 : box.getMaxIntrinsicWidth(height); 1254 ? math.max(leading.getMaxIntrinsicWidth(height), _minLeadingWidth) + _horizontalTitleGap
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 511 const g = p.getMaxIntrinsicWidth(); // $ExpectType number
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | single_child_scroll_view.dart | 469 return child.getMaxIntrinsicWidth(height);
|