Home
last modified time | relevance | path

Searched refs:maxExtent (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dslivers_appbar_floating_test.dart41 …final double max = bigHeight * 2.0 + TestDelegate().maxExtent - 600.0; // 600 is the height of the…
76 …position.animateTo(bigHeight - 600.0 + delegate.maxExtent, curve: Curves.linear, duration: const D…
79 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent), true);
80 …d.byType(Container), 0, Rect.fromLTWH(0.0, 600.0 - delegate.maxExtent, 800.0, delegate.maxExtent));
83 assert(delegate.maxExtent * 2.0 < 600.0); // make sure this fits on the test screen...
84 …position.animateTo(bigHeight - 600.0 + delegate.maxExtent * 2.0, curve: Curves.linear, duration: c…
87 verifyPaintPosition(key2, Offset(0.0, 600.0 - delegate.maxExtent * 2.0), true);
88 …ype(Container), 0, Rect.fromLTWH(0.0, 600.0 - delegate.maxExtent * 2.0, 800.0, delegate.maxExtent)…
89 verifyPaintPosition(key3, Offset(0.0, 600.0 - delegate.maxExtent), true);
95 …BoxPosition(tester, find.byType(Container), 0, Rect.fromLTWH(0.0, 0.0, 800.0, delegate.maxExtent));
[all …]
Dscrollbar_test.dart102 const double maxExtent = 100;
104 maxScrollExtent: maxExtent,
119 (maxExtent / viewportDimension).round(),
122 startingMetrics.copyWith(pixels: maxExtent - 0.01),
135 expect(rect.bottom <= maxExtent, true);
138 …ect.height, viewportDimension * viewportDimension / (viewportDimension + maxExtent), 0.001), true);
148 const double maxExtent = 100;
150 maxScrollExtent: maxExtent,
189 const double maxExtent = 100;
191 maxScrollExtent: maxExtent,
Dslivers_appbar_pinned_test.dart44 …final double max = bigHeight * 3.0 + TestDelegate().maxExtent * 2.0 - 600.0; // 600 is the height …
62 …testWidgets('Sliver appbars - toStringDeep of maxExtent that throws', (WidgetTester tester) async {
98 ' │ maxExtent: EXCEPTION (FlutterError)\n'
235 …final double max = bigHeight * 3.0 + TestDelegate().maxExtent * 2.0 - 600.0; // 600 is the height …
300 double get maxExtent => 200.0;
307 return Container(constraints: BoxConstraints(minHeight: minExtent, maxHeight: maxExtent));
318 double get maxExtent {
319 return shouldThrow ? throw FlutterError('Unavailable maxExtent') : 200.0;
329 return Container(constraints: BoxConstraints(minHeight: minExtent, maxHeight: maxExtent));
Dslivers_appbar_scrolling_test.dart35 …final double max = RenderBigSliver.height * 3.0 + TestDelegate().maxExtent * 2.0 - 600.0; // 600 i…
70 …position.animateTo(RenderBigSliver.height + delegate.maxExtent - 5.0, curve: Curves.linear, durati…
144 double get maxExtent => 200.0;
151 return Container(height: maxExtent);
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dsliver_persistent_header.dart34 /// Subclasses must implement [performLayout], [minExtent], and [maxExtent], and
49 double get maxExtent;
83 /// between the [maxExtent] and the current size. Zero means the header is
84 /// fully expanded, any greater number up to [maxExtent] means that the header
91 /// The render object will size itself to the larger of (a) the [maxExtent]
92 /// minus the child's intrinsic height and (b) the [maxExtent] minus the
114 /// `maxExtent` (which need not match the value returned by the [maxExtent]
119 void layoutChild(double scrollOffset, double maxExtent, { bool overlapsContent = false }) {
120 assert(maxExtent != null);
121 final double shrinkOffset = math.min(scrollOffset, maxExtent);
[all …]
Dsliver_fill.dart147 double maxExtent = constraints.remainingPaintExtent - math.min(constraints.overlap, 0.0);
150 extent = maxExtent;
155 maxExtent: extent,
172 if (maxExtent < extent)
173 maxExtent = extent;
174 if ((fillOverscroll ? maxExtent : extent) > childExtent) {
178 maxExtent: fillOverscroll ? maxExtent : extent,
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_formats.c147 VkExtent3D maxExtent; in get_image_format_properties() local
192 maxExtent.width = 16384; in get_image_format_properties()
193 maxExtent.height = 1; in get_image_format_properties()
194 maxExtent.depth = 1; in get_image_format_properties()
199 maxExtent.width = 16384; in get_image_format_properties()
200 maxExtent.height = 16384; in get_image_format_properties()
201 maxExtent.depth = 1; in get_image_format_properties()
206 maxExtent.width = 2048; in get_image_format_properties()
207 maxExtent.height = 2048; in get_image_format_properties()
208 maxExtent.depth = 2048; in get_image_format_properties()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c205 VkExtent3D maxExtent; in lvp_get_image_format_properties() local
232 maxExtent.width = max_2d_ext; in lvp_get_image_format_properties()
233 maxExtent.height = 1; in lvp_get_image_format_properties()
234 maxExtent.depth = 1; in lvp_get_image_format_properties()
239 maxExtent.width = max_2d_ext; in lvp_get_image_format_properties()
240 maxExtent.height = max_2d_ext; in lvp_get_image_format_properties()
241 maxExtent.depth = 1; in lvp_get_image_format_properties()
251 maxExtent.width = max_2d_ext; in lvp_get_image_format_properties()
252 maxExtent.height = max_2d_ext; in lvp_get_image_format_properties()
253maxExtent.depth = (1 << physical_device->pscreen->get_param(physical_device->pscreen, PIPE_CAP_MAX… in lvp_get_image_format_properties()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dflexible_space_bar.dart95 /// [FlexibleSpaceBar] when fully collapsed. `maxExtent` sets the maximum
108 double maxExtent,
116 maxExtent: maxExtent ?? currentExtent,
158 return -(settings.maxExtent - settings.currentExtent);
162 final double deltaExtent = settings.maxExtent - settings.minExtent;
175 final double deltaExtent = settings.maxExtent - settings.minExtent;
192 height: settings.maxExtent,
264 /// The required [toolbarOpacity], [minExtent], [maxExtent], [currentExtent],
270 @required this.maxExtent,
275 assert(maxExtent != null && maxExtent >= 0),
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c352 VkExtent3D maxExtent; in tu_get_image_format_properties() local
413 maxExtent.width = 16384; in tu_get_image_format_properties()
414 maxExtent.height = 1; in tu_get_image_format_properties()
415 maxExtent.depth = 1; in tu_get_image_format_properties()
420 maxExtent.width = 16384; in tu_get_image_format_properties()
421 maxExtent.height = 16384; in tu_get_image_format_properties()
422 maxExtent.depth = 1; in tu_get_image_format_properties()
427 maxExtent.width = 2048; in tu_get_image_format_properties()
428 maxExtent.height = 2048; in tu_get_image_format_properties()
429 maxExtent.depth = 2048; in tu_get_image_format_properties()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp119 if (imageFormatProps.maxExtent.width < imageInfo.extent.width || in validateImageInfo()
120 imageFormatProps.maxExtent.height < imageInfo.extent.height || in validateImageInfo()
121 imageFormatProps.maxExtent.depth < imageInfo.extent.depth) in validateImageInfo()
130 << imageFormatProps.maxExtent.width << ", " in validateImageInfo()
131 << imageFormatProps.maxExtent.height << ", " in validateImageInfo()
132 << imageFormatProps.maxExtent.depth in validateImageInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBase.cpp119 if (imageFormatProps.maxExtent.width < imageInfo.extent.width || in validateImageInfo()
120 imageFormatProps.maxExtent.height < imageInfo.extent.height || in validateImageInfo()
121 imageFormatProps.maxExtent.depth < imageInfo.extent.depth) in validateImageInfo()
130 << imageFormatProps.maxExtent.width << ", " in validateImageInfo()
131 << imageFormatProps.maxExtent.height << ", " in validateImageInfo()
132 << imageFormatProps.maxExtent.depth in validateImageInfo()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Ddraggable_scrollable_sheet.dart177 /// All parameters are required. The [minExtent] must be >= 0. The [maxExtent]
178 /// must be <= 1.0. The [extent] must be between [minExtent] and [maxExtent].
182 @required this.maxExtent,
188 assert(maxExtent != null),
190 assert(maxExtent <= 1.0),
193 assert(extent <= maxExtent),
194 assert(initialExtent <= maxExtent),
197 /// The current value of the extent, between [minExtent] and [maxExtent].
204 final double maxExtent;
219 …description.add('minExtent: $minExtent, extent: $extent, maxExtent: $maxExtent, initialExtent: $in…
[all …]
Dsliver_persistent_header.dart20 /// The `shrinkOffset` is a distance from [maxExtent] towards [minExtent]
23 /// of [maxExtent] in the main axis. When `shrinkOffset` equals the difference
24 /// between [maxExtent] and [minExtent] (a positive number), the contents will
41 /// This must return a value equal to or less than [maxExtent].
58 double get maxExtent;
77 /// different values for [minExtent], [maxExtent], [snapConfiguration], or
261 double get maxExtent => _element.widget.delegate.maxExtent;
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c463 pImageFormatProperties->maxExtent.width = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
464 pImageFormatProperties->maxExtent.height = 1; in get_image_format_properties()
465 pImageFormatProperties->maxExtent.depth = 1; in get_image_format_properties()
470 pImageFormatProperties->maxExtent.width = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
471 pImageFormatProperties->maxExtent.height = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
472 pImageFormatProperties->maxExtent.depth = 1; in get_image_format_properties()
477 pImageFormatProperties->maxExtent.width = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
478 pImageFormatProperties->maxExtent.height = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
479 pImageFormatProperties->maxExtent.depth = V3D_MAX_IMAGE_DIMENSION; in get_image_format_properties()
524 .maxExtent = { 0, 0, 0 }, in get_image_format_properties()
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1426 props->maxExtent.width = MIN2(props->maxExtent.width, max_width); in radv_check_modifier_support()
1427 props->maxExtent.height = MIN2(props->maxExtent.width, max_height); in radv_check_modifier_support()
1474 VkExtent3D maxExtent; in radv_get_image_format_properties() local
1507 maxExtent.width = 16384; in radv_get_image_format_properties()
1508 maxExtent.height = 1; in radv_get_image_format_properties()
1509 maxExtent.depth = 1; in radv_get_image_format_properties()
1514 maxExtent.width = 16384; in radv_get_image_format_properties()
1515 maxExtent.height = 16384; in radv_get_image_format_properties()
1516 maxExtent.depth = 1; in radv_get_image_format_properties()
1522 maxExtent.width = 8192; in radv_get_image_format_properties()
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Dflexible_space_bar_test.dart53 const double maxExtent = 300.0;
59 maxExtent: maxExtent,
101 expect(clipRect.size.height, maxExtent);
210 double get maxExtent => settings.maxExtent;
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c1001 VkExtent3D maxExtent; in anv_get_image_format_properties() local
1052 maxExtent.width = 16384; in anv_get_image_format_properties()
1053 maxExtent.height = 1; in anv_get_image_format_properties()
1054 maxExtent.depth = 1; in anv_get_image_format_properties()
1063 maxExtent.width = 16384; in anv_get_image_format_properties()
1064 maxExtent.height = 16384; in anv_get_image_format_properties()
1065 maxExtent.depth = 1; in anv_get_image_format_properties()
1071 maxExtent.width = 2048; in anv_get_image_format_properties()
1072 maxExtent.height = 2048; in anv_get_image_format_properties()
1073 maxExtent.depth = 2048; in anv_get_image_format_properties()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp182 Extent3D maxExtent; in ValidateTextureSize() local
185 maxExtent = {limits.v1.maxTextureDimension2D, limits.v1.maxTextureDimension2D, in ValidateTextureSize()
189 maxExtent = {limits.v1.maxTextureDimension3D, limits.v1.maxTextureDimension3D, in ValidateTextureSize()
196 DAWN_INVALID_IF(descriptor->size.width > maxExtent.width || in ValidateTextureSize()
197 descriptor->size.height > maxExtent.height || in ValidateTextureSize()
198 descriptor->size.depthOrArrayLayers > maxExtent.depthOrArrayLayers, in ValidateTextureSize()
200 &descriptor->size, &maxExtent); in ValidateTextureSize()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp1678 pImageFormatProperties->maxExtent.depth = 1; in getImageFormatProperties()
1684 pImageFormatProperties->maxExtent.width = 1 << (vk::MAX_IMAGE_LEVELS_1D - 1); in getImageFormatProperties()
1685 pImageFormatProperties->maxExtent.height = 1; in getImageFormatProperties()
1691 pImageFormatProperties->maxExtent.width = 1 << (vk::MAX_IMAGE_LEVELS_CUBE - 1); in getImageFormatProperties()
1692 pImageFormatProperties->maxExtent.height = 1 << (vk::MAX_IMAGE_LEVELS_CUBE - 1); in getImageFormatProperties()
1697 pImageFormatProperties->maxExtent.width = 1 << (vk::MAX_IMAGE_LEVELS_2D - 1); in getImageFormatProperties()
1698 pImageFormatProperties->maxExtent.height = 1 << (vk::MAX_IMAGE_LEVELS_2D - 1); in getImageFormatProperties()
1712 pImageFormatProperties->maxExtent.width = 1 << (vk::MAX_IMAGE_LEVELS_3D - 1); in getImageFormatProperties()
1713 pImageFormatProperties->maxExtent.height = 1 << (vk::MAX_IMAGE_LEVELS_3D - 1); in getImageFormatProperties()
1714 pImageFormatProperties->maxExtent.depth = 1 << (vk::MAX_IMAGE_LEVELS_3D - 1); in getImageFormatProperties()
/third_party/harfbuzz/src/
Dhb-ot-hhea-table.hh70 FWORD maxExtent; /* horizontal: Max(lsb + (xMax - xMin)), member
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hhea-table.hh70 FWORD maxExtent; /* horizontal: Max(lsb + (xMax - xMin)), member
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hhea-table.hh66 FWORD maxExtent; /* horizontal: Max(lsb + (xMax - xMin)), member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp269 const auto& maxExtent = formatProps.maxExtent; in checkSupport() local
271 …if (m_data.width > maxExtent.width || m_data.height > maxExtent.height || m_data.depth > maxExtent in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp269 const auto& maxExtent = formatProps.maxExtent; in checkSupport() local
271 …if (m_data.width > maxExtent.width || m_data.height > maxExtent.height || m_data.depth > maxExtent in checkSupport()

12345