Searched refs:keyTime (Results 1 - 12 of 12) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | keyframe_animation.h | 140 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 D | keyframe.h | 27 // keyTime is normalized time. 28 Keyframe(float keyTime, const T& keyValue) : keyTime_(keyTime), keyValue_(keyValue) {} in Keyframe() argument
|
H A D | svg_animate.cpp | 230 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 D | property_animation.cpp | 81 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 D | property_animation.h | 60 void Calculate(float keyTime);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | animate_impl.h | 74 float keyTime; member
|
H A D | animate_impl.cpp | 132 animatorOption->keyframes[i].keyTime = option->keyframes[i].keyTime; in ConvertAnimatorOption()
|
H A D | node_animate.cpp | 435 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 D | render_button.h | 220 void PlayClickScaleAnimation(float keyTime, int32_t duration);
|
H A D | render_button.cpp | 799 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 D | node_animate.cpp | 258 auto animatorKeyframe = AceType::MakeRefPtr<Keyframe<double>>(keyframe.keyTime, keyframe.keyValue); in ParseAnimatorAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 1317 ArkUI_Float32 keyTime; member
|
Completed in 28 milliseconds