/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_dump.cpp | 505 auto hueRotate = properties.GetHueRotate(); in DumpNodePropertiesColor() local 506 if (hueRotate.has_value() && !ROSEN_EQ(*hueRotate, 0.f)) { in DumpNodePropertiesColor() 507 out["HueRotate"] = *hueRotate; in DumpNodePropertiesColor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.h | 75 static void PaintHueRotate(const SkRRect& rRect, SkCanvas* canvas, float hueRotate);
|
H A D | skia_decoration_painter.cpp | 1089 void SkiaDecorationPainter::PaintHueRotate(const SkRRect& rRect, SkCanvas* canvas, float hueRotate) in PaintHueRotate() argument 1091 if (GreatNotEqual(hueRotate, 0.0)) { in PaintHueRotate() 1097 while (GreatOrEqual(hueRotate, FULL_ROTATION)) { in PaintHueRotate() 1098 hueRotate -= FULL_ROTATION; in PaintHueRotate() 1101 int32_t type = hueRotate / 120; in PaintHueRotate() 1102 float N = (hueRotate - 120 * type) / 120; in PaintHueRotate()
|
H A D | rosen_render_context.h | 482 void OnFrontHueRotateUpdate(float hueRotate) override; 712 std::shared_ptr<HueRotateModifier> hueRotate; member
|
H A D | rosen_render_context.cpp | 4195 auto hueRotate = graphicProps->GetFrontHueRotateValue(); local 4196 OnFrontHueRotateUpdate(hueRotate); 4309 void RosenRenderContext::OnFrontHueRotateUpdate(float hueRotate) argument 4312 rsNode_->SetHueRotate(hueRotate);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.h | 64 static void PaintHueRotate(const RSRoundRect& frameSize, RSCanvas* canvas, float hueRotate);
|
H A D | drawing_decoration_painter.cpp | 1091 void DrawingDecorationPainter::PaintHueRotate(const RSRoundRect& rRect, RSCanvas* canvas, float hueRotate) in PaintHueRotate() argument 1093 if (GreatNotEqual(hueRotate, 0.0)) { in PaintHueRotate() 1099 while (GreatOrEqual(hueRotate, 360)) { in PaintHueRotate() 1100 hueRotate -= 360; in PaintHueRotate() 1103 int32_t type = hueRotate / 120; in PaintHueRotate() 1104 float N = (hueRotate - 120 * type) / 120; in PaintHueRotate()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.h | 86 static void PaintHueRotate(const SkRRect& outerRRect, SkCanvas* canvas, const float& hueRotate, const Color& color); 112 const float& hueRotate, const Color& color);
|
H A D | rosen_decoration_painter.cpp | 1765 const SkRRect& outerRRect, SkCanvas* canvas, const float& hueRotate, const Color& color) in PaintHueRotate() 1767 float hueRotates = hueRotate; in PaintHueRotate() 1811 const RSRoundRect& outerRRect, RSCanvas* canvas, const float& hueRotate, const Color& color) in PaintHueRotate() 1813 float hueRotates = hueRotate; in PaintHueRotate() 1764 PaintHueRotate( const SkRRect& outerRRect, SkCanvas* canvas, const float& hueRotate, const Color& color) PaintHueRotate() argument 1810 PaintHueRotate( const RSRoundRect& outerRRect, RSCanvas* canvas, const float& hueRotate, const Color& color) PaintHueRotate() argument
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 2946 std::optional<float> hueRotate = std::optional<float>(1.f); in HWTEST_F() local 2947 properties.SetHueRotate(hueRotate); in HWTEST_F() 2999 std::optional<float> hueRotate = std::optional<float>(1.f); in HWTEST_F() local 3000 properties.SetHueRotate(hueRotate); in HWTEST_F() 3004 hueRotate = std::optional<float>(360.f); in HWTEST_F() 3005 properties.SetHueRotate(hueRotate); in HWTEST_F() 3006 hueRotate = std::optional<float>(480.f); in HWTEST_F() 3007 properties.SetHueRotate(hueRotate); in HWTEST_F() 3011 hueRotate = std::optional<float>(600.f); in HWTEST_F() 3012 properties.SetHueRotate(hueRotate); in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/ |
H A D | rs_properties.cpp | 3450 void RSProperties::SetHueRotate(const std::optional<float>& hueRotate) in SetHueRotate() argument 3452 hueRotate_ = hueRotate; in SetHueRotate() 3610 auto hueRotate = hueRotate_.value(); in GenerateColorFilter() local 3611 while (GreatOrEqual(hueRotate, 360)) { // 360 : degree in GenerateColorFilter() 3612 hueRotate -= 360; // 360 : degree in GenerateColorFilter() 3615 int32_t type = hueRotate / 120; // 120 : degree in GenerateColorFilter() 3616 float N = (hueRotate - 120 * type) / 120; // 120 : degree in GenerateColorFilter() 4146 auto hueRotate = GetHueRotate(); in Dump() local 4147 if (hueRotate.has_value() && !ROSEN_EQ(*hueRotate, in Dump() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 437 void SetHueRotate(float hueRotate);
|
H A D | rs_node.cpp | 2457 void RSNode::SetHueRotate(float hueRotate) in SetHueRotate() argument 2459 SetProperty<RSHueRotateModifier, RSAnimatableProperty<float>>(RSModifierType::HUE_ROTATE, hueRotate); in SetHueRotate()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 498 void SetHueRotate(const std::optional<float>& hueRotate);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.cpp | 2411 void ViewAbstract::SetHueRotate(float hueRotate) in SetHueRotate() argument 2416 ACE_UPDATE_RENDER_CONTEXT(FrontHueRotate, hueRotate); in SetHueRotate() 2419 void ViewAbstract::SetHueRotate(FrameNode *frameNode, float hueRotate) in SetHueRotate() argument 2421 ACE_UPDATE_NODE_RENDER_CONTEXT(FrontHueRotate, hueRotate, frameNode); in SetHueRotate()
|
H A D | view_abstract.h | 501 static void SetHueRotate(FrameNode* frameNode, float hueRotate);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 605 HueRotateModifier.identity = Symbol('hueRotate'); 3768 hueRotate(value) { 10210 hueRotate(value) { 25839 hueRotate(value) {
|