Searched refs:distanceX (Results 1 – 3 of 3) sorted by relevance
61 const int32_t distanceX = to.px_ - from.px_; in DecomposeComputeSwipe() local63 const uint32_t distance = sqrt(distanceX * distanceX + distanceY * distanceY); in DecomposeComputeSwipe()76 const int32_t pointX = from.px_ + (distanceX * step) / steps; in DecomposeComputeSwipe()165 const int32_t distanceX = pxTo - pxFrom; in Decompose() local170 const uint32_t distance = sqrt(distanceX * distanceX + distanceY * distanceY); in Decompose()
975 const int32_t distanceX = to.px_ - from.px_; in RegisterUiDriverFlingOperators() local977 const uint32_t distance = sqrt(distanceX * distanceX + distanceY * distanceY); in RegisterUiDriverFlingOperators()
111 const int32_t distanceX = to.px_ - from.px_; in CheckStepLength() local113 const uint32_t distance = sqrt(distanceX * distanceX + distanceY * distanceY); in CheckStepLength()