Lines Matching refs:abs
989 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX()); in updateIsBeingDraggedOnTouchDown()
1032 final int diff = (int) Math.abs(primaryDirection - mLastMotion); in determineScrollingStart()
1039 mTotalMotion += Math.abs(mLastMotion - primaryDirection); in determineScrollingStart()
1071 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1182 mTotalMotion += Math.abs(delta); in onTouchEvent()
1249 boolean isSignificantMove = Math.abs(delta) > pageOrientedSize * in onTouchEvent()
1252 mTotalMotion += Math.abs(mLastMotion + mLastMotionRemainder - primaryDirection); in onTouchEvent()
1267 if (Math.abs(delta) > pageOrientedSize * RETURN_TO_ORIGINAL_PAGE_THRESHOLD && in onTouchEvent()
1346 return Math.abs(velocity) > threshold; in shouldFlingForVelocity()
1370 if (!canScroll(Math.abs(vscroll), Math.abs(hscroll))) { in onGenericMotionEvent()
1466 int distanceFromScreenCenter = Math.abs( in getPageNearestToCenterOfScreen()
1519 if (Math.abs(velocity) < mMinFlingVelocity) { in snapToPageWithVelocity()
1529 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize)); in snapToPageWithVelocity()
1533 velocity = Math.abs(velocity); in snapToPageWithVelocity()
1539 duration = 4 * Math.round(1000 * Math.abs(distance / velocity)); in snapToPageWithVelocity()
1587 duration = Math.abs(delta); in snapToPage()
1608 return Math.abs(delta) > 0; in snapToPage()