Home
last modified time | relevance | path

Searched refs:FromArgbInt (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_shadow.h72 Color color_ = Color::FromArgbInt(DEFAULT_SPOT_COLOR);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_color.h50 static RSColor FromArgbInt(uint32_t rgba);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_filter.cpp54 MaterialParam materialParam = {radius, saturation, brightness, Color::FromArgbInt(colorValue)}; in CreateMaterialFilter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_effector_test.cpp142 EXPECT_TRUE(particle->GetColor() != Color::FromArgbInt(0x00000000));
243 EXPECT_TRUE(particle->GetColor() != Color::FromArgbInt(0x00000000));
305 EXPECT_TRUE(particle->GetColor() != Color::FromArgbInt(0x00000000));
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_canvas_node_test.cpp2527 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2540 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2553 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2566 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2579 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
3116 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetForegroundColor() == Color::FromArgbInt(colorVal…
3129 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetForegroundColor() == Color::FromArgbInt(colorVal…
3142 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetForegroundColor() == Color::FromArgbInt(colorVal…
3194 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetBorderColor() == Color::FromArgbInt(colorValue));
3207 …EXPECT_TRUE(canvasNode->GetStagingProperties().GetBorderColor() == Color::FromArgbInt(colorValue));
[all …]
H A Drs_node_test.cpp2661 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2674 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2687 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2700 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
2713 EXPECT_TRUE(rsNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(colorValue));
3698 EXPECT_TRUE(rsNode->GetStagingProperties().GetBorderColor() == Color::FromArgbInt(colorValue));
3711 EXPECT_TRUE(rsNode->GetStagingProperties().GetBorderColor() == Color::FromArgbInt(colorValue));
3724 EXPECT_TRUE(rsNode->GetStagingProperties().GetBorderColor() == Color::FromArgbInt(colorValue));
3736 rsNode->SetOutlineColor(Color::FromArgbInt(colorValue));
3749 rsNode->SetOutlineColor(Color::FromArgbInt(colorValue));
[all …]
H A Drs_surface_node_test.cpp992 …EXPECT_TRUE(surfaceNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(FIRST_COLOR…
1006 …EXPECT_TRUE(surfaceNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(SECOND_COLO…
1020 …EXPECT_TRUE(surfaceNode->GetStagingProperties().GetShadowColor() == Color::FromArgbInt(THIRD_COLOR…
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolor_fuzzer/
H A Drscolor_fuzzer.cpp121 RSColor::FromArgbInt(rgba); in DoHaveParameters()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsbasecommon_fuzzer/
H A Drsbasecommon_fuzzer.cpp104 (void)rscolor.FromArgbInt(rgba1); in RSColorFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1084 auto color = Color::FromArgbInt(colorValue); in SetEnvForegroundColor()
1196 auto color = Color::FromArgbInt(colorValue); in SetForegroundColor()
1202 auto color = Color::FromArgbInt(colorValue); in SetBackgroundColor()
1270 Vector4<Color> color(Color::FromArgbInt(left), Color::FromArgbInt(top), in SetBorderColor()
1271 Color::FromArgbInt(right), Color::FromArgbInt(bottom)); in SetBorderColor()
1717 auto color = Color::FromArgbInt(colorValue); in SetShadowColor()
2412 auto lightColor = Color::FromArgbInt(lightColorValue); in SetLightColor()
2485 auto colorBlend = Color::FromArgbInt(colorValue); in SetColorBlend()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_color.cpp108 RSColor RSColor::FromArgbInt(uint32_t argb) in FromArgbInt() function in OHOS::Rosen::RSColor
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_color_test.cpp185 auto color = RSColor::FromArgbInt(1);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_extractor.cpp275 …GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Color, SHADOW_COLOR, Color::FromArgbInt(DEFAULT_SPOT_COLOR), … in GetShadowColor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp545 Color ambientColor = Color::FromArgbInt(DEFAULT_AMBIENT_COLOR); in Draw()
H A Drs_properties_painter.cpp430 Color ambientColor = Color::FromArgbInt(DEFAULT_AMBIENT_COLOR); in DrawShadowInner()
H A Drs_properties.cpp2026 static const auto DEFAULT_SPOT_COLOR_VALUE = Color::FromArgbInt(DEFAULT_SPOT_COLOR); in GetShadowColor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp979 Color ambientColor = Color::FromArgbInt(DEFAULT_AMBIENT_COLOR); in DrawShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp2516 …Rosen::Vector4<Rosen::RSColor> color(Rosen::RSColor::FromArgbInt(value.leftColor.value_or(Color::B… in SetOuterBorderColor()
2517 Rosen::RSColor::FromArgbInt(value.topColor.value_or(Color::BLACK).GetValue()), in SetOuterBorderColor()
2518 Rosen::RSColor::FromArgbInt(value.rightColor.value_or(Color::BLACK).GetValue()), in SetOuterBorderColor()
2519 Rosen::RSColor::FromArgbInt(value.bottomColor.value_or(Color::BLACK).GetValue())); in SetOuterBorderColor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_test.cpp1582 auto value = Color::FromArgbInt(DEFAULT_SPOT_COLOR);