Searched refs:friction (Results 1 – 6 of 6) sorted by relevance
196 public final void setFriction(float friction) { in setFriction() argument197 mDeceleration = computeDeceleration(friction); in setFriction()198 mFlingFriction = friction; in setFriction()201 private float computeDeceleration(float friction) { in computeDeceleration() argument205 * friction; in computeDeceleration()
125 public final void setFriction(float friction) { in setFriction() argument126 mScrollerX.setFriction(friction); in setFriction()127 mScrollerY.setFriction(friction); in setFriction()637 void setFriction(float friction) { in setFriction() argument638 mFlingFriction = friction; in setFriction()
4604 public void setFriction(float friction) { in setFriction() argument4608 mFlingRunnable.mScroller.setFriction(friction); in setFriction()
51 scrolling physics (friction, velocity, etc.). The scroller itself doesn't
48 For example, when users fling a UI object, they should sense friction at the beginning that delays
2290 long startTime, float friction) { in FlingAlongVectorAnimatorUpdateListener() argument2295 mFriction = 1f - (mDragView.getResources().getDisplayMetrics().density * friction); in FlingAlongVectorAnimatorUpdateListener()