Home
last modified time | relevance | path

Searched refs:absDy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java922 final float absDy = Math.abs(dy); in findSwipedView() local
924 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() local
976 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()
979 if (absDx > absDy) { in checkSelectForSwipe()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1288 final int absDy = Math.abs(delta); in collectAdjacentPrefetchPositions() local
1289 updateLayoutState(layoutDirection, absDy, true, state); in collectAdjacentPrefetchPositions()
1300 final int absDy = Math.abs(dy); in scrollBy() local
1301 updateLayoutState(layoutDirection, absDy, true, state); in scrollBy()
1310 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy()
DRecyclerView.java4928 final int absDy = Math.abs(dy); in computeScrollDuration() local
4929 final boolean horizontal = absDx > absDy; in computeScrollDuration()
4942 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()