Home
last modified time | relevance | path

Searched refs:SpringForce (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
DSpringAnimation.java60 private SpringForce mSpring = null;
99 mSpring = new SpringForce(finalPosition); in SpringAnimation()
128 mSpring = new SpringForce(finalPosition); in SpringAnimation()
136 public SpringForce getSpring() { in getSpring()
148 public SpringAnimation setSpring(SpringForce force) { in setSpring()
177 mSpring = new SpringForce(finalPosition); in animateToFinalPosition()
195 mSpring = new SpringForce(mPendingPosition); in cancel()
DSpringForce.java35 public final class SpringForce implements Force { class
112 public SpringForce() { in SpringForce() method in SpringForce
121 public SpringForce(float finalPosition) { in SpringForce() method in SpringForce
134 public SpringForce setStiffness( in setStiffness()
169 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) { in setDampingRatio()
194 public SpringForce setFinalPosition(float finalPosition) { in setFinalPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgePanelParams.kt7 import androidx.dynamicanimation.animation.SpringForce
16 val heightSpring: SpringForce? = null,
17 val lengthSpring: SpringForce? = null,
18 var alphaSpring: Step<SpringForce>? = null,
28 val widthSpring: SpringForce? = null,
29 val heightSpring: SpringForce? = null,
30 val farCornerRadiusSpring: SpringForce? = null,
31 val edgeCornerRadiusSpring: SpringForce? = null,
32 val alphaSpring: SpringForce? = null,
41 val verticalTranslationSpring: SpringForce? = null,
[all …]
DBackPanel.kt13 import androidx.dynamicanimation.animation.SpringForce
199 var spring: SpringForce
224 spring = SpringForce() in getValue()
245 springForce: SpringForce? = null in stretchTo()
380 fun popArrowAlpha(startingVelocity: Float, springForce: SpringForce? = null) { in popArrowAlpha()
431 horizontalTranslation: SpringForce? = null, in animateVertically()
432 verticalTranslation: SpringForce? = null, in animateVertically()
433 scale: SpringForce? = null, in animateVertically()
434 arrowLength: SpringForce? = null, in animateVertically()
435 arrowHeight: SpringForce? = null, in animateVertically()
[all …]
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DUnfoldRemoteFilter.kt7 import androidx.dynamicanimation.animation.SpringForce
26 SpringForce().apply { in <lambda>()
27 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
DPhysicsBasedUnfoldTransitionProgressProvider.kt31 import androidx.dynamicanimation.animation.SpringForce
233 SpringForce().apply { in startTransition()
235 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in startTransition()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DStackAnimationControllerTest.java34 import androidx.dynamicanimation.animation.SpringForce;
124 5000f, 1.15f, new SpringForce(), mWidth * 1f); in testFlingSideways()
127 0f, 1.15f, new SpringForce(), 0f); in testFlingSideways()
159 0, 1.15f, new SpringForce(), 27f); in testFlingUpFromBelowBottomCenter()
162 5000f, 1.15f, new SpringForce(), 27f); in testFlingUpFromBelowBottomCenter()
323 SpringForce spring, Float finalPosition) { in flingThenSpringFirstBubbleWithStackFollowing()
331 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing()
DPhysicsAnimationLayoutTestCase.java31 import androidx.dynamicanimation.animation.SpringForce;
276 SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view) { in getSpringForce()
/frameworks/base/core/java/android/window/
DBackProgressAnimator.java29 import com.android.internal.dynamicanimation.animation.SpringForce;
105 mSpring.setSpring(new SpringForce() in BackProgressAnimator()
106 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in BackProgressAnimator()
107 .setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)); in BackProgressAnimator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DStackAnimationController.java38 import androidx.dynamicanimation.animation.SpringForce;
79 public static final float IME_ANIMATION_STIFFNESS = SpringForce.STIFFNESS_LOW;
85 STACK_SPRING_STIFFNESS, SpringForce.DAMPING_RATIO_NO_BOUNCY);
314 new SpringForce() in springStack()
321 new SpringForce() in springStack()
396 new SpringForce() in flingStackThenSpringToEdge()
405 new SpringForce() in flingStackThenSpringToEdge()
450 SpringForce spring,
612 .withStiffness(SpringForce.STIFFNESS_HIGH))
620 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing()
[all …]
DExpandedAnimationController.java33 import androidx.dynamicanimation.animation.SpringForce;
89 EXPAND_COLLAPSE_ANIM_STIFFNESS, SpringForce.DAMPING_RATIO_NO_BOUNCY);
391 .withStiffness(SpringForce.STIFFNESS_HIGH) in springBubbleTo()
437 .withStiffness(SpringForce.STIFFNESS_HIGH)
533 SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view) { in getSpringForce()
536 return new SpringForce() in getSpringForce()
540 .setStiffness(SpringForce.STIFFNESS_LOW); in getSpringForce()
DExpandedViewAnimationControllerImpl.java39 import androidx.dynamicanimation.animation.SpringForce;
237 mBackToExpandedAnimation.setSpring(new SpringForce() in animateBackToExpanded()
238 .setStiffness(SpringForce.STIFFNESS_LOW) in animateBackToExpanded()
239 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in animateBackToExpanded()
DPhysicsAnimationLayout.java36 import androidx.dynamicanimation.animation.SpringForce;
129 abstract SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view); in getSpringForce()
1007 final SpringForce defaultSpringForce = mController.getSpringForce(property, mView);
1073 final SpringForce animationSpring = animation.getSpring();
1114 final SpringForce animationSpring = animation.getSpring();
1131 final SpringForce defaultSpringForceX = mController.getSpringForce(
1133 final SpringForce defaultSpringForceY = mController.getSpringForce(
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationController.java36 import androidx.dynamicanimation.animation.SpringForce;
225 float friction, SpringForce spring, Float finalPosition) {
272 void springMenuWith(DynamicAnimation.ViewProperty property, SpringForce spring,
509 private static SpringForce createDefaultSpringForce() {
510 return new SpringForce()
536 static SpringForce createSpringForce() {
537 return new SpringForce()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt34 import androidx.dynamicanimation.animation.SpringForce in <lambda>()
322 shadeAnimation.setStiffness(SpringForce.STIFFNESS_LOW) in <lambda>()
323 shadeAnimation.setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY) in <lambda>()
515 springAnimation.spring = SpringForce(0.0f) in <lambda>()
516 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY in <lambda>()
517 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarMenuViewController.java29 import androidx.dynamicanimation.animation.SpringForce;
56 SpringForce.STIFFNESS_MEDIUM, SpringForce.DAMPING_RATIO_LOW_BOUNCY); in BubbleBarMenuViewController()
DBubbleEducationViewController.kt29 import androidx.dynamicanimation.animation.SpringForce
54 SpringForce.STIFFNESS_MEDIUM, in onEducationVisibilityChanged()
55 SpringForce.DAMPING_RATIO_LOW_BOUNCY in onEducationVisibilityChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSurfaceBehindParamsApplier.kt30 import androidx.dynamicanimation.animation.SpringForce in <lambda>()
69 SpringForce().apply { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuAnimationControllerTest.java39 import androidx.dynamicanimation.animation.SpringForce;
252 mMenuAnimationController.springMenuWith(DynamicAnimation.TRANSLATION_X, new SpringForce() in setupAndRunSpringAnimations()
256 mMenuAnimationController.springMenuWith(DynamicAnimation.TRANSLATION_Y, new SpringForce() in setupAndRunSpringAnimations()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt27 import androidx.dynamicanimation.animation.SpringForce in <lambda>()
65 SpringForce.STIFFNESS_LOW, SpringForce.DAMPING_RATIO_NO_BOUNCY) in <lambda>()
281 springConfig.apply { stiffness = SpringForce.STIFFNESS_LOW }) in <lambda>()
311 springConfig.apply { stiffness = SpringForce.STIFFNESS_VERY_LOW }) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt30 import androidx.dynamicanimation.animation.SpringForce in <lambda>()
266 SpringForce.STIFFNESS_MEDIUM, SpringForce.DAMPING_RATIO_NO_BOUNCY) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt36 import androidx.dynamicanimation.animation.SpringForce.DAMPING_RATIO_LOW_BOUNCY
37 import androidx.dynamicanimation.animation.SpringForce.STIFFNESS_LOW
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt47 import com.android.internal.dynamicanimation.animation.SpringForce in <lambda>()
109 private val postCommitFlingSpring = SpringForce(SPRING_SCALE) in <lambda>()
110 .setStiffness(SpringForce.STIFFNESS_LOW) in <lambda>()
111 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt26 import androidx.dynamicanimation.animation.SpringForce in <lambda>()
68 SpringForce.STIFFNESS_MEDIUM,
69 SpringForce.DAMPING_RATIO_MEDIUM_BOUNCY)
829 val springForce = anim.spring ?: SpringForce() in applyToAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt28 import androidx.dynamicanimation.animation.SpringForce
54 PhysicsAnimator.SpringConfig(SpringForce.STIFFNESS_LOW, SpringForce.DAMPING_RATIO_LOW_BOUNCY)

12