Home
last modified time | relevance | path

Searched refs:getMaxIntrinsicWidth (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/rendering/
Dintrinsic_width_test.dart62 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 …]
Dcached_intrinsics_test.dart32 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));
Daspect_ratio_test.dart17 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 …]
Dparagraph_intrinsics_test.dart23 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));
Dbox_test.dart356 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() '
Dflex_test.dart75 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));
Deditable_test.dart47 expect(editable.getMaxIntrinsicWidth(double.infinity), 51.0);
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dconstrained_box_test.dart12 …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/
Drotated_box.dart58 return _isVertical ? child.getMaxIntrinsicHeight(height) : child.getMaxIntrinsicWidth(height);
72 return _isVertical ? child.getMaxIntrinsicWidth(width) : child.getMaxIntrinsicHeight(width);
Dlist_body.dart226 return _getIntrinsicMainAxis((RenderBox child) => child.getMaxIntrinsicWidth(height));
228 return _getIntrinsicCrossAxis((RenderBox child) => child.getMaxIntrinsicWidth(height));
Dwrap.dart393 final double childWidth = child.getMaxIntrinsicWidth(double.infinity);
426 final double childWidth = child.getMaxIntrinsicWidth(childHeight);
472 width += child.getMaxIntrinsicWidth(double.infinity);
Dbox.dart1454 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…
Dshifted_box.dart33 return child.getMaxIntrinsicWidth(height);
170 …return child.getMaxIntrinsicWidth(math.max(0.0, height - totalVerticalPadding)) + totalHorizontalP…
901 result = child.getMaxIntrinsicWidth(height * (_heightFactor ?? 1.0));
Dflex.dart529 mainSize = child.getMaxIntrinsicWidth(double.infinity);
577 childSize: (RenderBox child, double extent) => child.getMaxIntrinsicWidth(extent),
/third_party/flutter/skia/modules/skparagraph/include/
DParagraph.h28 SkScalar getMaxIntrinsicWidth() { return fMaxIntrinsicWidth; } in getMaxIntrinsicWidth() function
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_skia.cc44 return paragraph_->getMaxIntrinsicWidth(); in GetMaxIntrinsicWidth()
/third_party/skia/modules/skparagraph/include/
DParagraph.h28 SkScalar getMaxIntrinsicWidth() { return fMaxIntrinsicWidth; } in getMaxIntrinsicWidth() function
/third_party/skia/modules/canvaskit/tests/
Dparagraph.spec.js97 expect(paragraph.getMaxIntrinsicWidth()).toBeCloseTo(1444.250, 3);
784 expect(paragraph.getMaxIntrinsicWidth()).toBeCloseTo(1167.140, 3);
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dsegmented_control.dart559 final double childWidth = child.getMaxIntrinsicWidth(height);
634 childWidth = math.max(childWidth, child.getMaxIntrinsicWidth(double.infinity));
/third_party/skia/modules/canvaskit/
Dexterns.js137 getMaxIntrinsicWidth: function() {}, method
Dparagraph_bindings.cpp423 .function("getMaxIntrinsicWidth", &para::Paragraph::getMaxIntrinsicWidth) in EMSCRIPTEN_BINDINGS()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dbutton.dart445 return math.max(child.getMaxIntrinsicWidth(height), minSize.width);
Dlist_tile.dart1238 return box == null ? 0.0 : box.getMaxIntrinsicWidth(height);
1254 ? math.max(leading.getMaxIntrinsicWidth(height), _minLeadingWidth) + _horizontalTitleGap
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts511 const g = p.getMaxIntrinsicWidth(); // $ExpectType number
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dsingle_child_scroll_view.dart469 return child.getMaxIntrinsicWidth(height);

12