Lines Matching defs:width

144         uint32_t width = 200 + i * 10;
146 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
166 uint32_t width = 4096;
168 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
178 * @tc.desc: Test for getting width and height of an image with normal parameters.
188 constexpr uint32_t width = 200;
190 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
206 * @tc.desc: Test for getting width and height of an image with NULL parameters.
215 uint32_t width = 200;
217 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
230 * @tc.desc: Test for multiple calls of getting width and height of an image.
240 uint32_t width = 200 + i * 10;
242 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
256 * @tc.desc: Test for multiple calls of getting width and height of an boundary value image.
266 uint32_t width = 4096;
268 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
305 uint32_t width = 400;
308 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
330 uint32_t width = 400;
333 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
367 uint32_t width = rand() % 100 + 1;
369 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
389 // 2. OH_Drawing_ImageGetImageInfo creates OH_Drawing_Image_Info with width=-400 and height=-400
391 uint32_t width = -400;
394 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
413 // 2. OH_Drawing_ImageGetImageInfo creates OH_Drawing_Image_Info with width=maximum value and height=maximum value
415 uint32_t width = UINT32_MAX;
418 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);
437 // 2. OH_Drawing_ImageGetImageInfo creates OH_Drawing_Image_Info with width=maximum value and height=maximum value
439 uint32_t width = 4096;
442 OH_Drawing_BitmapBuild(bitmap, width, height, &cFormat);