Home
last modified time | relevance | path

Searched refs:maxWidth (Results 1 – 25 of 173) sorted by relevance

1234567

/third_party/flutter/flutter/packages/flutter/test/rendering/
Dbox_constraints_test.dart18 maxWidth: 7.0,
26 maxWidth: 17.0,
31 expect(copy.maxWidth, 17.0);
41 maxWidth: 7.0,
47 expect(copy.maxWidth, 14.0);
53 expect(copy.maxWidth, 3.0);
58 expect(copy.maxWidth, 1.0);
67 maxWidth: 7.0,
73 expect(copy.maxWidth, 3.5);
78 expect(copy.maxWidth, 3.5);
[all …]
Dlimited_box_test.dart18 maxWidth: double.infinity,
22 maxWidth: 100.0,
41 ' │ maxWidth: Infinity\n'
49 ' │ maxWidth: 100.0\n'
61 test('LimitedBox: parent maxWidth is unconstrained', () {
67 maxWidth: double.infinity,
71 maxWidth: 100.0,
87 maxWidth: 500.0,
91 maxWidth: 100.0,
106 maxWidth: 500.0,
[all …]
Daspect_ratio_test.dart103 maxWidth: double.infinity,
133 outside.maxWidth = 100.0;
138 outside.maxWidth = 90.0;
143 outside.maxWidth = double.infinity;
148 outside.maxWidth = 90.0;
155 outside.maxWidth = 100.0;
160 outside.maxWidth = 90.0;
165 outside.maxWidth = double.infinity;
170 outside.maxWidth = 90.0;
178 outside.maxWidth = 100.0;
[all …]
Dimage_test.dart80 maxWidth: 100.0,
105 maxWidth: 100.0,
115 maxWidth: 75.0,
125 maxWidth: 100.0,
135 maxWidth: 16.0,
145 maxWidth: 16.0,
155 maxWidth: 8.0,
165 maxWidth: 30.0,
175 maxWidth: 30.0,
189 maxWidth: 100.0,
[all …]
Dintrinsic_width_test.dart23 return _intrinsicDimensions.maxWidth;
41 …ts.constrain(Size(_intrinsicDimensions.minWidth + (_intrinsicDimensions.maxWidth-_intrinsicDimensi…
48 …final RenderBox child = RenderTestBox(const BoxConstraints(minWidth: 10.0, maxWidth: 100.0, minHei…
54 maxWidth: 500.0,
88 maxWidth: 500.0,
117 …final RenderBox child = RenderTestBox(const BoxConstraints(minWidth: 10.0, maxWidth: 100.0, minHei…
123 maxWidth: 500.0,
152 …final RenderBox child = RenderTestBox(const BoxConstraints(minWidth: 10.0, maxWidth: 100.0, minHei…
158 maxWidth: 500.0,
187 …final RenderBox child = RenderTestBox(const BoxConstraints(minWidth: 10.0, maxWidth: 100.0, minHei…
[all …]
Dproxy_getters_and_setters_test.dart14 expect(box.additionalConstraints, const BoxConstraints(minWidth: 10.0, maxWidth: 10.0));
19 expect(box.maxWidth, double.infinity);
21 box.maxWidth = 0.0;
24 expect(box.maxWidth, 0.0);
Dconstraints_test.dart39 …const BoxConstraints constraints = BoxConstraints(minWidth: double.nan, maxWidth: double.nan, minH…
45 'BoxConstraints has NaN values in minWidth, maxWidth, and maxHeight.\n'
65 const BoxConstraints constraints = BoxConstraints(minHeight: double.nan, maxWidth: 0.0/0.0);
71 'BoxConstraints has NaN values in maxWidth and minHeight.\n'
Dflex_test.dart16 minWidth: 200.0, maxWidth: 200.0, minHeight: 200.0, maxHeight: 200.0),
41 maxWidth: slightlySmaller,
69 const BoxConstraints viewport = BoxConstraints(maxHeight: 100.0, maxWidth: 100.0);
92 const BoxConstraints viewport = BoxConstraints(maxHeight: 100.0, maxWidth: 100.0);
109 const BoxConstraints viewport = BoxConstraints(maxHeight: 200.0, maxWidth: 1000.0);
143 minWidth: 0.0, maxWidth: 100.0, minHeight: 0.0, maxHeight: 100.0),
169 minWidth: 0.0, maxWidth: 100.0, minHeight: 0.0, maxHeight: 100.0),
198 minWidth: 0.0, maxWidth: 500.0, minHeight: 0.0, maxHeight: 400.0),
228 minWidth: 0.0, maxWidth: 500.0, minHeight: 0.0, maxHeight: 400.0),
280 minWidth: 0.0, maxWidth: 500.0, minHeight: 0.0, maxHeight: 400.0),
[all …]
/third_party/node/deps/npm/node_modules/ansi-align/
Dindex.js25 let maxWidth = 0
29 maxWidth = Math.max(width, maxWidth)
35 return new Array(widthDiffFn(maxWidth, obj.width) + 1).join(pad) + obj.str
55 function halfDiff (maxWidth, curWidth) { argument
56 return Math.floor((maxWidth - curWidth) / 2)
59 function fullDiff (maxWidth, curWidth) { argument
60 return maxWidth - curWidth
/third_party/node/deps/npm/lib/search/
Dformat-package-stream.js70 name: { minWidth: 25, maxWidth: 25, truncate: false, truncateMarker: '' }, property
71 description: { minWidth: 20, maxWidth: 20 }, property
72 author: { minWidth: 15, maxWidth: 15 }, property
73 date: { maxWidth: 11 }, property
74 version: { minWidth: 8, maxWidth: 8 }, property
75 keywords: { maxWidth: Infinity } property
137 var maxWidth = getMaxWidth()
139 return line.slice(0, maxWidth)
/third_party/vk-gl-cts/modules/egl/
DteglMemoryStressTests.cpp72 …ig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, b…
105 …ig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, b… in MemoryAllocator() argument
116 , m_maxWidth (maxWidth) in MemoryAllocator()
322 int maxWidth; member
401 …config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight… in iterate()
481 spec.maxWidth = 256; in init()
495 spec.maxWidth = 256; in init()
509 spec.maxWidth = 1024; in init()
523 spec.maxWidth = 1024; in init()
537 spec.maxWidth = 1024; in init()
[all …]
/third_party/typescript/tests/baselines/reference/
DunknownSymbolOffContextualType1.js19 var maxWidth = widths.reduce(function (a, b) {
22 return maxWidth;
37 var maxWidth = widths.reduce(function (a, b) {
40 return maxWidth;
DunknownSymbolOffContextualType1.symbols62 var maxWidth = widths.reduce(function (a, b) {
63 >maxWidth : Symbol(maxWidth, Decl(unknownSymbolOffContextualType1.ts, 17, 7))
77 return maxWidth;
78 >maxWidth : Symbol(maxWidth, Decl(unknownSymbolOffContextualType1.ts, 17, 7))
DunknownSymbolOffContextualType1.errors.txt24 var maxWidth = widths.reduce(function (a, b) {
27 return maxWidth;
/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp10 LineBreakerWithLittleRounding(SkScalar maxWidth) in LineBreakerWithLittleRounding()
11 : fLower(maxWidth - 0.25f) in LineBreakerWithLittleRounding()
12 , fMaxWidth(maxWidth) in LineBreakerWithLittleRounding()
13 , fUpper(maxWidth + 0.25f) {} in LineBreakerWithLittleRounding()
40 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters) { in lookAhead() argument
48 LineBreakerWithLittleRounding breaker(maxWidth); in lookAhead()
69 if (cluster->width() > maxWidth && fWords.empty()) { in lookAhead()
93 … if (nextWordLength > 0 && nextWordLength <= maxWidth && further->isIntraWordBreak()) { in lookAhead()
99 if (maxWidth == 0) { in lookAhead()
106 if (nextWordLength > maxWidth) { in lookAhead()
[all …]
/third_party/node/deps/npm/node_modules/columnify/
Dindex.js18 maxWidth: Infinity, property
73 column.maxWidth = Math.ceil(column.maxWidth)
139 if (min >= column.maxWidth) return min
140 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
176 if (min >= column.maxWidth) return min
177 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
180 if (min >= column.maxWidth) return min
181 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)))
Dcolumnify.js23 maxWidth: Infinity, property
79 column.maxWidth = Math.ceil(column.maxWidth);
149 if (min >= column.maxWidth) return min;
150 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
186 if (min >= column.maxWidth) return min;
187 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
190 if (min >= column.maxWidth) return min;
191 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)));
/third_party/flutter/skia/modules/skparagraph/src/
DTextWrapper.cpp10 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters) { in lookAhead() argument
15 if (fWords.width() + fClusters.width() + cluster->width() > maxWidth) { in lookAhead()
22 if (cluster->width() > maxWidth) { in lookAhead()
24 auto delta = maxWidth - (fWords.width() + fClusters.width()); in lookAhead()
39 if (nextWordLength > maxWidth) { in lookAhead()
142 SkScalar maxWidth, in breakTextIntoLines() argument
158 lookAhead(maxWidth, end); in breakTextIntoLines()
176 maxWidth != std::numeric_limits<SkScalar>::max() && in breakTextIntoLines()
DTextLine.cpp134 void TextLine::format(TextAlign effectiveAlign, SkScalar maxWidth) { in format() argument
135 SkScalar delta = maxWidth - this->width(); in format()
141 this->justify(maxWidth); in format()
392 void TextLine::justify(SkScalar maxWidth) { in justify() argument
416 SkScalar step = (maxWidth - textLen) / whitespacePatches; in justify()
420 auto ghostShift = maxWidth - this->fAdvance.fX; in justify()
445 SkAssertResult(SkScalarNearlyEqual(shift, maxWidth - textLen)); in justify()
449 this->fAdvance.fX = maxWidth; in justify()
452 void TextLine::createEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool) { in createEllipsis() argument
458 …true, false, [this, &width, ellipsis, maxWidth](const Cluster* cluster, ClusterIndex index, bool l… in createEllipsis()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp1082 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTest() local
1137 const deUint64 vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTest()
1141 Image discardableImage (context, maxWidth, 1u, format); in makeTessellationEvaluationFrameBufferTest()
1145 std::vector<tcu::Vec4> data (2u * maxWidth, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTest()
1146 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTest()
1164 gl.viewport(0, 0, maxWidth, 1u); in makeTessellationEvaluationFrameBufferTest()
1167 const deUint64 imageResultSize = getFormatSizeInBytes(format) * maxWidth; in makeTessellationEvaluationFrameBufferTest()
1171 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width)) in makeTessellationEvaluationFrameBufferTest()
1267 const deUint32 maxWidth = getMaxWidth(); in makeGeometryFrameBufferTest() local
1321 const deUint64 vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeGeometryFrameBufferTest()
[all …]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHdmxTests.java45 assertEquals(7, hdmxTable.maxWidth(0)); in testBasicHdmx()
46 assertEquals(28, hdmxTable.maxWidth(18)); in testBasicHdmx()
78 int x = hdmxTable.maxWidth(19); in testHdmxBounds()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHdmxTests.java45 assertEquals(7, hdmxTable.maxWidth(0)); in testBasicHdmx()
46 assertEquals(28, hdmxTable.maxWidth(18)); in testBasicHdmx()
78 int x = hdmxTable.maxWidth(19); in testHdmxBounds()
/third_party/typescript/tests/cases/compiler/
DunknownSymbolOffContextualType1.ts18 var maxWidth = widths.reduce(function (a, b) { variable
21 return maxWidth;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2559 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2663 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2667 …Image discardableImage (context, maxWidth, 1u, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BI… in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2671 std::vector<tcu::Vec4> data (2u * maxWidth, Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2672 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2686 …buffer (makeFramebuffer(vk, device, *renderPass, discardableImage.getImageView(), maxWidth, 1u)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2687 const VkViewport viewport = makeViewport(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2688 const VkRect2D scissor = makeRect2D(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2689 const vk::VkDeviceSize imageResultSize = tcu::getPixelSize(vk::mapVkFormat(format)) * maxWidth; in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2693 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Doverflow_box_test.dart19 maxWidth: 100.0,
37 maxWidth: 2.0,
47 'maxWidth: 2.0',

1234567