Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A 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 …]
H A DBackPanel.kt13 import androidx.dynamicanimation.animation.SpringForce
195 var spring: SpringForce
218 spring = SpringForce()
240 springForce: SpringForce? = null
425 scale: SpringForce? = null,
426 arrowLength: SpringForce? = null,
427 arrowHeight: SpringForce? = null,
428 arrowAlpha: SpringForce? = null,
429 backgroundAlpha: SpringForce? = null,
432 backgroundWidth: SpringForce? = null,
[all …]
H A DNavigationBarEdgePanel.java49 import androidx.dynamicanimation.animation.SpringForce;
173 private final SpringForce mAngleAppearForce;
174 private final SpringForce mAngleDisappearForce;
177 private final SpringForce mRegularTranslationSpring;
178 private final SpringForce mTriggerBackSpring;
329 mAngleAppearForce = new SpringForce() in NavigationBarEdgePanel()
332 mAngleDisappearForce = new SpringForce() in NavigationBarEdgePanel()
333 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in NavigationBarEdgePanel()
340 mRegularTranslationSpring = new SpringForce() in NavigationBarEdgePanel()
343 mTriggerBackSpring = new SpringForce() in NavigationBarEdgePanel()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/
H A 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()
H A 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()
/aosp14/frameworks/base/core/java/android/window/
H A DBackProgressAnimator.java24 import com.android.internal.dynamicanimation.animation.SpringForce;
79 mSpring.setSpring(new SpringForce() in BackProgressAnimator()
80 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in BackProgressAnimator()
81 .setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)); in BackProgressAnimator()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A 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()
322 SpringForce spring, Float finalPosition) { in flingThenSpringFirstBubbleWithStackFollowing()
330 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing()
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
H A DUnfoldRemoteFilter.kt7 import androidx.dynamicanimation.animation.SpringForce
26 SpringForce().apply {
27 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
H A DPhysicsBasedUnfoldTransitionProgressProvider.kt30 import androidx.dynamicanimation.animation.SpringForce
209 SpringForce().apply {
211 dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DCrossActivityAnimation.java49 import com.android.internal.dynamicanimation.animation.SpringForce;
138 mEnteringProgressSpring.setSpring(new SpringForce() in CrossActivityAnimation()
139 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in CrossActivityAnimation()
140 .setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)); in CrossActivityAnimation()
142 mLeavingProgressSpring.setSpring(new SpringForce() in CrossActivityAnimation()
143 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in CrossActivityAnimation()
144 .setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)); in CrossActivityAnimation()
H A DCustomizeActivityAnimation.java52 import com.android.internal.dynamicanimation.animation.SpringForce;
103 mProgressSpring.setSpring(new SpringForce() in CustomizeActivityAnimation()
104 .setStiffness(SpringForce.STIFFNESS_MEDIUM) in CustomizeActivityAnimation()
105 .setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)); in CustomizeActivityAnimation()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationController.java37 import androidx.dynamicanimation.animation.SpringForce;
78 public static final float IME_ANIMATION_STIFFNESS = SpringForce.STIFFNESS_LOW;
84 STACK_SPRING_STIFFNESS, SpringForce.DAMPING_RATIO_NO_BOUNCY);
313 new SpringForce() in springStack()
320 new SpringForce() in springStack()
395 new SpringForce() in flingStackThenSpringToEdge()
404 new SpringForce() in flingStackThenSpringToEdge()
449 SpringForce spring,
611 .withStiffness(SpringForce.STIFFNESS_HIGH))
619 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing()
[all …]
H A DExpandedAnimationController.java32 import androidx.dynamicanimation.animation.SpringForce;
80 EXPAND_COLLAPSE_ANIM_STIFFNESS, SpringForce.DAMPING_RATIO_NO_BOUNCY);
371 .withStiffness(SpringForce.STIFFNESS_HIGH) in springBubbleTo()
417 .withStiffness(SpringForce.STIFFNESS_HIGH)
507 SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view) { in getSpringForce()
508 return new SpringForce() in getSpringForce()
510 .setStiffness(SpringForce.STIFFNESS_LOW); in getSpringForce()
H A DExpandedViewAnimationControllerImpl.java42 import androidx.dynamicanimation.animation.SpringForce;
257 mBackToExpandedAnimation.setSpring(new SpringForce() in animateBackToExpanded()
258 .setStiffness(SpringForce.STIFFNESS_LOW) in animateBackToExpanded()
259 .setDampingRatio(SpringForce.DAMPING_RATIO_LOW_BOUNCY) in animateBackToExpanded()
H A DPhysicsAnimationLayout.java36 import androidx.dynamicanimation.animation.SpringForce;
129 abstract SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view); in getSpringForce()
974 final SpringForce defaultSpringForce = mController.getSpringForce(property, mView);
1039 final SpringForce animationSpring = animation.getSpring();
1080 final SpringForce animationSpring = animation.getSpring();
1097 final SpringForce defaultSpringForceX = mController.getSpringForce(
1099 final SpringForce defaultSpringForceY = mController.getSpringForce(
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleEducationViewController.kt23 import androidx.dynamicanimation.animation.SpringForce
43 SpringForce.STIFFNESS_MEDIUM,
44 SpringForce.DAMPING_RATIO_LOW_BOUNCY
H A DBubbleBarMenuViewController.java29 import androidx.dynamicanimation.animation.SpringForce;
56 SpringForce.STIFFNESS_MEDIUM, SpringForce.DAMPING_RATIO_LOW_BOUNCY); in BubbleBarMenuViewController()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShadeDepthController.kt34 import androidx.dynamicanimation.animation.SpringForce
321 shadeAnimation.setStiffness(SpringForce.STIFFNESS_LOW)
322 shadeAnimation.setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)
514 springAnimation.spring = SpringForce(0.0f)
515 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
516 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationController.java36 import androidx.dynamicanimation.animation.SpringForce;
183 new SpringForce() in flingMenuThenSpringToEdge()
191 new SpringForce() in flingMenuThenSpringToEdge()
198 float friction, SpringForce spring, Float finalPosition) {
244 void springMenuWith(DynamicAnimation.ViewProperty property, SpringForce spring,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationControllerTest.java39 import androidx.dynamicanimation.animation.SpringForce;
231 mMenuAnimationController.springMenuWith(DynamicAnimation.TRANSLATION_X, new SpringForce() in setupAndRunSpringAnimations()
234 mMenuAnimationController.springMenuWith(DynamicAnimation.TRANSLATION_Y, new SpringForce() in setupAndRunSpringAnimations()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/
H A DPhysicsAnimatorTest.kt27 import androidx.dynamicanimation.animation.SpringForce
65 SpringForce.STIFFNESS_LOW, SpringForce.DAMPING_RATIO_NO_BOUNCY)
281 springConfig.apply { stiffness = SpringForce.STIFFNESS_LOW })
311 springConfig.apply { stiffness = SpringForce.STIFFNESS_VERY_LOW })
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardSurfaceBehindParamsApplier.kt30 import androidx.dynamicanimation.animation.SpringForce
64 SpringForce().apply {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObject.kt30 import androidx.dynamicanimation.animation.SpringForce
262 SpringForce.STIFFNESS_MEDIUM, SpringForce.DAMPING_RATIO_NO_BOUNCY)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
H A DDismissView.kt36 import androidx.dynamicanimation.animation.SpringForce.DAMPING_RATIO_LOW_BOUNCY
37 import androidx.dynamicanimation.animation.SpringForce.STIFFNESS_LOW
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt26 import androidx.dynamicanimation.animation.SpringForce
68 SpringForce.STIFFNESS_MEDIUM,
69 SpringForce.DAMPING_RATIO_MEDIUM_BOUNCY)
832 val springForce = anim.spring ?: SpringForce()

12