Searched refs:absDx (Results 1 – 3 of 3) sorted by relevance
928 final float absDx = Math.abs(dx); in findSwipedView() local931 if (absDx < mSlop && absDy < mSlop) { in findSwipedView()934 if (absDx > absDy && lm.canScrollHorizontally()) { in findSwipedView()936 } else if (absDy > absDx && lm.canScrollVertically()) { in findSwipedView()980 final float absDx = Math.abs(dx); in checkSelectForSwipe() local983 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()986 if (absDx > absDy) { in checkSelectForSwipe()
607 final int absDx = Math.abs(dx); in computeSettleDuration() local612 final int addedDistance = absDx + absDy; in computeSettleDuration()615 (float) absDx / addedDistance; in computeSettleDuration()
4485 final int absDx = Math.abs(dx); in computeScrollDuration() local4487 final boolean horizontal = absDx > absDy; in computeScrollDuration()4500 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()