Home
last modified time | relevance | path

Searched refs:friction (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DScroller.java196 public final void setFriction(float friction) { in setFriction() argument
197 mDeceleration = computeDeceleration(friction); in setFriction()
198 mFlingFriction = friction; in setFriction()
201 private float computeDeceleration(float friction) { in computeDeceleration() argument
205 * friction; in computeDeceleration()
DOverScroller.java125 public final void setFriction(float friction) { in setFriction() argument
126 mScrollerX.setFriction(friction); in setFriction()
127 mScrollerY.setFriction(friction); in setFriction()
637 void setFriction(float friction) { in setFriction() argument
638 mFlingFriction = friction; in setFriction()
DAbsListView.java4604 public void setFriction(float friction) { in setFriction() argument
4608 mFlingRunnable.mScroller.setFriction(friction); in setFriction()
/frameworks/base/docs/html/training/gestures/
Dscroll.jd51 scrolling physics (friction, velocity, etc.). The scroller itself doesn't
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd48 For example, when users fling a UI object, they should sense friction at the beginning that delays
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DPagedView.java2290 long startTime, float friction) { in FlingAlongVectorAnimatorUpdateListener() argument
2295 mFriction = 1f - (mDragView.getResources().getDisplayMetrics().density * friction); in FlingAlongVectorAnimatorUpdateListener()