/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_extractor.cpp | 68 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, BOUNDS, Vector4f(), =); in GetBounds() 73 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, FRAME, Vector4f(), =); in GetFrame() 153 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, CORNER_RADIUS, Vector4f(), =); in GetCornerRadius() 208 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, BORDER_WIDTH, Vector4f(0.f), =); in GetBorderWidth() 219 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, BORDER_DASH_WIDTH, Vector4f(0.f), =); in GetBorderDashWidth() 224 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, BORDER_DASH_GAP, Vector4f(0.f), =); in GetBorderDashGap() 234 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, OUTLINE_WIDTH, Vector4f(0.f), =); in GetOutlineWidth() 245 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, OUTLINE_DASH_WIDTH, Vector4f(0.f), =); in GetOutlineDashWidth() 250 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, OUTLINE_DASH_GAP, Vector4f(0.f), =); in GetOutlineDashGap() 255 GET_PROPERTY_FROM_MODIFIERS_EQRETURN(Vector4f, OUTLINE_RADIUS, Vector4f(0.f), =); in GetOutlineRadius() [all …]
|
H A D | rs_modifier_extractor.h | 32 Vector4f GetBounds() const; 33 Vector4f GetFrame() const; 52 Vector4f GetCornerRadius() const; 65 Vector4f GetBorderWidth() const; 67 Vector4f GetBorderDashWidth() const; 68 Vector4f GetBorderDashGap() const; 70 Vector4f GetOutlineWidth() const; 72 Vector4f GetOutlineDashWidth() const; 73 Vector4f GetOutlineDashGap() const; 74 Vector4f GetOutlineRadius() const; [all …]
|
H A D | rs_showing_properties_freezer.cpp | 61 std::optional<Vector4f> RSShowingPropertiesFreezer::GetBounds() const in GetBounds() 63 return GetPropertyImpl<Vector4f, RSModifierType::BOUNDS>(); in GetBounds() 66 std::optional<Vector4f> RSShowingPropertiesFreezer::GetFrame() const in GetFrame() 68 return GetPropertyImpl<Vector4f, RSModifierType::FRAME>(); in GetFrame() 141 std::optional<Vector4f> RSShowingPropertiesFreezer::GetCornerRadius() const in GetCornerRadius() 143 return GetPropertyImpl<Vector4f, RSModifierType::CORNER_RADIUS>(); in GetCornerRadius() 186 std::optional<Vector4f> RSShowingPropertiesFreezer::GetBorderWidth() const in GetBorderWidth() 188 return GetPropertyImpl<Vector4f, RSModifierType::BORDER_WIDTH>(); in GetBorderWidth()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_animation_test_utils.h | 65 const Vector4f ANIMATION_START_BOUNDS = Vector4f(100.f, 100.f, 200.f, 300.f); 66 const Vector4f ANIMATION_MIDDLE_BOUNDS = Vector4f(100.f, 100.f, 250.f, 300.f); 67 const Vector4f ANIMATION_END_BOUNDS = Vector4f(100.f, 100.f, 300.f, 300.f); 68 const Vector4f ANIMATION_FIRST_BOUNDS = Vector4f(80.f, 100.f, 100.f, 250.f); 69 const Vector4f ANIMATION_SECOND_BOUNDS = Vector4f(50.f, 50.f, 150.f, 100.f); 70 const Vector4f ANIMATION_THIRD_BOUNDS = Vector4f(100.f, 80.f, 150.f, 500.f); 71 const Vector4f TRANSITION_EFFECT_ROTATE = Vector4f(50.f, 50.f, 50.f, 50.f);
|
H A D | rs_path_animation_test.cpp | 74 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 80 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 107 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 113 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 140 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 146 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 173 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 179 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 208 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 247 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_curve_animation_test.cpp | 41 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 46 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 74 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 80 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 107 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 113 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 140 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 145 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 174 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 208 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_spring_animation_test.cpp | 42 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 47 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 75 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 81 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 108 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 114 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 140 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 146 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 173 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 247 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_animation_group_test.cpp | 45 auto boundsProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 47 …auto boundsStartProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS… 48 auto boundsEndProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 87 auto boundsProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 96 auto boundsEndProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 132 auto boundsProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 141 auto boundsEndProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 177 auto boundsProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 187 auto boundsEndProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 226 auto boundsProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_keyframe_animation_test.cpp | 42 auto startProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 43 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 45 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 76 auto startProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 77 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 80 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 154 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 157 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 193 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 197 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_implicit_animator_test.cpp | 36 const Vector4f ANIMATION_START_BOUNDS = Vector4f(100.f, 100.f, 200.f, 300.f); 37 const Vector4f ANIMATION_END_BOUNDS = Vector4f(100.f, 100.f, 300.f, 300.f); 162 auto property3 = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 163 auto startProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 164 auto endProperty = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_END_BOUNDS); 199 std::shared_ptr<RSAnimatableProperty<Vector4f>> prop = nullptr; 200 std::shared_ptr<RSAnimatableProperty<Vector4f>> prop_start = nullptr; 201 std::shared_ptr<RSAnimatableProperty<Vector4f>> prop_end = nullptr; 210 auto prop1 = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 231 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_interactive_implict_animator_test.cpp | 41 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 74 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 103 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 129 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 159 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 190 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 220 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 249 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 278 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 309 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); [all …]
|
H A D | rs_animation_supplement_test.cpp | 392 Vector4f data(1.f, 1.f, 1.f, 1.f); 422 Vector4f startData(0.f, 1.f, 2.f, 3.f); 424 Vector4f endData(5.f, 6.f, 2.f, 3.f); 510 Vector4f startData(0.f, 1.f, 2.f, 3.f); 512 Vector4f endData(5.f, 6.f, 2.f, 3.f); 540 Vector4f endData(5.f, 6.f, 2.f, 3.f); 790 Vector4f data(1.f, 1.f, 1.f, 1.f); 794 Vector4f endData(0.f, 1.f, 2.f, 3.f); 828 Vector4f data(1.f, 1.f, 1.f, 1.f); 882 Vector4f data(1.f, 1.f, 1.f, 1.f); [all …]
|
H A D | rs_node_animate_supplement_test.cpp | 176 auto property1 = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 205 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 234 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 336 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 371 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(ANIMATION_START_BOUNDS); 508 Vector4f data(2.f, 3.f, 4.f, 5.f); 509 auto property = std::make_shared<RSAnimatableProperty<Vector4f>>(data); 530 Vector4f data(2.f, 3.f, 4.f, 5.f); 531 auto property1 = std::make_shared<RSAnimatableProperty<Vector4f>>(data); 580 Vector4f data(2.f, 3.f, 4.f, 5.f); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 67 void SetBounds(Vector4f bounds); 74 Vector4f GetBounds() const; 82 void SetFrame(Vector4f frame); 89 Vector4f GetFrame() const; 215 void SetBorderWidth(Vector4f width); 220 Vector4f GetBorderWidth() const; 223 Vector4f GetBorderDashGap() const; 232 Vector4f GetOutlineWidth() const; 235 Vector4f GetOutlineDashGap() const; 236 Vector4f GetOutlineRadius() const; [all …]
|
H A D | rs_properties_def.h | 118 Vector4f rates_ {}; 120 Vector4f posCoeff_ {}; 121 Vector4f negCoeff_ {}; 132 rates_ = Vector4f(cubicCoeff, quadCoeff, rate, lightUpDegree); in RSDynamicBrightnessPara() 178 Vector4f bgImageInnerRect_ = Vector4f(); 205 void SetLightPosition(const Vector4f& lightPosition) in SetLightPosition() 221 void SetAbsLightPosition(const Vector4f& absLightPosition) in SetAbsLightPosition() 226 const Vector4f& GetLightPosition() const in GetLightPosition() 230 const Vector4f& GetAbsLightPosition() const in GetAbsLightPosition() 265 Vector4f lightPosition_ = Vector4f(); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/ |
H A D | rs_modifier_extractor_test.cpp | 93 Vector4f vector = extractor.GetBorderDashWidth(); 94 EXPECT_EQ(vector, Vector4f(0.f)); 107 Vector4f vector = extractor.GetBorderDashGap(); 108 EXPECT_EQ(vector, Vector4f(0.f)); 122 EXPECT_EQ(vector, Vector4f(0.f)); 136 EXPECT_EQ(vector, Vector4f(0.f)); 163 Vector4f vector = extractor.GetOutlineWidth(); 164 EXPECT_TRUE(vector == Vector4f(0.f)); 191 Vector4f vector = extractor.GetOutlineRadius(); 192 EXPECT_TRUE(vector == Vector4f(0.f)); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/modifier/ |
H A D | rs_modifiers_def.in | 19 DECLARE_ANIMATABLE_MODIFIER(Bounds, Vector4f, BOUNDS, Replace, Geometry, LAYOUT) 25 DECLARE_ANIMATABLE_MODIFIER(Frame, Vector4f, FRAME, Replace, Geometry, LAYOUT) 57 DECLARE_ANIMATABLE_MODIFIER(CornerRadius, Vector4f, CORNER_RADIUS, Add, Appearance, MEDIUM) 83 DECLARE_ANIMATABLE_MODIFIER(BorderWidth, Vector4f, BORDER_WIDTH, Replace, Foreground, LAYOUT) 87 DECLARE_NOANIMATABLE_MODIFIER(BorderDashWidth, Vector4f, BORDER_DASH_WIDTH, Foreground) 89 DECLARE_NOANIMATABLE_MODIFIER(BorderDashGap, Vector4f, BORDER_DASH_GAP, Foreground) 97 DECLARE_NOANIMATABLE_MODIFIER(OutlineDashWidth, Vector4f, OUTLINE_DASH_WIDTH, Foreground) 99 DECLARE_NOANIMATABLE_MODIFIER(OutlineDashGap, Vector4f, OUTLINE_DASH_GAP, Foreground) 101 DECLARE_ANIMATABLE_MODIFIER(OutlineRadius, Vector4f, OUTLINE_RADIUS, Add, Foreground, MEDIUM) 155 DECLARE_ANIMATABLE_MODIFIER(PixelStretch, Vector4f, PIXEL_STRETCH, Replace, Geometry, COARSE) [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 190 virtual void SetBounds(const Vector4f& bounds); 195 virtual void SetFrame(const Vector4f& frame); 276 void SetBorderWidth(const Vector4f& width); 281 void SetBorderDashGap(const Vector4f& dashGap); 283 void SetOuterBorderWidth(const Vector4f& width); 287 void SetOutlineWidth(const Vector4f& width); 290 void SetOutlineDashGap(const Vector4f& dashGap); 291 void SetOutlineRadius(const Vector4f& radius); 310 void SetFgBrightnessRates(const Vector4f& rates); 338 void SetClipRRect(const Vector4f& clipRect, const Vector4f& clipRadius); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_border.h | 82 void SetWidthFour(const Vector4f& width); 84 void SetRadiusFour(const Vector4f& radius); 85 void SetDashWidthFour(const Vector4f& dashWidth); 86 void SetDashGapFour(const Vector4f& dashGap); 88 Vector4f GetWidthFour() const; 90 Vector4f GetDashWidthFour() const; 91 Vector4f GetDashGapFour() const; 92 Vector4f GetRadiusFour() const; 136 Vector4f radius_;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_path_animation_test.cpp | 79 const Vector4f PATH_ANIMATION_DEFAULT_4F_VALUE = Vector4f(0.f, 0.f, 0.f, 0.f); 80 const Vector4f PATH_ANIMATION_START_4F_VALUE = Vector4f(0.f, 0.f, 0.f, 0.f); 81 const Vector4f PATH_ANIMATION_END_4F_VALUE = Vector4f(500.f, 500.f, 500.f, 500.f); 151 …auto property = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_DEFAULT_4F_V… 152 …auto property1 = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_START_4F_VA… 153 …auto property2 = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_END_4F_VALU… 342 …auto property = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_DEFAULT_4F_V… 344 …auto property1 = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_START_4F_VA… 346 …auto property2 = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_END_4F_VALU… 373 …auto property1 = std::make_shared<RSRenderAnimatableProperty<Vector4f>>(PATH_ANIMATION_START_4F_VA… [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_border_test.cpp | 86 Vector4f width(1, 1, 1, 1); 88 Vector4f width2(1, 2, 3, 4); 120 Vector4f cornerRadius(0.f, 0.f, 0.f, 0.f); 122 Vector4f width(1.f, 1.f, 1.f, 1.f); 131 Vector4f cornerRadius2(1.f, 2.f, 0.f, 0.f); 238 Vector4f widths(5.0f, 10.0f, 5.0f, 10.0f); 331 Vector4f radius(5.0f, 10.0f, 5.0f, 10.0f); 629 Vector4f width(60.0f, 61.0f, 62.0f, 63.0f); 692 Vector4f width(60.0f, 61.0f, 62.0f, 63.0f); 755 Vector4f width(60.0f, 61.0f, 62.0f, 63.0f); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/ |
H A D | utils.h | 27 inline bool IsParaSameSign(Vector4f para) in IsParaSameSign() 44 inline Vector4f GetLimitedPara(const Vector4f& para, std::pair<float, float> limits = {-INFINITY, I… 46 …return Vector4f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_properties_test.cpp | 79 Vector4f rect{1.f, 1.f, 1.f, 1.f}; 479 Vector4f stretchSize; 498 Vector4f stretchSize(x, y, z, w); 507 stretchSize = Vector4f(x, y, z, w); 526 Vector4f stretchSize(x, y, z, w); 535 stretchSize = Vector4f(x, y, z, w); 550 Vector4f stretchSize(-(1e-6f)); 555 stretchSize = Vector4f(1e-6f); 573 Vector4f stretchPercent; 644 Vector4f stretchPercent(-(1e-6f)); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_path_animation.cpp | 330 auto startVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(startValue); in PreProcessPath() 331 auto endVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(endValue); in PreProcessPath() 348 auto startVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(startValue); in InitNeedPath() 349 auto endVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(endValue); in InitNeedPath() 388 auto startVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(startValue); in InitInterpolationVector4f() 389 auto endVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(endValue); in InitInterpolationVector4f() 394 auto originVector4f = std::static_pointer_cast<RSProperty<Vector4f>>(GetOriginValue()); in InitInterpolationVector4f() 412 void RSPathAnimation::UpdateVector4fValueAddOrigin(Vector4f& startValue, Vector4f& endValue, Vector… in UpdateVector4fValueAddOrigin()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/filter/include/ |
H A D | filter_pixel_stretch_para.h | 35 inline void SetStretchPercent(const Vector4f& stretchPercent) in SetStretchPercent() 42 const Vector4f& GetStretchPercent() const in GetStretchPercent() 58 Vector4f stretchPercent_;
|