Lines Matching refs:abs

978             int distance = Math.abs(neighbourPageIndex - currentPage);  in dispatchUnhandledMove()
1127 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX()); in updateIsBeingDraggedOnTouchDown()
1170 final int diff = (int) Math.abs(primaryDirection - mLastMotion); in determineScrollingStart()
1177 mTotalMotion += Math.abs(mLastMotion - primaryDirection); in determineScrollingStart()
1207 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1322 mTotalMotion += Math.abs(delta); in onTouchEvent()
1395 boolean isSignificantMove = isSignificantMove(Math.abs(delta), pageOrientedSize); in onTouchEvent()
1397 mTotalMotion += Math.abs(mLastMotion - primaryDirection); in onTouchEvent()
1412 if (Math.abs(delta) > pageOrientedSize * RETURN_TO_ORIGINAL_PAGE_THRESHOLD && in onTouchEvent()
1508 return Math.abs(velocity) > threshold; in shouldFlingForVelocity()
1532 if (!canScroll(Math.abs(vscroll), Math.abs(hscroll))) { in onGenericMotionEvent()
1633 int distanceFromScreenCenter = Math.abs( in getPageNearestToCenterOfScreen()
1686 if (Math.abs(velocity) < mMinFlingVelocity) { in snapToPageWithVelocity()
1696 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity()
1700 velocity = Math.abs(velocity); in snapToPageWithVelocity()
1706 duration = 4 * Math.round(1000 * Math.abs(distance / velocity)); in snapToPageWithVelocity()
1758 duration = Math.abs(delta); in snapToPage()
1779 return Math.abs(delta) > 0; in snapToPage()