Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringAnimation.java97 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 …]
DSpringForce.java121 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/
DBackPanel.kt234 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/
DStackAnimationControllerTest.java323 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/
DMenuAnimationController.java225 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/
DPhysicsAnimator.kt361 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/
DMenuAnimationControllerTest.java250 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/
DStackAnimationController.java451 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/
DUnfoldRemoteFilter.kt29 finalPosition = 1.0f in <lambda>()
DPhysicsBasedUnfoldTransitionProgressProvider.kt234 finalPosition = startValue in startTransition()
/frameworks/base/media/java/android/media/
DMediaMetrics.java765 final int finalPosition = buffer.position(); in toBundle() local
766 if (finalPosition != totalSize) { in toBundle()
768 + " != finalPosition:" + finalPosition); in toBundle()