Home
last modified time | relevance | path

Searched refs:Shadow (Results 1 – 25 of 217) sorted by relevance

123456789

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dshadow_config.cpp19 const Shadow ShadowConfig::NoneShadow = Shadow(0.0f, Offset(), Color(), ShadowStyle::None);
21 const Shadow ShadowConfig::DefaultShadowXS =
23 const Shadow ShadowConfig::DefaultShadowS =
25 const Shadow ShadowConfig::DefaultShadowM =
27 const Shadow ShadowConfig::DefaultShadowL =
29 const Shadow ShadowConfig::FloatingShadowS =
31 const Shadow ShadowConfig::FloatingShadowM =
34 const Shadow ShadowConfig::DefaultShadowXSDark =
36 const Shadow ShadowConfig::DefaultShadowSDark =
38 const Shadow ShadowConfig::DefaultShadowMDark =
[all …]
H A Dshadow_config.h30 static const Shadow NoneShadow;
33 static const Shadow DefaultShadowXS;
34 static const Shadow DefaultShadowS;
35 static const Shadow DefaultShadowM;
36 static const Shadow DefaultShadowL;
37 static const Shadow FloatingShadowS;
38 static const Shadow FloatingShadowM;
40 static const Shadow DefaultShadowXSDark;
41 static const Shadow DefaultShadowSDark;
42 static const Shadow DefaultShadowMDark;
[all …]
H A Dshadow.h50 class Shadow final {
52 static Shadow Blend(const Shadow& to, const Shadow& from, float progress);
54 Shadow() = default;
55 ~Shadow() = default;
58 Shadow(float elevation, Offset offset, Color spotColor, ShadowStyle style) in Shadow() function
65 Shadow(double radius, Offset offset, Color spotColor, ShadowStyle style) in Shadow() function
72 Shadow(double blurRadius, double spreadRadius, Offset offset, Color spotColor) in Shadow() function
78 static Shadow CreateShadow(ShadowStyle style);
80 bool operator==(const Shadow& rhs) const
87 bool operator!=(const Shadow& rhs) const
H A Dshadow.cpp23 Shadow Shadow::Blend(const Shadow& to, const Shadow& from, float progress) in Blend()
30 return Shadow(blurRadius, spreadRadius, offset, color); in Blend()
33 Shadow Shadow::CreateShadow(ShadowStyle style) in CreateShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dshadow_theme.h69 Shadow ParseShadowParam( in ParseShadowParam()
77 Shadow shadow; in ParseShadowParam()
93 return Shadow(radius, offset, color, shadowStyle); in ParseShadowParam()
95 return Shadow(static_cast<float>(elevation), offset, color, shadowStyle); in ParseShadowParam()
99 Shadow GetShadow(ShadowStyle style, ColorMode colorMode) const in GetShadow()
103 return iter != shadowStyles_.end() ? iter->second : Shadow(); in GetShadow()
115 std::unordered_map<uint32_t, Shadow> shadowStyles_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_data.cpp57 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, const Shadow& end, float process) in Blend()
59 return Shadow::Blend(end, start, process); in Blend()
H A Devaluator.h133 class LinearEvaluator<Shadow> : public Evaluator<Shadow> {
134 Shadow Evaluate(const Shadow& begin, const Shadow& end, float fraction) override in Evaluate()
136 return Shadow::Blend(end, begin, fraction); in Evaluate()
H A Danimatable_data.h64 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, const Shadow& end, float process);
H A Danimatable_properties.h44 void SetPropShadow(const Shadow& shadow);
45 Shadow GetPropShadow() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/
H A Dtext_timer_layout_property.cpp48 inline std::unique_ptr<JsonValue> ConvertShadowToJson(const Shadow& shadow) in ConvertShadowToJson()
59 std::unique_ptr<JsonValue> ConvertShadowsToJson(const std::vector<Shadow>& shadows) in ConvertShadowsToJson()
87 auto shadow = GetTextShadow().value_or(std::vector<Shadow> { Shadow() }); in ToJsonValue()
H A Dtext_timer_model_ng.h49 void SetTextShadow(const std::vector<Shadow>& value) override;
63 static void SetTextShadow(FrameNode* frameNode, const std::vector<Shadow>& value);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_common_test_ng.h100 const Shadow TEXT_SHADOW1 = Shadow(0, 0, Offset(), Color::RED);
101 const Shadow TEXT_SHADOW2 = Shadow(0, 0, Offset(), Color::WHITE);
102 const std::vector<Shadow> SHADOWS { TEXT_SHADOW1, TEXT_SHADOW2 };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/display/
H A Ddisplay_component.h80 void SetShadow(const Shadow& shadow) in SetShadow()
85 const Shadow& GetShadow() const in GetShadow()
172 Shadow shadow_;
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-memory-lms.md183 [ERR][KProcess:LmsTestCaseTask]Shadow memory address: [0x4157be3c : 4] Shadow memory value: [2]
212 [ERR][KProcess:LmsTestCaseTask]Shadow memory address: [0x4157be3d : 2] Shadow memory value: [3]
370 Shadow memory address: [0x3d34d3ed : 6] Shadow memory value: [2]
395 Shadow memory address: [0x3d34d3ee : 0] Shadow memory value: [3]
H A Dkernel-mini-memory-lms.md176 [ERR][TestLmsTsk]Shadow memory address: [0x21041e84 : 6] Shadow memory value: [2]
230 [ERR][TestLmsTsk]Shadow memory address: [0x21041e85 : 2] Shadow memory value: [3]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_content_modifier.h50 void SetTextShadow(const std::vector<Shadow>& value);
107 void AddShadow(const Shadow& shadow);
170 Shadow shadow; // final shadow configuration of the animation
171 Shadow lastShadow;
H A Dtext_layout_property.cpp35 inline std::unique_ptr<JsonValue> CovertShadowToJson(const Shadow& shadow) in CovertShadowToJson()
46 std::unique_ptr<JsonValue> CovertShadowsToJson(const std::vector<Shadow>& shadows) in CovertShadowsToJson()
121 auto shadow = GetTextShadow().value_or(std::vector<Shadow> { Shadow() }); in ToJsonValue()
H A Dspan_model_ng.h40 void SetTextShadow(const std::vector<Shadow>& value) override;
95 static void SetTextShadow(UINode* uiNode, const std::vector<Shadow>& value);
97 static std::vector<Shadow> GetTextShadow(UINode* uiNode);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/
H A Dtext_clock_layout_property.cpp48 std::string CovertShadowToString(const Shadow& shadow) in CovertShadowToString()
59 std::string ConvertTextShadow(const std::vector<Shadow>& textShadow) in ConvertTextShadow()
109 ConvertTextShadow(GetTextShadow().value_or(std::vector<Shadow>())).c_str(), filter); in ToJsonValue()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tween/
H A Dtween_component.h113 void SetShadow(const Shadow& shadow) in SetShadow()
118 const Shadow& GetShadow() const in GetShadow()
211 Shadow shadow_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_decoration_painter.h66 …static void PaintShadow(const SkPath& path, const Shadow& shadow, SkCanvas* canvas, const SkPaint*…
68 …static void PaintShadow(const SkPath& path, const Shadow& shadow, const std::shared_ptr<RSNode>& r…
95 static void PaintShadow(const RSPath& path, const Shadow& shadow,
97 static void PaintShadow(const RSPath& path, const Shadow& shadow,
120 …static void PaintBoxShadows(const std::vector<Shadow>& shadows, const std::shared_ptr<RSNode>& rsN…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dtext_timer_modifier.cpp149 std::vector<Shadow> shadowList(length); in SetTextShadow()
151 Shadow shadow; in SetTextShadow()
168 Shadow shadow; in ResetTextShadow()
171 TextTimerModelNG::SetTextShadow(frameNode, std::vector<Shadow> { shadow }); in ResetTextShadow()
H A Dtext_clock_modifier.cpp130 std::vector<Shadow> shadowList(length); in SetTextShadow()
132 Shadow shadow; in SetTextShadow()
149 Shadow shadow; in ResetTextShadow()
152 TextClockModelNG::SetTextShadow(frameNode, std::vector<Shadow> { shadow }); in ResetTextShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Dtransform_component.h136 void SetShadow(const Shadow& shadow) in SetShadow()
141 const Shadow& GetShadow() const in GetShadow()
194 Shadow shadow_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_func_wrapper.h43 static void ParseShadowInfo(Shadow& shadow, std::unique_ptr<JsonValue>& arkExtraInfoJson);
44 static std::optional<Shadow> GetDefaultShadow();

123456789