Searched refs:scrollSnapVelocity_ (Results 1 – 4 of 4) sorted by relevance
172 scrollSnapVelocity_ = velocity; in SetScrollSnapVelocity()536 float scrollSnapVelocity_; variable
166 … if (scrollable_ && !(NearZero(predictSnapOffset.value()) && NearZero(scrollSnapVelocity_)) && in OnDirtyLayoutWrapperSwap()168 scrollable_->StartScrollSnapMotion(predictSnapOffset.value(), scrollSnapVelocity_); in OnDirtyLayoutWrapperSwap()175 scrollSnapVelocity_ = 0.0f; in OnDirtyLayoutWrapperSwap()604 listLayoutAlgorithm->SetScrollSnapVelocity(scrollSnapVelocity_); in CreateLayoutAlgorithm()943 scrollSnapVelocity_ = velocity; in OnScrollSnapCallback()1575 scrollSnapVelocity_ = 0.0f; in AnimateToTarget()
433 float scrollSnapVelocity_ = 0.0f; variable
2318 if (scrollSnapVelocity_ < -SCROLL_SNAP_VELOCITY_TH * Scrollable::GetVelocityScale()) { in FindPredictSnapEndIndexInItemPositions()2320 } else if (scrollSnapVelocity_ > SCROLL_SNAP_VELOCITY_TH * Scrollable::GetVelocityScale()) { in FindPredictSnapEndIndexInItemPositions()