Searched refs:absDx (Results 1 – 2 of 2) sorted by relevance
921 final float absDx = Math.abs(dx); in findSwipedView() local924 if (absDx < mSlop && absDy < mSlop) { in findSwipedView()927 if (absDx > absDy && lm.canScrollHorizontally()) { in findSwipedView()929 } else if (absDy > absDx && lm.canScrollVertically()) { in findSwipedView()973 final float absDx = Math.abs(dx); in checkSelectForSwipe() local976 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()979 if (absDx > absDy) { in checkSelectForSwipe()
4927 final int absDx = Math.abs(dx); in computeScrollDuration() local4929 final boolean horizontal = absDx > absDy; in computeScrollDuration()4942 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()