Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_path_animation.cpp322 auto startVector2f = std::static_pointer_cast<RSProperty<Vector2f>>(startValue); in PreProcessPath() local
324 …if (startValue->GetPropertyType() == RSRenderPropertyType::PROPERTY_VECTOR2F && startVector2f != n… in PreProcessPath()
326 … return ProcessPath(path, startVector2f->Get()[0], startVector2f->Get()[1], endVector2f->Get()[0], in PreProcessPath()
367 auto startVector2f = std::static_pointer_cast<RSProperty<Vector2f>>(startValue); in InitInterpolationVector2f() local
369 if (startVector2f != nullptr && endVector2f != nullptr) { in InitInterpolationVector2f()
370 … animationPath_->GetPosTan(0.0f * beginFraction_, startVector2f->stagingValue_, startTangent_); in InitInterpolationVector2f()
375 UpdateVector2fValueAddOrigin(startVector2f->stagingValue_, endVector2f->stagingValue_, in InitInterpolationVector2f()