/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | intrinsic_width_test.dart | 61 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 …]
|
D | cached_intrinsics_test.dart | 25 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));
|
D | aspect_ratio_test.dart | 14 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 …]
|
D | paragraph_intrinsics_test.dart | 26 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));
|
D | box_test.dart | 355 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() '
|
D | dynamic_intrinsics_test.dart | 57 child.getMinIntrinsicWidth(double.infinity),
|
D | flex_test.dart | 74 expect(flex.getMinIntrinsicWidth(100.0), equals(0.0)); 97 expect(flex.getMinIntrinsicWidth(100.0), equals(200.0));
|
D | editable_test.dart | 45 expect(editable.getMinIntrinsicWidth(double.infinity), 50.0);
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | constrained_box_test.dart | 11 …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…
|
D | wrap_test.dart | 802 final double width = wrap.getMinIntrinsicWidth(600.0);
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | rotated_box.dart | 51 return _isVertical ? child.getMinIntrinsicHeight(height) : child.getMinIntrinsicWidth(height); 65 return _isVertical ? child.getMinIntrinsicWidth(width) : child.getMinIntrinsicHeight(width);
|
D | list_body.dart | 214 return _getIntrinsicMainAxis((RenderBox child) => child.getMinIntrinsicWidth(height)); 216 return _getIntrinsicCrossAxis((RenderBox child) => child.getMinIntrinsicWidth(height));
|
D | box.dart | 1313 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 …]
|
D | shifted_box.dart | 26 return child.getMinIntrinsicWidth(height); 160 …return child.getMinIntrinsicWidth(math.max(0.0, height - totalVerticalPadding)) + totalHorizontalP… 889 result = child.getMinIntrinsicWidth(height * (_heightFactor ?? 1.0));
|
D | paragraph.dart | 376 final double intrinsicWidth = child.getMinIntrinsicWidth(height); 395 final double intrinsicWidth = child.getMinIntrinsicWidth(intrinsicHeight);
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | Paragraph.h | 26 SkScalar getMinIntrinsicWidth() { return fMinIntrinsicWidth; } in getMinIntrinsicWidth() function
|
/third_party/flutter/engine/flutter/third_party/txt/src/skia/ |
D | paragraph_skia.cc | 40 return paragraph_->getMinIntrinsicWidth(); in GetMinIntrinsicWidth()
|
/third_party/skia/modules/skparagraph/include/ |
D | Paragraph.h | 26 SkScalar getMinIntrinsicWidth() { return fMinIntrinsicWidth; } in getMinIntrinsicWidth() function
|
/third_party/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 99 expect(paragraph.getMinIntrinsicWidth()).toBeCloseTo(172.360, 3); 786 expect(paragraph.getMinIntrinsicWidth()).toBeCloseTo(172.360, 3);
|
/third_party/skia/modules/canvaskit/ |
D | externs.js | 139 getMinIntrinsicWidth: function() {}, method
|
D | paragraph_bindings.cpp | 425 .function("getMinIntrinsicWidth", ¶::Paragraph::getMinIntrinsicWidth) in EMSCRIPTEN_BINDINGS()
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | button.dart | 431 return math.max(child.getMinIntrinsicWidth(height), minSize.width);
|
D | list_tile.dart | 1234 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/ |
D | segmented_control.dart | 546 final double childWidth = child.getMinIntrinsicWidth(height);
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 513 const i = p.getMinIntrinsicWidth(); // $ExpectType number
|