Searched refs:PerspectiveOperation (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/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() argument 91 bool operator==(const PerspectiveOperation& other) const 97 …static PerspectiveOperation Blend(const PerspectiveOperation& to, const PerspectiveOperation& from… argument 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()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | transform_util_test.cpp | 98 PerspectiveOperation to(dimension); 99 PerspectiveOperation from(dimension); 100 PerspectiveOperation result = PerspectiveOperation::Blend(to, from, PROGRESS); 150 EXPECT_EQ(result.perspectiveOperation_, PerspectiveOperation()); 234 EXPECT_EQ(operations[4].perspectiveOperation_, PerspectiveOperation()); 249 EXPECT_EQ(result.GetOperations()[4].perspectiveOperation_, PerspectiveOperation());
|
/ohos5.0/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& d… in AddKeyframe() 346 … convertor.AddKeyframe(AnimationType::PERSPECTIVE, time, PerspectiveOperation(distance)); in __anonc5ef80111602()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 143 operation.perspectiveOperation_ = PerspectiveOperation(value); in Perspective()
|