Home
last modified time | relevance | path

Searched refs:GetAlphaType (Results 1 - 25 of 91) sorted by relevance

1234

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/
H A Dpixmap.cpp41 AlphaType Pixmap::GetAlphaType() const in GetAlphaType() function in OHOS::Rosen::Drawing::Pixmap
43 return pixmapImplPtr_->GetAlphaType(); in GetAlphaType()
H A Dbitmap.cpp59 AlphaType Bitmap::GetAlphaType() const in GetAlphaType() function in OHOS::Rosen::Drawing::Bitmap
61 return bmpImplPtr->GetAlphaType(); in GetAlphaType()
144 return {imageInfo.GetColorType(), imageInfo.GetAlphaType()}; in GetFormat()
H A Dimage.cpp141 AlphaType Image::GetAlphaType() const in GetAlphaType() function in OHOS::Rosen::Drawing::Image
143 return imageImplPtr->GetAlphaType(); in GetAlphaType()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_raw_test.cpp68 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
104 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
139 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
169 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
418 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
448 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
478 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
508 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
H A Dimage_source_wbmp_test.cpp67 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in HWTEST_F()
97 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in HWTEST_F()
127 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in HWTEST_F()
157 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in HWTEST_F()
H A Dimage_source_bmp_test.cpp66 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
101 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
136 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
165 ASSERT_EQ(pixelMap->GetAlphaType(), AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_bitmap.cpp115 return static_cast<OH_Drawing_AlphaFormat>(bitmap->GetAlphaType()); in OH_Drawing_BitmapGetAlphaFormat()
138 cImageInfo->alphaType = static_cast<OH_Drawing_AlphaFormat>(imageInfo.GetAlphaType()); in OH_Drawing_BitmapGetImageInfo()
H A Ddrawing_image.cpp88 cImageInfo->alphaType = static_cast<OH_Drawing_AlphaFormat>(imageInfo.GetAlphaType()); in OH_Drawing_ImageGetImageInfo()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/
H A Dbitmap.h54 AlphaType GetAlphaType() const;
259 out += " alphaType:" + std::to_string(static_cast<int>(bmpImplPtr->GetAlphaType())); in Dump()
H A Dpixmap.h32 AlphaType GetAlphaType() const;
H A Dimage.h366 AlphaType GetAlphaType() const;
458 out += " alphaType:" + std::to_string(static_cast<int>(GetAlphaType())); in Dump()
H A Dimage_info.h71 AlphaType GetAlphaType() const in GetAlphaType() function in OHOS::Rosen::Drawing::ImageInfo
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dpixmap_impl.h34 virtual AlphaType GetAlphaType() const = 0;
H A Dbitmap_impl.h43 virtual AlphaType GetAlphaType() const = 0;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_pixmap.h42 AlphaType GetAlphaType() const override;
H A Dskia_pixmap.cpp56 AlphaType SkiaPixmap::GetAlphaType() const in GetAlphaType() function in OHOS::Rosen::Drawing::SkiaPixmap
/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_pixel_map.h29 MOCK_METHOD(AlphaType, GetAlphaType, (), (const override));
/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/
H A Dsk_image_chain_unittest.cpp228 static_cast<SkAlphaType>(srcPixelMap->GetAlphaType())); in HWTEST_F()
261 static_cast<SkAlphaType>(srcPixelMap->GetAlphaType())); in HWTEST_F()
292 static_cast<SkAlphaType>(srcPixelMap->GetAlphaType())); in HWTEST_F()
323 static_cast<SkAlphaType>(srcPixelMap->GetAlphaType())); in HWTEST_F()
354 static_cast<SkAlphaType>(srcPixelMap->GetAlphaType())); in HWTEST_F()
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Dimage_converter.cpp68 SkAlphaType alphaType = ImageConverter::AlphaTypeToSkAlphaType(pixelMap->GetAlphaType()); in PixelMapToBitmap()
130 Rosen::Drawing::AlphaType alphaType = ImageConverter::AlphaTypeToAlphaType(pixelMap->GetAlphaType());
H A Dimage_source_preview.h96 AlphaType GetAlphaType() in GetAlphaType() function in OHOS::Media::PixelMap
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map_parcel.cpp177 if (!data.WriteInt32(static_cast<int32_t>(pixelMap->GetAlphaType()))) { in WriteImageInfo()
178 IMAGE_LOGE("write pixel map alpha type:[%{public}d] to parcel failed.", pixelMap->GetAlphaType()); in WriteImageInfo()
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dpixel_map_preview.cpp80 AlphaType PixelMapPreview::GetAlphaType() const in GetAlphaType() function in OHOS::Ace::PixelMapPreview
H A Dpixel_map_preview.h36 AlphaType GetAlphaType() const override;
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dpixel_map_ohos.h39 AlphaType GetAlphaType() const override;
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/pixmap_fuzzer/
H A Dpixmap_fuzzer.cpp65 pix.GetAlphaType(); in PixmapFuzzTest000()

Completed in 16 milliseconds

1234