/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/bitmap/ |
H A D | bitmap_test.cpp | 67 BitmapFormat bitmapFormat = { ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE }; 98 BitmapFormat bitmapFormat = { ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE }; 101 bitmapFormat = { COLORTYPE_UNKNOWN, ALPHATYPE_OPAQUE }; 123 imageInfo = {111, 450, ColorType::COLORTYPE_UNKNOWN, AlphaType::ALPHATYPE_OPAQUE}; 241 ASSERT_EQ(AlphaType::ALPHATYPE_OPAQUE, bitmap->GetAlphaType()); 277 ImageInfo info = {w, h, ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE}; 320 ImageInfo info = { w, h, ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE }; 582 ASSERT_EQ(AlphaType::ALPHATYPE_OPAQUE, bitmap->GetFormat().alphaType); 600 ASSERT_EQ(AlphaType::ALPHATYPE_OPAQUE, bitmap->GetFormat().alphaType); 666 imageInfo = {500, 500, ColorType::COLORTYPE_UNKNOWN, AlphaType::ALPHATYPE_OPAQUE}; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/image/ |
H A D | image_test.cpp | 302 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 320 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 338 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 355 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 399 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 417 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 482 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 506 bitmapFormat = { COLORTYPE_ALPHA_8, ALPHATYPE_OPAQUE }; 543 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | surface_test.cpp | 79 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 145 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 177 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 210 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 229 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_image_test.cpp | 103 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 132 …EXPECT_TRUE(bitmap->Build(151, 150, { ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE })… 153 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 175 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 193 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 210 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 229 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 325 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
H A D | skia_surface_test.cpp | 56 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 133 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 195 ImageInfo info{-1, -1, ColorType::COLORTYPE_ALPHA_8, AlphaType::ALPHATYPE_OPAQUE}; 252 BitmapFormat bitmapFormat { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
H A D | skia_image_info_test.cpp | 77 ASSERT_TRUE(SkiaImageInfo::ConvertToSkAlphaType(AlphaType::ALPHATYPE_OPAQUE) 134 == AlphaType::ALPHATYPE_OPAQUE);
|
H A D | skia_color_space_test.cpp | 77 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
H A D | skia_pixmap_test.cpp | 66 EXPECT_TRUE(ret != AlphaType::ALPHATYPE_OPAQUE);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_fly_out_shader_filter_test.cpp | 82 …eInfo imageInfo(1, 1, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE); 119 …eInfo imageInfo(0, 1, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE); 150 …eInfo imageInfo(1, 0, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE); 200 …eInfo imageInfo(1, 0, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE);
|
H A D | rs_distortion_shader_filter_test.cpp | 77 …eInfo imageInfo(1, 1, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE); 120 …eInfo imageInfo(0, 1, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE); 151 …eInfo imageInfo(1, 0, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE);
|
H A D | rs_spherize_effect_filter_test.cpp | 63 …eInfo imageInfo(1, 1, Drawing::ColorType::COLORTYPE_ALPHA_8, Drawing::AlphaType::ALPHATYPE_OPAQUE);
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | surface_draw.cpp | 202 Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DoDraw() 221 …mapFormat format { Drawing::ColorType::COLORTYPE_RGBA_8888, Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DoDraw() 251 Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DoDraw() 316 Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DoDrawImageRect() 395 Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DrawMasking() 402 Drawing::AlphaType::ALPHATYPE_OPAQUE }; in DrawMasking()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_image_info.h | 81 case ALPHATYPE_OPAQUE: in ConvertToSkAlphaType() 136 return ALPHATYPE_OPAQUE; in ConvertToAlphaType()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | image_test.cpp | 35 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; in TestDrawImage() 69 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; in TestDrawImageRect()
|
H A D | bitmap_test.cpp | 34 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; in TestDrawBitmap()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/ |
H A D | color_space_test.cpp | 76 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE }; 174 BitmapFormat format { COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/pointer_render/ |
H A D | rs_pointer_render_manager_test.cpp | 65 Drawing::ImageInfo{200, 200, Drawing::COLORTYPE_N32, Drawing::ALPHATYPE_OPAQUE }; 110 Drawing::ImageInfo{200, 200, Drawing::COLORTYPE_N32, Drawing::ALPHATYPE_OPAQUE };
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsmarshallinghelper_fuzzer/ |
H A D | rsmarshallinghelper_fuzzer.cpp | 250 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in DoMarshallingHelper004() 297 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in DoMarshallingHelper006() 327 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in DoMarshallingHelper007() 358 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in DoMarshallingHelper008() 467 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in DoMarshallingHelper012()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/image_fuzzer/ |
H A D | image_fuzzer.cpp | 41 BitmapFormat bitmapFormat = { COLORTYPE_ARGB_4444, ALPHATYPE_OPAQUE }; in BuildImageFuzzTest()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_bitmap.h | 39 ALPHATYPE_OPAQUE, enumerator
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_ashmem_test.cpp | 151 Drawing::ImageInfo(width, height, Drawing::COLORTYPE_N32, Drawing::ALPHATYPE_OPAQUE); in CreateDrawingImage() 201 Drawing::ImageInfo(width, height, Drawing::COLORTYPE_RGBA_8888, Drawing::ALPHATYPE_OPAQUE); in CreatePixelMap()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_rs.cpp | 237 BitmapFormat format {COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE}; in TestDrawBitmap() 255 BitmapFormat format {COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE}; in TestDrawImage() 289 BitmapFormat format {COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE}; in TestDrawImageRect() 523 BitmapFormat format {COLORTYPE_RGBA_8888, ALPHATYPE_OPAQUE}; in DoDraw()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | offscreen_canvas_paint_method.cpp | 128 RSBitmapFormat format { RSColorType::COLORTYPE_BGRA_8888, RSAlphaType::ALPHATYPE_OPAQUE }; in GetImageData() 192 … (mimeType == IMAGE_JPEG) ? RSAlphaType::ALPHATYPE_OPAQUE : RSAlphaType::ALPHATYPE_UNPREMUL }); in ToDataURL()
|
H A D | canvas_paint_method.cpp | 233 RSBitmapFormat format { RSColorType::COLORTYPE_BGRA_8888, RSAlphaType::ALPHATYPE_OPAQUE }; in GetImageData() 332 … (mimeType == IMAGE_JPEG) ? RSAlphaType::ALPHATYPE_OPAQUE : RSAlphaType::ALPHATYPE_UNPREMUL }; in ToDataURL() 382 format = { RSColorType::COLORTYPE_BGRA_8888, RSAlphaType::ALPHATYPE_OPAQUE }; in DrawBitmap()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | test_base.cpp | 43 Drawing::BitmapFormat format {Drawing::COLORTYPE_RGBA_8888, Drawing::ALPHATYPE_OPAQUE}; in CreateBitmapCanvas()
|