Home
last modified time | relevance | path

Searched refs:squaredDist (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverscrollInputConsumer.java175 float squaredDist = squaredHypot(mLastPos.x - mDownPos.x, mLastPos.y - mDownPos.y); in onMotionEvent() local
176 if ((!mPassedSlop) && (squaredDist > mSquaredSlop)) { in onMotionEvent()
183 && (squaredDist > mSquaredActiveThreshold); in onMotionEvent()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java262 float squaredDist = (mFirstX - x) * (mFirstX - x) + (mFirstY - y) * (mFirstY - y); in onTouchEvent() local
267 if (squaredDist < slop && in onTouchEvent()