Home
last modified time | relevance | path

Searched refs:RSBackgroundColorDrawable (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_property_drawable_background.h84 class RSBackgroundColorDrawable : public RSPropertyDrawable {
86 RSBackgroundColorDrawable(std::shared_ptr<Drawing::DrawCmdList>&& drawCmdList) in RSBackgroundColorDrawable() function
89 RSBackgroundColorDrawable() = default;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_background_test.cpp158 HWTEST_F(RSRSBinarizationDrawableTest, RSBackgroundColorDrawable, TestSize.Level1)
162 std::shared_ptr<RSDrawable> drawable = DrawableV2::RSBackgroundColorDrawable::OnGenerate(node);
165 ASSERT_NE(DrawableV2::RSBackgroundColorDrawable::OnGenerate(node), nullptr);
169 ASSERT_NE(DrawableV2::RSBackgroundColorDrawable::OnGenerate(node), nullptr);
172 ASSERT_NE(DrawableV2::RSBackgroundColorDrawable::OnGenerate(node), nullptr);
179 ASSERT_NE(DrawableV2::RSBackgroundColorDrawable::OnGenerate(node), nullptr);
181 ASSERT_NE(DrawableV2::RSBackgroundColorDrawable::OnGenerate(node), nullptr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_property_drawable_bounds_geometry.h386 class RSBackgroundColorDrawable : public RSBackgroundDrawable {
388 explicit RSBackgroundColorDrawable(Drawing::Color color) : RSBackgroundDrawable() in RSBackgroundColorDrawable() function
392 ~RSBackgroundColorDrawable() override = default;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_background.cpp210 RSDrawable::Ptr RSBackgroundColorDrawable::OnGenerate(const RSRenderNode& node) in OnGenerate()
212 if (auto ret = std::make_shared<RSBackgroundColorDrawable>(); ret->OnUpdate(node)) { in OnGenerate()
218 bool RSBackgroundColorDrawable::OnUpdate(const RSRenderNode& node) in OnUpdate()
H A Drs_drawable.cpp223 RSBackgroundColorDrawable::OnGenerate, // BACKGROUND_COLOR,
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_bounds_geometry_test.cpp1186 RSBackgroundColorDrawable::Generate(content);
1189 RSBackgroundColorDrawable::Generate(content);
1204 RSBackgroundColorDrawable drawable(color);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspropertydrawableboundsgeometry_fuzzer/
H A Drspropertydrawableboundsgeometry_fuzzer.cpp506 auto rsBackgroundColorDrawable = std::make_shared<RSBackgroundColorDrawable>(c); in DoRSBackgroundColorDrawable()
509 RSBackgroundColorDrawable::Generate(content); in DoRSBackgroundColorDrawable()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp942 RSPropertyDrawable::DrawablePtr RSBackgroundColorDrawable::Generate(const RSRenderContent& content) in Generate()
950 return std::make_unique<RSBackgroundColorDrawable>(bgColor.AsArgbInt()); in Generate()
953 bool RSBackgroundColorDrawable::Update(const RSRenderContent& content) in Update()
H A Drs_property_drawable.cpp211 RSBackgroundColorDrawable::Generate, // BACKGROUND_COLOR