Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScroller.java197 public final void setFriction(float friction) { in setFriction() argument
198 mDeceleration = computeDeceleration(friction); in setFriction()
199 mFlingFriction = friction; in setFriction()
202 private float computeDeceleration(float friction) { in computeDeceleration() argument
206 * friction; in computeDeceleration()
DOverScroller.java139 public final void setFriction(float friction) { in setFriction() argument
140 mScrollerX.setFriction(friction); in setFriction()
141 mScrollerY.setFriction(friction); in setFriction()
645 void setFriction(float friction) { in setFriction() argument
646 mFlingFriction = friction; in setFriction()
DAbsListView.java4927 public void setFriction(float friction) {
4931 mFlingRunnable.mScroller.setFriction(friction);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DStackAnimationControllerTest.java333 DynamicAnimation.ViewProperty property, float vel, float friction, in flingThenSpringFirstBubbleWithStackFollowing() argument
337 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-testing.md7 … end state is not initially known. A FlingAnimation’s ‘end’ is when the friction simulation report…
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DStackAnimationController.java334 float friction,
353 flingAnimation.setFriction(friction)