Lines Matching refs:height
97 int height = 100;
102 OH_Drawing_BitmapBuild(bitmap1, width, height, &cFormat);
114 EXPECT_TRUE(height_ == height || height_ == 0);
126 EXPECT_TRUE(height_ == height || height_ == 0);
145 int height = 100;
147 uint8_t *pixels = new uint8_t[width * height * 4];
148 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_ALPHA_8, ALPHA_FORMAT_UNKNOWN};
162 // 5. OH_Drawing_BitmapCreateFromPixels the height of the first parameter OH_Drawing_Image_Info is 0
164 imageInfo.height = 0;
186 int height = 48;
188 uint8_t *pixels = new uint8_t[width * height * 4];
189 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_ALPHA_8, ALPHA_FORMAT_UNKNOWN};
191 uint8_t *pixels1 = new uint8_t[47 * height * 4];
201 uint8_t *pixels3 = new uint8_t[width * height * 4];
224 int height = 48;
226 uint8_t *pixels = new uint8_t[width * height * 4];
227 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_ALPHA_8, ALPHA_FORMAT_UNKNOWN};
261 int height = 1000000;
266 OH_Drawing_BitmapBuild(bitmap1, width, height, &cFormat);
278 EXPECT_TRUE(height_ == height || height_ == 0);
290 EXPECT_TRUE(height_ == height || height_ == 0);
323 int height = 2160;
328 OH_Drawing_BitmapBuild(bitmap1, width, height, &cFormat);
340 EXPECT_TRUE(height_ == height || height_ == 0);
352 EXPECT_TRUE(height_ == height || height_ == 0);
371 const unsigned int height = 500;
391 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
415 const unsigned int height = 500;
432 OH_Drawing_BitmapBuild(bitmap, 0, height, &bitmapFormat);
434 OH_Drawing_BitmapBuild(bitmap, width, height, nullptr);
449 const unsigned int height = 500;
469 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
486 OH_Drawing_BitmapBuild(bitmap2, width, height, &cFormat);
489 uint32_t rowBytes = width * height * 4;
495 OH_Drawing_BitmapBuild(bitmap3, width, height, &bitmapFormat);
512 const unsigned int height = 2160;
532 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
559 uint32_t height = 100;
560 OH_Drawing_BitmapBuild(cBitmap, width, height, &cFormat);
562 OH_Drawing_Image_Info imageInfo1{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
563 void *pixels1 = new uint32_t[width * height];
593 EXPECT_EQ(height, imageInfo->height);
612 uint32_t height = 100;
613 OH_Drawing_BitmapBuild(cBitmap, width, height, &cFormat);
669 uint32_t height = 2160;
670 OH_Drawing_BitmapBuild(cBitmap, width, height, &cFormat);
672 OH_Drawing_Image_Info imageInfo1{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
673 void *pixels1 = new uint32_t[width * height];
685 EXPECT_EQ(h, height);
703 EXPECT_EQ(height, imageInfo->height);
719 const unsigned int height = 500;
726 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
727 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
728 void *pixels = new uint32_t[width * height];
751 const unsigned int height = 500;
758 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
759 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
760 void *pixels = new uint32_t[width * height];
813 const unsigned int height = 500;
818 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
821 OH_Drawing_Image_Info imageInfo{1, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
822 void *pixels = new uint32_t[width * height];
840 OH_Drawing_Image_Info imageInfo4{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
845 OH_Drawing_Image_Info imageInfo5{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
850 OH_Drawing_Image_Info imageInfo6{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
865 const unsigned int height = 2160;
872 OH_Drawing_BitmapBuild(bitmap, width, height, &bitmapFormat);
873 OH_Drawing_Image_Info imageInfo{width, height, COLOR_FORMAT_RGBA_8888, ALPHA_FORMAT_UNPREMUL};
874 void *pixels = new uint32_t[width * height];