Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java394 final float absY = Math.abs(velocityY); in initGestureDetector()
403 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) { in initGestureDetector()
410 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) { in initGestureDetector()
417 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) { in initGestureDetector()
424 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) { in initGestureDetector()
/frameworks/base/core/java/android/view/
DViewRootImpl.java4979 final float absY = Math.abs(mAccumulatedY); in consumeAccumulatedMovement() local
4980 if (absX >= absY) { in consumeAccumulatedMovement()
4988 if (absY >= mConfigTickDistance) { in consumeAccumulatedMovement()