Searched refs:absDy (Results 1 – 3 of 3) sorted by relevance
922 final float absDy = Math.abs(dy); 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()974 final float absDy = Math.abs(dy); in checkSelectForSwipe() local976 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()979 if (absDx > absDy) { in checkSelectForSwipe()
1288 final int absDy = Math.abs(delta); in collectAdjacentPrefetchPositions() local1289 updateLayoutState(layoutDirection, absDy, true, state); in collectAdjacentPrefetchPositions()1300 final int absDy = Math.abs(dy); in scrollBy() local1301 updateLayoutState(layoutDirection, absDy, true, state); in scrollBy()1310 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy()
4807 final int absDy = Math.abs(dy); in computeScrollDuration() local4808 final boolean horizontal = absDx > absDy; in computeScrollDuration()4821 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()