Home
last modified time | relevance | path

Searched refs:PerspectiveOperation (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dtransform_util.h88 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 Dtransform_util.cpp225 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()
312PerspectiveOperation::Blend(to.perspectiveOperation_, from.perspectiveOperation_, progress); in BlendInner()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dtransform_util_test.cpp98 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 Dtransform_convertor.h54 void AddKeyframe(AnimationType type, double time, const PerspectiveOperation& distance);
H A Dtransform_convertor.cpp157 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 Dtransform_component.cpp143 operation.perspectiveOperation_ = PerspectiveOperation(value); in Perspective()