Home | History | Annotate | Download | only in launcher2

Lines Matching refs:abs

646                     float dimAlpha = (float) (Math.abs(distanceFromScreenCenter)) / d;
889 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX());
965 final int xDiff = (int) Math.abs(x - mLastMotionX);
966 final int yDiff = (int) Math.abs(y - mLastMotionY);
977 mTotalMotionX += Math.abs(mLastMotionX - x);
1032 if (Math.abs(f) >= 1) {
1033 f /= Math.abs(f);
1051 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1054 if (Math.abs(f) >= 1) {
1055 f /= Math.abs(f);
1075 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1115 mTotalMotionX += Math.abs(deltaX);
1120 if (Math.abs(deltaX) >= 1.0f) {
1148 boolean isSignificantMove = Math.abs(deltaX) > MIN_LENGTH_FOR_MOVE;
1151 mTotalMotionX += Math.abs(mLastMotionX + mLastMotionXRemainder - x);
1158 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD &&
1164 Math.abs(velocityX) > snapVelocity;
1369 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter);
1413 if (Math.abs(velocity) < MIN_FLING_VELOCITY) {
1424 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize));
1428 velocity = Math.abs(velocity);
1434 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
1467 duration = Math.abs(delta);