2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FUiAnimEaseInTimingFunction.h
20 * @brief This is the header file for the %EaseInTimingFunction class.
22 * This header file contains the declarations of the %EaseInTimingFunction class.
25 #ifndef _FUI_ANIM_EASE_IN_TIMING_FUNCTION_H_
26 #define _FUI_ANIM_EASE_IN_TIMING_FUNCTION_H_
28 #include <FUiAnimIVisualElementAnimationTimingFunction.h>
30 namespace Tizen { namespace Ui { namespace Animations
35 * @class EaseInTimingFunction
36 * @brief This class stores the information of an ease-in timing function.
40 * The %EaseInTimingFunction class provides ease-in timing function related information.
42 class _OSP_EXPORT_ EaseInTimingFunction
43 : public Tizen::Base::Object
44 , public IVisualElementAnimationTimingFunction
49 * This is the constructor for this class.
53 EaseInTimingFunction(void);
57 * This is the destructor for this class.
61 virtual ~EaseInTimingFunction(void);
65 * Calculates the progress(pace) of an animation regarding the time elapsed.
69 * @return The progress(pace) value calculated by ease-in equation @n
70 * @c 0 and @c 1 are the start and end values of an animation, respectively.
71 * @param[in] timeProgress The time progress value @n
72 * This must be in the range @c 0.0 to @c 1.0.
74 virtual float CalculateProgress(float timeProgress) const;
80 // This method is for internal use only. Using this method can cause behavioral, security-related,
81 // and consistency-related issues in the application.
83 // This is the assignment operator for this class.
87 EaseInTimingFunction(const EaseInTimingFunction& rhs);
91 // This method is for internal use only. Using this method can cause behavioral, security-related,
92 // and consistency-related issues in the application.
94 // Assigns the value of the specified instance to the current instance of %EaseInTimingFunction.
98 EaseInTimingFunction& operator =(const EaseInTimingFunction& rhs);
99 }; // EaseInTimingFunction
102 }}} // Tizen::Ui::Animations
104 #endif //_FUI_ANIM_EASE_IN_TIMING_FUNCTION_H_