/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | SpringAnimation.java | 97 public SpringAnimation(FloatValueHolder floatValueHolder, float finalPosition) { in SpringAnimation() argument 99 mSpring = new SpringForce(finalPosition); in SpringAnimation() 126 float finalPosition) { in SpringAnimation() argument 128 mSpring = new SpringForce(finalPosition); in SpringAnimation() 172 public void animateToFinalPosition(float finalPosition) { in animateToFinalPosition() argument 174 mPendingPosition = finalPosition; in animateToFinalPosition() 177 mSpring = new SpringForce(finalPosition); in animateToFinalPosition() 179 mSpring.setFinalPosition(finalPosition); in animateToFinalPosition() 248 double finalPosition = mSpring.getFinalPosition(); in sanityCheck() local 249 if (finalPosition > mMaxValue) { in sanityCheck() [all …]
|
D | SpringForce.java | 121 public SpringForce(float finalPosition) { in SpringForce() argument 122 mFinalPosition = finalPosition; in SpringForce() 194 public SpringForce setFinalPosition(float finalPosition) { in setFinalPosition() argument 195 mFinalPosition = finalPosition; in setFinalPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 234 animation.spring.finalPosition = newPosition in snapTo() 263 fun stretchBy(finalPosition: Float?, amount: Float) { in stretchBy() 264 val stretchedAmount = amount * ((finalPosition ?: 0f) - restingPosition) in stretchBy() 333 finalPosition = fullyStretchedDimens.horizontalTranslation, in setStretch() 337 finalPosition = fullyStretchedDimens.arrowDimens.length, in setStretch() 341 finalPosition = fullyStretchedDimens.arrowDimens.height, in setStretch() 345 finalPosition = fullyStretchedDimens.arrowDimens.alpha, in setStretch() 349 finalPosition = fullyStretchedDimens.backgroundDimens.alpha, in setStretch() 353 finalPosition = fullyStretchedDimens.backgroundDimens.width, in setStretch() 357 finalPosition = fullyStretchedDimens.backgroundDimens.height, in setStretch() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationControllerTest.java | 323 SpringForce spring, Float finalPosition) { in flingThenSpringFirstBubbleWithStackFollowing() argument 326 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing() 331 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing() argument 334 property, spring, vel, finalPosition, after)); in springFirstBubbleWithStackFollowing()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 225 float friction, SpringForce spring, Float finalPosition) { 253 final float endPosition = finalPosition != null 254 ? finalPosition 273 float velocity, float finalPosition, boolean writeToPosition) { 279 if (canceled || endValue != finalPosition) { 295 springAnimation.animateToFinalPosition(finalPosition);
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimator.kt | 361 springConfigCopy.finalPosition = toAtLeast in flingThenSpring() 553 if (springConfig.finalPosition == UNSET) { in startInternal() 558 springConfig.finalPosition = in startInternal() 563 springConfig.finalPosition = in startInternal() 818 internal var finalPosition: Float = UNSET variable in com.android.wm.shell.shared.animation.SpringConfig 833 finalPosition = this@SpringConfig.finalPosition in applyToAnimation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationControllerTest.java | 250 final float finalPosition = 300f; in setupAndRunSpringAnimations() local 254 .setDampingRatio(dampingRatio), velocity, finalPosition, in setupAndRunSpringAnimations() 258 .setDampingRatio(dampingRatio), velocity, finalPosition, in setupAndRunSpringAnimations()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationController.java | 451 Float finalPosition) { 490 finalPosition != null 491 ? finalPosition 621 float vel, float finalPosition, @Nullable Runnable... after) { in springFirstBubbleWithStackFollowing() argument 629 finalPosition)); in springFirstBubbleWithStackFollowing() 662 springAnimation.animateToFinalPosition(finalPosition); in springFirstBubbleWithStackFollowing()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | UnfoldRemoteFilter.kt | 29 finalPosition = 1.0f in <lambda>()
|
D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 234 finalPosition = startValue in startTransition()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 765 final int finalPosition = buffer.position(); in toBundle() local 766 if (finalPosition != totalSize) { in toBundle() 768 + " != finalPosition:" + finalPosition); in toBundle()
|