Home
last modified time | relevance | path

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

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java929 final float absDy = Math.abs(dy); in findSwipedView() local
931 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() local
983 if (absDx < mSlop && absDy < mSlop) { in checkSelectForSwipe()
986 if (absDx > absDy) { in checkSelectForSwipe()
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java608 final int absDy = Math.abs(dy); in computeSettleDuration() local
612 final int addedDistance = absDx + absDy; in computeSettleDuration()
617 (float) absDy / addedDistance; in computeSettleDuration()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1190 final int absDy = Math.abs(dy); in scrollBy() local
1191 updateLayoutState(layoutDirection, absDy, true, state); in scrollBy()
1200 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy()
DRecyclerView.java4486 final int absDy = Math.abs(dy); in computeScrollDuration() local
4487 final boolean horizontal = absDx > absDy; in computeScrollDuration()
4500 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()