Searched refs:squaredDist (Results 1 – 2 of 2) sorted by relevance
175 float squaredDist = squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y); in onMotionEvent() local176 if ((!mPassedSlop) && (squaredDist > mSquaredSlop)) { in onMotionEvent()183 && (squaredDist > mSquaredActiveThreshold); in onMotionEvent()
262 float squaredDist = (mFirstX - x) * (mFirstX - x) + (mFirstY - y) * (mFirstY - y); in onTouchEvent() local267 if (squaredDist < slop && in onTouchEvent()