Home
last modified time | relevance | path

Searched refs:ShadowColorStrategy (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dshadow.h44 enum class ShadowColorStrategy : char { enum
217 void SetShadowColorStrategy(ShadowColorStrategy colorStrategy) in SetShadowColorStrategy()
222 ShadowColorStrategy GetShadowColorStrategy() const in GetShadowColorStrategy()
257 ShadowColorStrategy colorStrategy_ = ShadowColorStrategy::NONE;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/
H A Drender_property_test_ng.cpp269 shadow.colorStrategy_ = ShadowColorStrategy::AVERAGE;
279 shadow.colorStrategy_ = ShadowColorStrategy::PRIMARY;
535 shadow.colorStrategy_ = ShadowColorStrategy::AVERAGE;
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/utils/
H A Dnapi_utils.h116 bool ParseShadowColorStrategy(napi_env env, napi_value value, ShadowColorStrategy& strategy);
H A Dnapi_utils.cpp970 bool ParseShadowColorStrategy(napi_env env, napi_value value, ShadowColorStrategy& strategy) in ParseShadowColorStrategy()
977 strategy = ShadowColorStrategy::AVERAGE; in ParseShadowColorStrategy()
980 strategy = ShadowColorStrategy::PRIMARY; in ParseShadowColorStrategy()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_property.cpp164 if (shadow.GetShadowColorStrategy() == ShadowColorStrategy::AVERAGE) { in ToJsonValue()
166 } else if (shadow.GetShadowColorStrategy() == ShadowColorStrategy::PRIMARY) { in ToJsonValue()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/
H A Drs_modifiers_def.in147 DECLARE_NOANIMATABLE_MODIFIER(ShadowColorStrategy, int, SHADOW_COLOR_STRATEGY, Background)
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.h212 Rosen::SHADOW_COLOR_STRATEGY ToShadowColorStrategy(ShadowColorStrategy shadowColorStrategy);
H A Drosen_render_context.cpp4125 Rosen::SHADOW_COLOR_STRATEGY RosenRenderContext::ToShadowColorStrategy(ShadowColorStrategy shadowCo…
4127 if (shadowColorStrategy == ShadowColorStrategy::NONE) {
4129 } else if (shadowColorStrategy == ShadowColorStrategy::AVERAGE) {
4131 } else if (shadowColorStrategy == ShadowColorStrategy::PRIMARY) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.h314 …static bool ParseJsShadowColorStrategy(const JSRef<JSVal>& jsValue, ShadowColorStrategy& strategy);
H A Djs_view_abstract.cpp5634 bool JSViewAbstract::ParseJsShadowColorStrategy(const JSRef<JSVal>& jsValue, ShadowColorStrategy& s… in ParseJsShadowColorStrategy()
5639 strategy = ShadowColorStrategy::AVERAGE; in ParseJsShadowColorStrategy()
5642 strategy = ShadowColorStrategy::PRIMARY; in ParseJsShadowColorStrategy()
9386 ShadowColorStrategy shadowColorStrategy; in ParseShadowProps()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
H A Dprompt_action.cpp299 ShadowColorStrategy shadowColorStrategy; in GetToastObjectShadow()
985 ShadowColorStrategy shadowColorStrategy; in GetNapiObjectShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp209 …hadowColorStrategy(const EcmaVM *vm, const Local<JSValueRef> &value, ShadowColorStrategy& strategy) in ParseJsShadowColorStrategy()
214 strategy = ShadowColorStrategy::AVERAGE; in ParseJsShadowColorStrategy()
217 strategy = ShadowColorStrategy::PRIMARY; in ParseJsShadowColorStrategy()
240 ShadowColorStrategy shadowColorStrategy; in ParseJsShadowColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp1050 shadow.SetShadowColorStrategy(static_cast<ShadowColorStrategy>(color)); in SetBackShadow()