Searched refs:PerspectiveOperation (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.h | 88 struct ACE_EXPORT PerspectiveOperation { struct 89 PerspectiveOperation() = default; 90 explicit PerspectiveOperation(const Dimension& dis) : distance(dis) {} in PerspectiveOperation() function 91 bool operator==(const PerspectiveOperation& other) const in operator ==() 97 static PerspectiveOperation Blend(const PerspectiveOperation& to, const PerspectiveOperation& from, float progress); 130 PerspectiveOperation perspectiveOperation_;
|
H A D | transform_util.cpp | 225 PerspectiveOperation PerspectiveOperation::Blend( in Blend() 226 const PerspectiveOperation& to, const PerspectiveOperation& from, float progress) in Blend() 228 PerspectiveOperation ret; in Blend() 273 ret.perspectiveOperation_ = PerspectiveOperation(); in Create() 312 PerspectiveOperation::Blend(to.perspectiveOperation_, from.perspectiveOperation_, progress); in BlendInner()
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 92 * @tc.desc: Test the functions of the class PerspectiveOperation. 98 PerspectiveOperation to(dimension); in HWTEST_F() 99 PerspectiveOperation from(dimension); in HWTEST_F() 100 PerspectiveOperation result = PerspectiveOperation::Blend(to, from, PROGRESS); in HWTEST_F() 150 EXPECT_EQ(result.perspectiveOperation_, PerspectiveOperation()); in HWTEST_F() 234 EXPECT_EQ(operations[4].perspectiveOperation_, PerspectiveOperation()); in HWTEST_F() 249 EXPECT_EQ(result.GetOperations()[4].perspectiveOperation_, PerspectiveOperation()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | transform_convertor.h | 54 void AddKeyframe(AnimationType type, double time, const PerspectiveOperation& distance);
|
H A D | transform_convertor.cpp | 157 void TransformConvertor::AddKeyframe(AnimationType type, double time, const PerspectiveOperation& distance) in AddKeyframe() 346 convertor.AddKeyframe(AnimationType::PERSPECTIVE, time, PerspectiveOperation(distance));
|
/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 143 operation.perspectiveOperation_ = PerspectiveOperation(value); in Perspective()
|
Completed in 5 milliseconds