Home | History | Annotate | Download | only in launcher3

Lines Matching refs:abs

1019                     float alpha = 1 - Math.abs(scrollProgress);
1407 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX());
1476 final int xDiff = (int) Math.abs(x - mLastMotionX);
1477 final int yDiff = (int) Math.abs(y - mLastMotionY);
1488 mTotalMotionX += Math.abs(mLastMotionX - x);
1540 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page));
1593 if (Math.abs(f) >= 1) {
1594 f /= Math.abs(f);
1614 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1617 if (Math.abs(f) >= 1) {
1618 f /= Math.abs(f);
1640 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1693 int d = Math.abs(dragX - pageX);
1755 mTotalMotionX += Math.abs(deltaX);
1760 if (Math.abs(deltaX) >= 1.0f) {
1878 boolean isSignificantMove = Math.abs(deltaX) > pageWidth *
1881 mTotalMotionX += Math.abs(mLastMotionX + mLastMotionXRemainder - x);
1884 Math.abs(velocityX) > mFlingThresholdVelocity;
1891 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD &&
2118 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter);
2159 if (Math.abs(velocity) < mMinFlingVelocity) {
2170 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize));
2174 velocity = Math.abs(velocity);
2180 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
2231 duration = Math.abs(delta);