Searched refs:spaceDelta (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | chain_animation.cpp | 46 void ChainAnimationNode::SetDelta(float delta, float spaceDelta, float duration) in SetDelta() argument 48 spaceDelta = std::clamp(spaceDelta, minSpace_ - space_, maxSpace_ - space_); in SetDelta() 51 curPosition_ = std::clamp(curPosition_ + delta, minSpace_ - spaceDelta, maxSpace_ - spaceDelta); in SetDelta() 53 spaceDelta_ = spaceDelta; in SetDelta() 96 float spaceDelta = std::abs(overOffset) * edgeEffectIntensity_; in SetDelta() local 98 nodes_[i]->SetDelta(delta * factor, spaceDelta, static_cast<float>(duration)); in SetDelta() 99 nodes_[-i]->SetDelta(-delta * factor, spaceDelta, static_cast<float>(duration)); in SetDelta() 103 float spaceDelta = overOffset * edgeEffectIntensity_; in SetDelta() local 105 nodes_[i]->SetDelta(delta * factor, -spaceDelta, static_cast<float>(duration)); in SetDelta() 106 nodes_[-i]->SetDelta(-delta * factor, spaceDelta, static_cast<float>(duration)); in SetDelta() [all …]
|
H A D | chain_animation.h | 40 void SetDelta(float delta, float spaceDelta, float duration);
|