/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | wrap_test.dart | 25 SizedBox(width: 300.0, height: 100.0), 26 SizedBox(width: 300.0, height: 100.0), 27 SizedBox(width: 300.0, height: 100.0), 28 SizedBox(width: 300.0, height: 100.0), 44 SizedBox(width: 300.0, height: 100.0), 45 SizedBox(width: 300.0, height: 100.0), 46 SizedBox(width: 300.0, height: 100.0), 47 SizedBox(width: 300.0, height: 100.0), 63 SizedBox(width: 300.0, height: 100.0), 64 SizedBox(width: 300.0, height: 100.0), [all …]
|
D | list_view_correction_test.dart | 18 Container(height: 400.0, child: const Text('1')), 19 Container(height: 400.0, child: const Text('2')), 20 Container(height: 400.0, child: const Text('3')), 21 Container(height: 400.0, child: const Text('4')), 22 Container(height: 400.0, child: const Text('5')), 23 Container(height: 400.0, child: const Text('6')), 41 Container(height: 200.0, child: const Text('1')), 42 Container(height: 400.0, child: const Text('2')), 43 Container(height: 400.0, child: const Text('3')), 44 Container(height: 400.0, child: const Text('4')), [all …]
|
D | column_test.dart | 20 // top edges should be at 0, 100, 500, child2's height should be 400. 25 Container(key: child0Key, width: 100.0, height: 100.0), 26 Expanded(child: Container(key: child1Key, width: 100.0, height: 100.0)), 27 Container(key: child2Key, width: 100.0, height: 100.0), 37 expect(renderBox.size.height, equals(600.0)); 41 expect(renderBox.size.height, equals(100.0)); 47 expect(renderBox.size.height, equals(400.0)); 53 expect(renderBox.size.height, equals(100.0)); 71 Container(key: child0Key, width: 100.0, height: 100.0), 72 Container(key: child1Key, width: 100.0, height: 100.0), [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrRectanizer_pow2.cpp | 10 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument 12 (unsigned)height > (unsigned)this->height()) { in addRect() 16 int32_t area = width * height; // computed here since height will be modified in addRect() 18 height = GrNextPow2(height); in addRect() 19 if (height < kMIN_HEIGHT_POW2) { in addRect() 20 height = kMIN_HEIGHT_POW2; in addRect() 23 Row* row = &fRows[HeightToRowIndex(height)]; in addRect() 24 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); in addRect() 27 if (!this->canAddStrip(height)) { in addRect() 30 this->initRow(row, height); in addRect() [all …]
|
/third_party/skia/src/gpu/ |
D | GrRectanizerPow2.cpp | 10 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument 12 (unsigned)height > (unsigned)this->height()) { in addRect() 16 int32_t area = width * height; // computed here since height will be modified in addRect() 18 height = GrNextPow2(height); in addRect() 19 if (height < kMIN_HEIGHT_POW2) { in addRect() 20 height = kMIN_HEIGHT_POW2; in addRect() 23 Row* row = &fRows[HeightToRowIndex(height)]; in addRect() 24 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height); in addRect() 27 if (!this->canAddStrip(height)) { in addRect() 30 this->initRow(row, height); in addRect() [all …]
|
/third_party/boost/libs/gil/test/extension/io/ |
D | targa_read_test.cpp | 79 typename rgb8_image_t::y_coord_t height = view( img ).height(); in BOOST_AUTO_TEST_CASE() local 82 BOOST_CHECK_EQUAL( height, 124 ); in BOOST_AUTO_TEST_CASE() 85 BOOST_CHECK( view( img )(0, height-1) == rgb8_pixel_t(248, 0, 0) ); in BOOST_AUTO_TEST_CASE() 86 BOOST_CHECK( view( img )(width-1, height-1) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE() 97 typename rgb8_image_t::y_coord_t height = view( img ).height(); in BOOST_AUTO_TEST_CASE() local 100 BOOST_CHECK_EQUAL( height, 124 ); in BOOST_AUTO_TEST_CASE() 103 BOOST_CHECK( view( img )(0, height-1) == rgb8_pixel_t(248, 0, 0) ); in BOOST_AUTO_TEST_CASE() 104 BOOST_CHECK( view( img )(width-1, height-1) == rgb8_pixel_t(248, 0, 248) ); in BOOST_AUTO_TEST_CASE() 117 typename rgba8_image_t::y_coord_t height = view( img ).height(); in BOOST_AUTO_TEST_CASE() local 120 BOOST_CHECK_EQUAL( height, 124 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/gil/test/core/image_processing/ |
D | threshold_truncate.cpp | 17 int height = 4; variable 20 gil::gray8_image_t original_gray(width, height), threshold_gray(width, height), 21 expected_gray(width, height); 23 gil::rgb8_image_t original_rgb(width, height), threshold_rgb(width, height), 24 expected_rgb(width, height); 31 original_gray.height() / 2), gil::gray8_pixel_t(50)); in fill_original_gray() 32 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, original_gray.height() / 2, in fill_original_gray() 33 original_gray.width(), original_gray.height() / 2), gil::gray8_pixel_t(150)); in fill_original_gray() 41 original_rgb.height() / 2), gil::rgb8_pixel_t(50, 85, 135)); in fill_original_rgb() 42 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, original_rgb.height() / 2, in fill_original_rgb() [all …]
|
D | threshold_binary.cpp | 17 int height = 4; variable 20 gil::gray8_image_t original_gray(width, height), threshold_gray(width, height), 21 expected_gray(width, height); 23 gil::rgb8_image_t original_rgb(width, height), threshold_rgb(width, height), 24 expected_rgb(width, height); 32 original_gray.height() / 2), gil::gray8_pixel_t(50)); in fill_original_gray() 33 gil::fill_pixels(gil::subimage_view(gil::view(original_gray), 0, original_gray.height() / 2, in fill_original_gray() 34 original_gray.width(), original_gray.height() / 2), gil::gray8_pixel_t(150)); in fill_original_gray() 42 original_rgb.height() / 2), gil::rgb8_pixel_t(50, 155, 115)); in fill_original_rgb() 43 gil::fill_pixels(gil::subimage_view(gil::view(original_rgb), 0, original_rgb.height() / 2, in fill_original_rgb() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | tpeldsp.c | 35 int stride, int width, int height) in put_tpel_pixels_mc00_c() argument 39 put_pixels2_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 42 put_pixels4_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 45 put_pixels8_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 48 put_pixels16_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 54 int stride, int width, int height) in put_tpel_pixels_mc10_c() argument 58 for (i = 0; i < height; i++) { in put_tpel_pixels_mc10_c() 68 int stride, int width, int height) in put_tpel_pixels_mc20_c() argument 72 for (i = 0; i < height; i++) { in put_tpel_pixels_mc20_c() 82 int stride, int width, int height) in put_tpel_pixels_mc01_c() argument [all …]
|
D | snow_dwt.c | 213 int width, int height, int stride) in spatial_decompose53i() argument 216 DWTELEM *b0 = buffer + avpriv_mirror(-2 - 1, height - 1) * stride; in spatial_decompose53i() 217 DWTELEM *b1 = buffer + avpriv_mirror(-2, height - 1) * stride; in spatial_decompose53i() 219 for (y = -2; y < height; y += 2) { in spatial_decompose53i() 220 DWTELEM *b2 = buffer + avpriv_mirror(y + 1, height - 1) * stride; in spatial_decompose53i() 221 DWTELEM *b3 = buffer + avpriv_mirror(y + 2, height - 1) * stride; in spatial_decompose53i() 223 if (y + 1 < (unsigned)height) in spatial_decompose53i() 225 if (y + 2 < (unsigned)height) in spatial_decompose53i() 228 if (y + 1 < (unsigned)height) in spatial_decompose53i() 230 if (y + 0 < (unsigned)height) in spatial_decompose53i() [all …]
|
D | nuv.c | 40 int width, height; member 76 static void copy_frame(AVFrame *f, const uint8_t *src, int width, int height) in copy_frame() argument 81 f->format, width, height, 1); in copy_frame() 83 f->format, width, height); in copy_frame() 117 static int codec_reinit(AVCodecContext *avctx, int width, int height, in codec_reinit() argument 124 height = FFALIGN(height, 2); in codec_reinit() 127 if (width != c->width || height != c->height) { in codec_reinit() 129 int64_t buf_size = height * (int64_t)width * 3 / 2 in codec_reinit() 134 if ((ret = ff_set_dimensions(avctx, width, height)) < 0) in codec_reinit() 137 c->height = height; in codec_reinit() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_btree_navigator.h | 176 int height = height_ = tree->height(); in Init() local 178 node_[height] = tree; in Init() 179 index_[height] = static_cast<uint8_t>(index); in Init() 180 while (--height >= 0) { in Init() 182 node_[height] = tree; in Init() 184 index_[height] = static_cast<uint8_t>(index); in Init() 192 int height = height_; in Seek() local 193 CordRepBtree* edge = node_[height]; in Seek() 196 index_[height] = static_cast<uint8_t>(index.index); in Seek() 197 while (--height >= 0) { in Seek() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_rescale_enc.c | 50 int width, int height) { in AdjustAndCheckRectangle() argument 53 if (width <= 0 || height <= 0) return 0; in AdjustAndCheckRectangle() 55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle() 68 dst->y, dst->y_stride, dst->width, dst->height); in WebPPictureCopy() 70 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 72 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy() 80 4 * dst->width, dst->height); in WebPPictureCopy() 94 int left, int top, int width, int height, in WebPPictureView() argument 99 if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0; in WebPPictureView() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_rescale_enc.c | 50 int width, int height) { in AdjustAndCheckRectangle() argument 53 if (width <= 0 || height <= 0) return 0; in AdjustAndCheckRectangle() 55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle() 68 dst->y, dst->y_stride, dst->width, dst->height); in WebPPictureCopy() 70 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 72 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy() 80 4 * dst->width, dst->height); in WebPPictureCopy() 94 int left, int top, int width, int height, in WebPPictureView() argument 99 if (!AdjustAndCheckRectangle(src, &left, &top, width, height)) return 0; in WebPPictureView() [all …]
|
/third_party/boost/libs/gil/test/extension/io/targa/ |
D | targa_read_test.cpp | 59 typename gil::rgb8_image_t::y_coord_t height = gil::view(img).height(); in test_read_reference_images() local 62 BOOST_TEST_EQ(height, 124); in test_read_reference_images() 65 BOOST_TEST_EQ(gil::view(img)(0, height - 1), gil::rgb8_pixel_t(248, 0, 0)); in test_read_reference_images() 66 BOOST_TEST_EQ(gil::view(img)(width - 1, height - 1), gil::rgb8_pixel_t(248, 0, 248)); in test_read_reference_images() 76 typename gil::rgb8_image_t::y_coord_t height = gil::view(img).height(); in test_read_reference_images() local 79 BOOST_TEST_EQ(height, 124); in test_read_reference_images() 82 BOOST_TEST_EQ(gil::view(img)(0, height - 1), gil::rgb8_pixel_t(248, 0, 0)); in test_read_reference_images() 83 BOOST_TEST_EQ(gil::view(img)(width - 1, height - 1), gil::rgb8_pixel_t(248, 0, 248)); in test_read_reference_images() 95 typename gil::rgba8_image_t::y_coord_t height = gil::view(img).height(); in test_read_reference_images() local 98 BOOST_TEST_EQ(height, 124); in test_read_reference_images() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/swig/ |
D | libwebp.py | 135 def wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor): argument 137 return _libwebp.wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor) 139 def wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, stride, quality_factor): argument 141 return _libwebp.wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, stride, quality_factor) 143 def wrap_WebPEncodeRGBA(rgb, unused1, unused2, width, height, stride, quality_factor): argument 145 … return _libwebp.wrap_WebPEncodeRGBA(rgb, unused1, unused2, width, height, stride, quality_factor) 147 def wrap_WebPEncodeBGRA(rgb, unused1, unused2, width, height, stride, quality_factor): argument 149 … return _libwebp.wrap_WebPEncodeBGRA(rgb, unused1, unused2, width, height, stride, quality_factor) 151 def wrap_WebPEncodeLosslessRGB(rgb, unused1, unused2, width, height, stride): argument 153 return _libwebp.wrap_WebPEncodeLosslessRGB(rgb, unused1, unused2, width, height, stride) [all …]
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp.py | 131 def wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor): argument 133 return _libwebp.wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor) 135 def wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, stride, quality_factor): argument 137 return _libwebp.wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, stride, quality_factor) 139 def wrap_WebPEncodeRGBA(rgb, unused1, unused2, width, height, stride, quality_factor): argument 141 … return _libwebp.wrap_WebPEncodeRGBA(rgb, unused1, unused2, width, height, stride, quality_factor) 143 def wrap_WebPEncodeBGRA(rgb, unused1, unused2, width, height, stride, quality_factor): argument 145 … return _libwebp.wrap_WebPEncodeBGRA(rgb, unused1, unused2, width, height, stride, quality_factor) 147 def wrap_WebPEncodeLosslessRGB(rgb, unused1, unused2, width, height, stride): argument 149 return _libwebp.wrap_WebPEncodeLosslessRGB(rgb, unused1, unused2, width, height, stride) [all …]
|
/third_party/pixman/pixman/dither/ |
D | make-blue-noise.c | 83 int height; member 88 matrix_init (matrix_t *matrix, int width, int height) in matrix_init() argument 95 buffer = malloc_abc (width, height, sizeof (float)); in matrix_init() 102 matrix->height = height; in matrix_init() 111 *srcend = src->buffer + src->width * src->height, in matrix_copy() 114 if (dst->width != src->width || dst->height != src->height) in matrix_copy() 138 int height; member 143 pattern_init (pattern_t *pattern, int width, int height) in pattern_init() argument 150 buffer = malloc_abc (width, height, sizeof (bool_t)); in pattern_init() 157 pattern->height = height; in pattern_init() [all …]
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | imagedata.js | 1 function ImageData(arr, width, height) { argument 2 if (!width || height === 0) { 8 height = height || arr.length/(4*width); 15 value: height, 27 var height = arguments[1]; 28 var byteLength = 4 * width * height; 30 width, height); 37 var height = arguments[2]; 44 if (height && (height !== (arr / (width * 4)))) { 47 height = arr / (width * 4); [all …]
|
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | imagedata.js | 1 function ImageData(arr, width, height) { argument 2 if (!width || height === 0) { 8 height = height || arr.length/(4*width); 15 value: height, 27 var height = arguments[1]; 28 var byteLength = 4 * width * height; 30 width, height); 37 var height = arguments[2]; 44 if (height && (height !== (arr / (width * 4)))) { 47 height = arr / (width * 4); [all …]
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
D | loadimage.h | 19 size_t height, 29 size_t height, 39 size_t height, 49 size_t height, 59 size_t height, 69 size_t height, 79 size_t height, 89 size_t height, 99 size_t height, 109 size_t height, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/ |
D | loadimage.h | 19 size_t height, 29 size_t height, 39 size_t height, 49 size_t height, 59 size_t height, 69 size_t height, 79 size_t height, 89 size_t height, 99 size_t height, 109 size_t height, [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | TextureCopySplitter.cpp | 32 byteOffsetY / bytesPerRow * blockInfo.height, 0}; in ComputeTexelOffsets() 41 bufferOffset.y * bytesPerRow / blockInfo.height; in OffsetToFirstCopiedTexel() 107 ASSERT(texelOffset.y <= blockInfo.height); in Compute2DTextureCopySubresource() 144 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource() 192 copy.copies[0].copySize.height = copySize.height; in Compute2DTextureCopySubresource() 197 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource() 206 ASSERT(texelOffsetForCopy1.y <= blockInfo.height); in Compute2DTextureCopySubresource() 216 copy.copies[1].copySize.height = copySize.height; in Compute2DTextureCopySubresource() 221 copy.copies[1].bufferSize.height = copySize.height + texelOffsetForCopy1.y; in Compute2DTextureCopySubresource() 376 copy0.copySize.height = copySize.height - blockInfo.height; in Recompute3DTextureCopyRegionWithEmptyFirstRowAndEvenCopyHeight() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/ |
D | Image.hpp | 61 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format); 63 size_t ComputePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, const PixelS… 73 ClientBuffer(int width, int height, sw::Format format, void* buffer, size_t plane) in ClientBuffer() argument 74 : width(width), height(height), format(format), buffer(buffer), plane(plane) in ClientBuffer() 90 int height; member in egl::ClientBuffer 100 Image(Texture *parentTexture, GLsizei width, GLsizei height, GLint internalformat) in Image() argument 101 …: sw::Surface(parentTexture->getResource(), width, height, 1, 0, 1, gl::SelectInternalFormat(inter… in Image() 102 …width(width), height(height), depth(1), internalformat(internalformat), parentTexture(parentTextur… in Image() 110 …Image(Texture *parentTexture, GLsizei width, GLsizei height, GLsizei depth, int border, GLint inte… in Image() argument 111 …: sw::Surface(parentTexture->getResource(), width, height, depth, border, 1, gl::SelectInternalFor… in Image() [all …]
|
/third_party/libdrm/tests/etnaviv/ |
D | write_bmp.c | 49 unsigned int height; member 67 bmp_header_write(int fd, int width, int height, int bgra, int noflip, int alpha) in bmp_header_write() argument 71 .size = (width * height * 4) + in bmp_header_write() 78 .height = noflip ? -height : height, in bmp_header_write() 82 .data_size = 4 * width * height, in bmp_header_write() 104 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32() argument 114 bmp_header_write(fd, width, height, bgra, false, true); in bmp_dump32() 116 write(fd, buffer, width * height * 4); in bmp_dump32() 120 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32_noflip() argument 130 bmp_header_write(fd, width, height, bgra, true, true); in bmp_dump32_noflip() [all …]
|