X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fanimation%2Fanimation.cpp;h=0173fc42fd8233c7093831b7deb51387c95b5236;hb=6630e257ed837022ea9d78ad5b1b057a0bd0a526;hp=c95d5734f67d610c3cec103dce46c22d0bc2b187;hpb=f3c3d33c755b44f4095c57ed98326aec6310cee6;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/animation/animation.cpp b/dali/public-api/animation/animation.cpp index c95d573..0173fc4 100644 --- a/dali/public-api/animation/animation.cpp +++ b/dali/public-api/animation/animation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -211,44 +211,44 @@ void Animation::AnimateTo(Property target, Property::Value destinationValue, Alp GetImplementation(*this).AnimateTo(target, std::move(destinationValue), alpha, period); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames)); + GetImplementation(*this).AnimateBetween(target, keyFrames); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, Interpolation interpolation) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, Interpolation interpolation) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), interpolation); + GetImplementation(*this).AnimateBetween(target, keyFrames, interpolation); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, TimePeriod period) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), period); + GetImplementation(*this).AnimateBetween(target, keyFrames, period); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, TimePeriod period, Interpolation interpolation) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, TimePeriod period, Interpolation interpolation) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), period, interpolation); + GetImplementation(*this).AnimateBetween(target, keyFrames, period, interpolation); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, AlphaFunction alpha) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), alpha); + GetImplementation(*this).AnimateBetween(target, keyFrames, alpha); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, AlphaFunction alpha, Interpolation interpolation) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, Interpolation interpolation) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), alpha, interpolation); + GetImplementation(*this).AnimateBetween(target, keyFrames, alpha, interpolation); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, AlphaFunction alpha, TimePeriod period) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), alpha, period); + GetImplementation(*this).AnimateBetween(target, keyFrames, alpha, period); } -void Animation::AnimateBetween(Property target, KeyFrames& keyFrames, AlphaFunction alpha, TimePeriod period, Interpolation interpolation) +void Animation::AnimateBetween(Property target, KeyFrames keyFrames, AlphaFunction alpha, TimePeriod period, Interpolation interpolation) { - GetImplementation(*this).AnimateBetween(target, GetImplementation(keyFrames), alpha, period, interpolation); + GetImplementation(*this).AnimateBetween(target, keyFrames, alpha, period, interpolation); } // Actor specific animations