Searched refs:SPRING_ACCURACY (Results 1 – 4 of 4) sorted by relevance
65 constexpr float SPRING_ACCURACY = 0.1; variable895 if (NearEqual(finalPosition, finalPosition_, SPRING_ACCURACY)) { in UpdateSpringMotion()1178 if (!NearEqual(scroll->finalPosition_, position, SPRING_ACCURACY)) { in GetSpringProperty()1215 if (NearEqual(scroll->endPos_, position, SPRING_ACCURACY)) { in GetSnapProperty()
56 constexpr float SPRING_ACCURACY = 0.1f; variable
1381 stopAnimation = NearEqual(finalPosition_, offset, SPRING_ACCURACY); in GetScrollDelta()
173 … if (predictSnapOffset.has_value() && !NearZero(predictSnapOffset.value(), SPRING_ACCURACY)) { in ScrollSnapTrigger()