Searched refs:absDy (Results 1 – 4 of 4) sorted by relevance
929 final float absDy = Math.abs(dy); 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()981 final float absDy = Math.abs(dy); in checkSelectForSwipe() local983 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()986 if (absDx > absDy) { in checkSelectForSwipe()
608 final int absDy = Math.abs(dy); in computeSettleDuration() local612 final int addedDistance = absDx + absDy; in computeSettleDuration()617 (float) absDy / addedDistance; in computeSettleDuration()
1190 final int absDy = Math.abs(dy); in scrollBy() local1191 updateLayoutState(layoutDirection, absDy, true, state); in scrollBy()1200 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy()
4486 final int absDy = Math.abs(dy); in computeScrollDuration() local4487 final boolean horizontal = absDx > absDy; in computeScrollDuration()4500 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()