Searched refs:shadowColorStrategy (Results 1 - 11 of 11) sorted by relevance
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 1863 int shadowColorStrategy = SHADOW_COLOR_STRATEGY::COLOR_STRATEGY_AVERAGE; in HWTEST_F() local 1864 properties.SetShadowColorStrategy(shadowColorStrategy); in HWTEST_F() 1865 EXPECT_EQ(properties.GetShadowColorStrategy(), shadowColorStrategy); in HWTEST_F() 1867 shadowColorStrategy = SHADOW_COLOR_STRATEGY::COLOR_STRATEGY_MAIN; in HWTEST_F() 1868 properties.SetShadowColorStrategy(shadowColorStrategy); in HWTEST_F() 1869 EXPECT_EQ(properties.GetShadowColorStrategy(), shadowColorStrategy); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 292 ShadowColorStrategy shadowColorStrategy; in GetToastObjectShadow() local 293 if (ParseShadowColorStrategy(env, colorApi, shadowColorStrategy)) { in GetToastObjectShadow() 294 shadowProps.SetShadowColorStrategy(shadowColorStrategy); in GetToastObjectShadow() 1073 ShadowColorStrategy shadowColorStrategy; in GetNapiObjectShadow() local 1074 if (ParseShadowColorStrategy(env, colorApi, shadowColorStrategy)) { in GetNapiObjectShadow() 1075 shadow.SetShadowColorStrategy(shadowColorStrategy); in GetNapiObjectShadow()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 332 void SetShadowColorStrategy(int shadowColorStrategy);
|
H A D | rs_node.cpp | 1762 void RSNode::SetShadowColorStrategy(int shadowColorStrategy) in SetShadowColorStrategy() argument 1765 RSModifierType::SHADOW_COLOR_STRATEGY, shadowColorStrategy); in SetShadowColorStrategy()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 2724 int shadowColorStrategy = SHADOW_COLOR_STRATEGY::COLOR_STRATEGY_NONE; in HWTEST_F() local 2725 rsNode->SetShadowColorStrategy(shadowColorStrategy); in HWTEST_F() 2726 ASSERT_EQ(rsNode->GetStagingProperties().GetShadowColorStrategy(), shadowColorStrategy); in HWTEST_F() 2737 int shadowColorStrategy = SHADOW_COLOR_STRATEGY::COLOR_STRATEGY_AVERAGE; in HWTEST_F() local 2738 rsNode->SetShadowColorStrategy(shadowColorStrategy); in HWTEST_F() 2739 EXPECT_TRUE(ROSEN_EQ(rsNode->GetStagingProperties().GetShadowColorStrategy(), shadowColorStrategy)); in HWTEST_F() 2750 int shadowColorStrategy = SHADOW_COLOR_STRATEGY::COLOR_STRATEGY_MAIN; in HWTEST_F() local 2751 rsNode->SetShadowColorStrategy(shadowColorStrategy); in HWTEST_F() 2752 EXPECT_TRUE(ROSEN_EQ(rsNode->GetStagingProperties().GetShadowColorStrategy(), shadowColorStrategy)); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 381 void SetShadowColorStrategy(int shadowColorStrategy);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.h | 212 Rosen::SHADOW_COLOR_STRATEGY ToShadowColorStrategy(ShadowColorStrategy shadowColorStrategy);
|
H A D | rosen_render_context.cpp | 4083 Rosen::SHADOW_COLOR_STRATEGY RosenRenderContext::ToShadowColorStrategy(ShadowColorStrategy shadowColorStrategy) argument 4085 if (shadowColorStrategy == ShadowColorStrategy::NONE) { 4087 } else if (shadowColorStrategy == ShadowColorStrategy::AVERAGE) { 4089 } else if (shadowColorStrategy == ShadowColorStrategy::PRIMARY) {
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties.cpp | 2005 void RSProperties::SetShadowColorStrategy(int shadowColorStrategy) in SetShadowColorStrategy() argument 2010 shadow_->SetColorStrategy(shadowColorStrategy); in SetShadowColorStrategy()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_common_bridge.cpp | 226 ShadowColorStrategy shadowColorStrategy; in ParseJsShadowColor() local 227 if (ParseJsShadowColorStrategy(vm, colorArg, shadowColorStrategy)) { in ParseJsShadowColor() 228 type = 1; // 1: has shadowColorStrategy in ParseJsShadowColor() 229 colorValue = static_cast<uint32_t>(shadowColorStrategy); in ParseJsShadowColor()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.cpp | 9313 ShadowColorStrategy shadowColorStrategy; in ParseShadowProps() local 9315 if (ParseJsShadowColorStrategy(jsColor, shadowColorStrategy)) { in ParseShadowProps() 9316 shadow.SetShadowColorStrategy(shadowColorStrategy); in ParseShadowProps()
|
Completed in 83 milliseconds