Searched refs:friction (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DScroller.java184 * The amount of friction applied to flings. The default value
187 * @param friction A scalar dimension-less value representing the coefficient of
188 * friction.
190 public final void setFriction(float friction) { argument
191 mDeceleration = computeDeceleration(friction);
192 mFlingFriction = friction;
195 private float computeDeceleration(float friction) { argument
199 * friction;
H A DOverScroller.java126 * The amount of friction applied to flings. The default value
129 * @param friction A scalar dimension-less value representing the coefficient of
130 * friction.
132 public final void setFriction(float friction) { argument
133 mScrollerX.setFriction(friction);
134 mScrollerY.setFriction(friction);
575 // Fling friction
635 void setFriction(float friction) { argument
636 mFlingFriction = friction;
H A DAbsListView.java4821 * The amount of friction applied to flings. The default value
4824 public void setFriction(float friction) { argument
4828 mFlingRunnable.mScroller.setFriction(friction);

Completed in 67 milliseconds