Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt76 friction = 1f, min = -Float.MAX_VALUE, max = Float.MAX_VALUE)
255 friction: Float = defaultFling.friction, in fling()
264 flingConfigs[property] = FlingConfig(friction, min, max, startVelocity) in fling()
279 return fling(property, startVelocity, config.friction, config.min, config.max) in fling()
325 startVelocity / (flingConfig.friction * FLING_FRICTION_SCALAR_MULTIPLIER) in flingThenSpring()
346 (flingConfig.friction * FLING_FRICTION_SCALAR_MULTIPLIER) in flingThenSpring()
846 internal var friction: Float, variable in com.android.wm.shell.shared.animation.FlingConfig
852 constructor() : this(globalDefaultFling.friction)
854 constructor(friction: Float) :
855 this(friction, globalDefaultFling.min, globalDefaultFling.max)
[all …]
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DFlingAnimation.java66 @FloatRange(from = 0.0, fromInclusive = false) float friction) { in setFriction()
67 if (friction <= 0) { in setFriction()
70 mFlingForce.setFrictionScalar(friction); in setFriction()
/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.java140 public final void setFriction(float friction) { in setFriction() argument
141 mScrollerX.setFriction(friction); in setFriction()
142 mScrollerY.setFriction(friction); in setFriction()
634 void setFriction(float friction) { in setFriction() argument
635 mFlingFriction = friction; in setFriction()
DAbsListView.java5219 public void setFriction(float friction) {
5223 mFlingRunnable.mScroller.setFriction(friction);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java366 final float friction = Settings.Secure.getFloat(contentResolver, "bubble_friction", in flingStackThenSpringToEdge()
375 (destinationRelativeX - x) * (friction * 4.2f); in flingStackThenSpringToEdge()
380 friction, stackBounds.top, stackBounds.bottom)); in flingStackThenSpringToEdge()
395 friction, in flingStackThenSpringToEdge()
404 friction, in flingStackThenSpringToEdge()
449 float friction,
472 flingAnimation.setFriction(friction)
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java322 DynamicAnimation.ViewProperty property, float vel, float friction, in flingThenSpringFirstBubbleWithStackFollowing() argument
326 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java225 float friction, SpringForce spring, Float finalPosition) {
240 flingAnimation.setFriction(friction)
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt396 friction = 1.1f, in <lambda>()
413 friction = 1.1f, in <lambda>()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...