Home
last modified time | relevance | path

Searched refs:SpringConfig (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt67 private val globalDefaultSpring = PhysicsAnimator.SpringConfig(
107 private val springConfigs = ArrayMap<FloatPropertyCompat<in T>, SpringConfig>()
121 private var defaultSpring: SpringConfig = globalDefaultSpring
184 SpringConfig(stiffness, dampingRatio, startVelocity, toPosition) in spring()
198 config: SpringConfig = defaultSpring in spring()
213 config: SpringConfig = defaultSpring in spring()
310 springConfig: SpringConfig, in flingThenSpring()
442 fun setDefaultSpringConfig(defaultSpring: SpringConfig) { in setDefaultSpringConfig()
814 data class SpringConfig internal constructor( dataClass
831 stiffness = this@SpringConfig.stiffness in applyToAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMotionHelper.java112 private final PhysicsAnimator.SpringConfig mSpringConfig =
113 new PhysicsAnimator.SpringConfig(700f, DAMPING_RATIO_NO_BOUNCY);
117 private final PhysicsAnimator.SpringConfig mAnimateToDismissSpringConfig =
118 new PhysicsAnimator.SpringConfig(STIFFNESS_MEDIUM, DAMPING_RATIO_NO_BOUNCY);
122 private final PhysicsAnimator.SpringConfig mCatchUpSpringConfig =
123 new PhysicsAnimator.SpringConfig(5000f, DAMPING_RATIO_NO_BOUNCY);
126 private final PhysicsAnimator.SpringConfig mConflictResolutionSpringConfig =
127 new PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_NO_BOUNCY);
449 void animateToBounds(Rect bounds, PhysicsAnimator.SpringConfig springConfig) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMotionHelper.java115 private final PhysicsAnimator.SpringConfig mSpringConfig =
116 new PhysicsAnimator.SpringConfig(700f, DAMPING_RATIO_NO_BOUNCY);
120 private final PhysicsAnimator.SpringConfig mAnimateToDismissSpringConfig =
121 new PhysicsAnimator.SpringConfig(STIFFNESS_MEDIUM, DAMPING_RATIO_NO_BOUNCY);
125 private final PhysicsAnimator.SpringConfig mCatchUpSpringConfig =
126 new PhysicsAnimator.SpringConfig(5000f, DAMPING_RATIO_NO_BOUNCY);
129 private final PhysicsAnimator.SpringConfig mConflictResolutionSpringConfig =
130 new PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_NO_BOUNCY);
441 void animateToBounds(Rect bounds, PhysicsAnimator.SpringConfig springConfig) {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarMenuViewController.java50 private PhysicsAnimator.SpringConfig mMenuSpringConfig;
55 mMenuSpringConfig = new PhysicsAnimator.SpringConfig( in BubbleBarMenuViewController()
DBubbleBarAnimationHelper.java76 private final PhysicsAnimator.SpringConfig mScaleInSpringConfig =
77 new PhysicsAnimator.SpringConfig(300f, 0.9f);
80 private final PhysicsAnimator.SpringConfig mScaleOutSpringConfig =
81 new PhysicsAnimator.SpringConfig(900f, 1f);
DBubbleEducationViewController.kt53 PhysicsAnimator.SpringConfig( in onEducationVisibilityChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationController.java87 private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig =
88 new PhysicsAnimator.SpringConfig(
DStackAnimationController.java83 private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig =
84 new PhysicsAnimator.SpringConfig(
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java58 import com.android.wm.shell.shared.animation.PhysicsAnimator.SpringConfig;
85 private final SpringConfig mSnapBackSpringConfig =
86 new SpringConfig(SpringForce.STIFFNESS_LOW, SpringForce.DAMPING_RATIO_LOW_BOUNCY);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt81 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java159 private static final PhysicsAnimator.SpringConfig FLYOUT_IME_ANIMATION_SPRING_CONFIG =
160 new PhysicsAnimator.SpringConfig(
164 private final PhysicsAnimator.SpringConfig mScaleInSpringConfig =
165 new PhysicsAnimator.SpringConfig(300f, 0.9f);
167 private final PhysicsAnimator.SpringConfig mScaleOutSpringConfig =
168 new PhysicsAnimator.SpringConfig(900f, 1f);
170 private final PhysicsAnimator.SpringConfig mTranslateSpringConfig =
171 new PhysicsAnimator.SpringConfig(
900 private PhysicsAnimator.SpringConfig mManageSpringConfig = new PhysicsAnimator.SpringConfig(
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractView.kt87 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY)
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt265 var springConfig = PhysicsAnimator.SpringConfig( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaCarouselScrollHandler.kt54 PhysicsAnimator.SpringConfig(SpringForce.STIFFNESS_LOW, SpringForce.DAMPING_RATIO_LOW_BOUNCY)
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTest.kt64 private val springConfig = PhysicsAnimator.SpringConfig( in <lambda>()