Home | History | Annotate | Download | only in launcher2

Lines Matching refs:abs

695                     float alpha = 1 - Math.abs(scrollProgress);
1041 final int xDist = Math.abs(mScroller.getFinalX() - mScroller.getCurrX());
1104 final int xDiff = (int) Math.abs(x - mLastMotionX);
1105 final int yDiff = (int) Math.abs(y - mLastMotionY);
1116 mTotalMotionX += Math.abs(mLastMotionX - x);
1171 if (Math.abs(f) >= 1) {
1172 f /= Math.abs(f);
1192 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1195 if (Math.abs(f) >= 1) {
1196 f /= Math.abs(f);
1218 f = f / (Math.abs(f)) * (overScrollInfluenceCurve(Math.abs(f)));
1258 mTotalMotionX += Math.abs(deltaX);
1263 if (Math.abs(deltaX) >= 1.0f) {
1292 boolean isSignificantMove = Math.abs(deltaX) > pageWidth *
1295 mTotalMotionX += Math.abs(mLastMotionX + mLastMotionXRemainder - x);
1298 Math.abs(velocityX) > mFlingThresholdVelocity;
1304 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD &&
1484 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter);
1528 if (Math.abs(velocity) < mMinFlingVelocity) {
1539 float distanceRatio = Math.min(1f, 1.0f * Math.abs(delta) / (2 * halfScreenSize));
1543 velocity = Math.abs(velocity);
1549 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
1583 duration = Math.abs(delta);