Searched refs:HALF_NUMBER (Results 1 – 2 of 2) sorted by relevance
23 const int32_t HALF_NUMBER = 2; variable65 …erScroll_ = (overScroll_ > 0.0 ? 1 : -1) * std::min(std::fabs(overScroll_), height_ / HALF_NUMBER); in ApplyCurrentOffset()129 return GreatOrEqual(std::fabs(overScroll_), height_ / HALF_NUMBER); in InMaxOverScroll()
55 const int32_t HALF_NUMBER = 2; variable110 auto midIndex = showCount / HALF_NUMBER; in OnModifyDone()933 auto midIndex = GetShowOptionCount() / HALF_NUMBER; in GetOverScrollDeltaIndex()1133 int32_t middleIndex = static_cast<int32_t>(GetShowOptionCount()) / HALF_NUMBER; in HandleDragEnd()1136 auto shiftThreshold = shiftDistance / HALF_NUMBER; in HandleDragEnd()1217 auto midIndex = GetShowOptionCount() / HALF_NUMBER; in ScrollOption()1320 optionProperties_[nextIndex].fontheight / HALF_NUMBER; in GetSelectedDistance()1504 auto midIndex = GetShowOptionCount() / HALF_NUMBER; in UpdateColumnChildPosition()1684 int32_t middleIndex = static_cast<int32_t>(GetShowOptionCount()) / HALF_NUMBER; in OnAroundButtonClick()1722 int32_t middleIndex = static_cast<int32_t>(GetShowOptionCount()) / HALF_NUMBER; in PlayResetAnimation()[all …]