Lines Matching refs:abs
1008 float alpha = 1 - Math.abs(scrollProgress);
1399 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX());
1464 final int xDiff = (int) Math.abs(x - mLastMotionX);
1465 final int yDiff = (int) Math.abs(y - mLastMotionY);
1476 mTotalMotionX += Math.abs(mLastMotionX - x);
1562 if (Math.abs(f) >= 1) {
1563 f /= Math.abs(f);
1583 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1586 if (Math.abs(f) >= 1) {
1587 f /= Math.abs(f);
1609 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1668 int d = Math.abs(dragX - pageX);
1730 mTotalMotionX += Math.abs(deltaX);
1735 if (Math.abs(deltaX) >= 1.0f) {
1851 boolean isSignificantMove = Math.abs(deltaX) > pageWidth *
1854 mTotalMotionX += Math.abs(mLastMotionX + mLastMotionXRemainder - x);
1857 Math.abs(velocityX) > mFlingThresholdVelocity;
1864 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD &&
2089 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter);
2130 if (Math.abs(velocity) < mMinFlingVelocity) {
2141 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize));
2145 velocity = Math.abs(velocity);
2151 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
2196 duration = Math.abs(delta);