Home
last modified time | relevance | path

Searched refs:getMinIntrinsicWidth (Results 1 – 25 of 37) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/test/rendering/
Dintrinsic_width_test.dart61 expect(parent.getMinIntrinsicWidth(0.0), equals(100.0));
66 expect(parent.getMinIntrinsicWidth(10.0), equals(100.0));
71 expect(parent.getMinIntrinsicWidth(80.0), equals(100.0));
76 expect(parent.getMinIntrinsicWidth(double.infinity), equals(100.0));
95 expect(parent.getMinIntrinsicWidth(0.0), equals(0.0));
100 expect(parent.getMinIntrinsicWidth(10.0), equals(0.0));
105 expect(parent.getMinIntrinsicWidth(80.0), equals(0.0));
110 expect(parent.getMinIntrinsicWidth(double.infinity), equals(0.0));
130 expect(parent.getMinIntrinsicWidth(0.0), equals(3.0 * 47.0));
135 expect(parent.getMinIntrinsicWidth(10.0), equals(3.0 * 47.0));
[all …]
Dcached_intrinsics_test.dart25 expect(test.getMinIntrinsicWidth(0.0), equals(1.0));
26 expect(test.getMinIntrinsicWidth(100.0), equals(2.0));
27 expect(test.getMinIntrinsicWidth(200.0), equals(3.0));
28 expect(test.getMinIntrinsicWidth(0.0), equals(1.0));
29 expect(test.getMinIntrinsicWidth(100.0), equals(2.0));
30 expect(test.getMinIntrinsicWidth(200.0), equals(3.0));
63 expect(test.getMinIntrinsicWidth(200.0), equals(3.0));
64 expect(test.getMinIntrinsicWidth(100.0), equals(2.0));
65 expect(test.getMinIntrinsicWidth(0.0), equals(1.0));
Daspect_ratio_test.dart14 expect(box.getMinIntrinsicWidth(200.0), 400.0);
15 expect(box.getMinIntrinsicWidth(400.0), 800.0);
26 expect(box.getMinIntrinsicWidth(double.infinity), 0.0);
35 expect(box.getMinIntrinsicWidth(200.0), 100.0);
36 expect(box.getMinIntrinsicWidth(400.0), 200.0);
47 expect(box.getMinIntrinsicWidth(double.infinity), 0.0);
59 expect(box.getMinIntrinsicWidth(200.0), 400.0);
60 expect(box.getMinIntrinsicWidth(400.0), 800.0);
71 expect(box.getMinIntrinsicWidth(double.infinity), 90.0);
83 expect(box.getMinIntrinsicWidth(200.0), 100.0);
[all …]
Dparagraph_intrinsics_test.dart26 final double wrappedTextWidth = paragraph.getMinIntrinsicWidth(double.infinity);
41 expect(testBlock.getMinIntrinsicWidth(double.infinity), equals(wrappedTextWidth));
47 expect(testBlock.getMinIntrinsicWidth(0.0), equals(wrappedTextWidth));
56 expect(testBlock.getMinIntrinsicWidth(double.infinity), equals(wrappedTextWidth));
62 expect(testBlock.getMinIntrinsicWidth(0.0), equals(wrappedTextWidth));
Dbox_test.dart355 expect(unconstrained.getMinIntrinsicWidth(100.0), equals(0.0));
371 expect(unconstrained.getMinIntrinsicWidth(100.0), equals(200.0));
389 unconstrained.getMinIntrinsicWidth(null);
398 ' The height argument to getMinIntrinsicWidth was null.\n'
399 ' The argument to getMinIntrinsicWidth must not be negative or\n'
414 unconstrained.getMinIntrinsicWidth(-1);
423 ' The height argument to getMinIntrinsicWidth was negative.\n'
424 ' The argument to getMinIntrinsicWidth must not be negative or\n'
427 ' to getMinIntrinsicWidth, consider using math.max() or\n'
434 'getMinIntrinsicWidth, consider using math.max() or double.clamp() '
Ddynamic_intrinsics_test.dart57 child.getMinIntrinsicWidth(double.infinity),
Dflex_test.dart74 expect(flex.getMinIntrinsicWidth(100.0), equals(0.0));
97 expect(flex.getMinIntrinsicWidth(100.0), equals(200.0));
Deditable_test.dart45 expect(editable.getMinIntrinsicWidth(double.infinity), 50.0);
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dconstrained_box_test.dart11 …expect(tester.renderObject<RenderBox>(find.byType(Placeholder)).getMinIntrinsicWidth(double.infini…
26 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
41 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
56 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
71 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
84 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
101 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
117 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
130 …expect(tester.renderObject<RenderBox>(find.byType(ConstrainedBox)).getMinIntrinsicWidth(double.inf…
Dwrap_test.dart802 final double width = wrap.getMinIntrinsicWidth(600.0);
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Drotated_box.dart51 return _isVertical ? child.getMinIntrinsicHeight(height) : child.getMinIntrinsicWidth(height);
65 return _isVertical ? child.getMinIntrinsicWidth(width) : child.getMinIntrinsicHeight(width);
Dlist_body.dart214 return _getIntrinsicMainAxis((RenderBox child) => child.getMinIntrinsicWidth(height));
216 return _getIntrinsicCrossAxis((RenderBox child) => child.getMinIntrinsicWidth(height));
Dbox.dart1313 double getMinIntrinsicWidth(double height) {
1317 ErrorSummary('The height argument to getMinIntrinsicWidth was null.'),
1318 ErrorDescription('The argument to getMinIntrinsicWidth must not be negative or null.'),
1324 ErrorSummary('The height argument to getMinIntrinsicWidth was negative.'),
1325 ErrorDescription('The argument to getMinIntrinsicWidth must not be negative or null.'),
1328 'getMinIntrinsicWidth, consider using math.max() or double.clamp() '
1338 /// Computes the value returned by [getMinIntrinsicWidth]. Do not call this
1339 /// function directly, instead, call [getMinIntrinsicWidth].
1590 /// would be returned by [getMinIntrinsicWidth] for that height.
1997 … testIntrinsicsForValues(getMinIntrinsicWidth, getMaxIntrinsicWidth, 'Width', double.infinity);
[all …]
Dshifted_box.dart26 return child.getMinIntrinsicWidth(height);
160 …return child.getMinIntrinsicWidth(math.max(0.0, height - totalVerticalPadding)) + totalHorizontalP…
889 result = child.getMinIntrinsicWidth(height * (_heightFactor ?? 1.0));
Dparagraph.dart376 final double intrinsicWidth = child.getMinIntrinsicWidth(height);
395 final double intrinsicWidth = child.getMinIntrinsicWidth(intrinsicHeight);
/third_party/flutter/skia/modules/skparagraph/include/
DParagraph.h26 SkScalar getMinIntrinsicWidth() { return fMinIntrinsicWidth; } in getMinIntrinsicWidth() function
/third_party/flutter/engine/flutter/third_party/txt/src/skia/
Dparagraph_skia.cc40 return paragraph_->getMinIntrinsicWidth(); in GetMinIntrinsicWidth()
/third_party/skia/modules/skparagraph/include/
DParagraph.h26 SkScalar getMinIntrinsicWidth() { return fMinIntrinsicWidth; } in getMinIntrinsicWidth() function
/third_party/skia/modules/canvaskit/tests/
Dparagraph.spec.js99 expect(paragraph.getMinIntrinsicWidth()).toBeCloseTo(172.360, 3);
786 expect(paragraph.getMinIntrinsicWidth()).toBeCloseTo(172.360, 3);
/third_party/skia/modules/canvaskit/
Dexterns.js139 getMinIntrinsicWidth: function() {}, method
Dparagraph_bindings.cpp425 .function("getMinIntrinsicWidth", &para::Paragraph::getMinIntrinsicWidth) in EMSCRIPTEN_BINDINGS()
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dbutton.dart431 return math.max(child.getMinIntrinsicWidth(height), minSize.width);
Dlist_tile.dart1234 return box == null ? 0.0 : box.getMinIntrinsicWidth(height);
1244 ? math.max(leading.getMinIntrinsicWidth(height), _minLeadingWidth) + _horizontalTitleGap
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dsegmented_control.dart546 final double childWidth = child.getMinIntrinsicWidth(height);
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts513 const i = p.getMinIntrinsicWidth(); // $ExpectType number

12