Searched refs:mSwipeThreshold (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java214 private int mSwipeThreshold; field in class:KeyboardView
354 mSwipeThreshold = (int) (500 * getResources().getDisplayMetrics().density);
411 if (velocityX > mSwipeThreshold && absY < absX && deltaX > travelX) {
418 } else if (velocityX < -mSwipeThreshold && absY < absX && deltaX < -travelX) {
425 } else if (velocityY < -mSwipeThreshold && absX < absY && deltaY < -travelY) {
432 } else if (velocityY > mSwipeThreshold && absX < absY / 2 && deltaY > travelY) {
/frameworks/base/core/java/android/widget/
H A DStackView.java132 private int mSwipeThreshold; field in class:StackView
571 mSwipeThreshold = Math.round(SWIPE_THRESHOLD_RATIO * newSlideAmount);
826 if (deltaY > mSwipeThreshold && mSwipeGestureType == GESTURE_SLIDE_DOWN
839 } else if (deltaY < -mSwipeThreshold && mSwipeGestureType == GESTURE_SLIDE_UP

Completed in 92 milliseconds