/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | shadow_config.cpp | 19 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 D | shadow_config.h | 30 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 D | shadow.h | 50 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 D | shadow.cpp | 23 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 D | shadow_theme.h | 69 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 D | animatable_data.cpp | 57 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 D | evaluator.h | 133 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 D | animatable_data.h | 64 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, const Shadow& end, float process);
|
H A D | animatable_properties.h | 44 void SetPropShadow(const Shadow& shadow); 45 Shadow GetPropShadow() const;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_layout_property.cpp | 48 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 D | text_timer_model_ng.h | 49 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 D | rich_editor_common_test_ng.h | 100 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 D | display_component.h | 80 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 D | kernel-small-memory-lms.md | 183 [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 D | kernel-mini-memory-lms.md | 176 [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 D | text_content_modifier.h | 50 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 D | text_layout_property.cpp | 35 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 D | span_model_ng.h | 40 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 D | text_clock_layout_property.cpp | 48 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 D | tween_component.h | 113 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 D | rosen_decoration_painter.h | 66 …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 D | text_timer_modifier.cpp | 149 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 D | text_clock_modifier.cpp | 130 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 D | transform_component.h | 136 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 D | drag_drop_func_wrapper.h | 43 static void ParseShadowInfo(Shadow& shadow, std::unique_ptr<JsonValue>& arkExtraInfoJson); 44 static std::optional<Shadow> GetDefaultShadow();
|