Home
last modified time | relevance | path

Searched refs:keyTime (Results 1 - 12 of 12) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dkeyframe_animation.h140 void Calculate(float keyTime) in Calculate() argument
147 // The initial state is maintained when keyTime < 0. in Calculate()
148 if (keyTime < 0.0f) { in Calculate()
151 } else if (keyTime > 1.0f || keyframeNum_ == 1) { in Calculate()
152 // The final state is maintained when keyTime > 1 or keyframeNum_ = 1. in Calculate()
159 if (keyTime < keyframe->GetKeyTime()) { in Calculate()
164 float intervalKeyTime = (keyTime - preKeyTime) / (keyframe->GetKeyTime() - preKeyTime); in Calculate()
H A Dkeyframe.h27 // keyTime is normalized time.
28 Keyframe(float keyTime, const T& keyValue) : keyTime_(keyTime), keyValue_(keyValue) {} in Keyframe() argument
H A Dsvg_animate.cpp230 float keyTime = ((int)(100.0f / (values.size()))) / 100.0f; in DiscreteWithValues() local
234 CreateKeyframe(animation, GetValue<T>(*valueIter), keyTime, GetCurve()); in DiscreteWithValues()
235 keyTime += keyTime; in DiscreteWithValues()
358 float keyTime = ((int)(100.0f / (values.size() - 1))) / 100.0f; in LinearWithValues() local
361 CreateKeyframe(animation, GetValue<T>(*valueIter), keyTime, GetCurve()); in LinearWithValues()
362 keyTime += keyTime; in LinearWithValues()
525 float keyTime = ((int)(100.0f / values.size() - 1)) / 100.0f; in SplineWithKeySplines() local
530 CreateKeyframe(animation, GetValue<T>(*valueIter), keyTime, CubicCurveCreato in SplineWithKeySplines()
[all...]
H A Dproperty_animation.cpp81 void PropertyAnimation::Calculate(float keyTime) in Calculate() argument
88 if (keyTime < animatable->GetTimePoint()) { in Calculate()
90 float innerKeyTime = (keyTime - preKeyTime) / (animatable->GetTimePoint() - preKeyTime); in Calculate()
H A Dproperty_animation.h60 void Calculate(float keyTime);
/foundation/arkui/ace_engine/interfaces/native/node/
H A Danimate_impl.h74 float keyTime; member
H A Danimate_impl.cpp132 animatorOption->keyframes[i].keyTime = option->keyframes[i].keyTime; in ConvertAnimatorOption()
H A Dnode_animate.cpp435 option->keyframes[index].keyTime = time; in OH_ArkUI_AnimatorOption_SetKeyframe()
536 return option->keyframes[index].keyTime; in OH_ArkUI_AnimatorOption_GetKeyframeTime()
/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drender_button.h220 void PlayClickScaleAnimation(float keyTime, int32_t duration);
H A Drender_button.cpp799 void RenderButton::PlayClickScaleAnimation(float keyTime, int32_t duration) in PlayClickScaleAnimation() argument
802 auto midFrame = AceType::MakeRefPtr<Keyframe<double>>(keyTime, TV_REDUCE_SCALE); in PlayClickScaleAnimation()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_animate.cpp258 auto animatorKeyframe = AceType::MakeRefPtr<Keyframe<double>>(keyframe.keyTime, keyframe.keyValue); in ParseAnimatorAnimation()
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h1317 ArkUI_Float32 keyTime; member

Completed in 28 milliseconds