/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 199 var spring: SpringForce variable 200 get() = animation.spring 203 animation.spring = value 224 spring = SpringForce() in getValue() 234 animation.spring.finalPosition = newPosition in snapTo() 252 springForce?.let { spring = springForce } in stretchTo() 443 arrowLength?.let { this.arrowLength.spring = it } in animateVertically() 444 arrowHeight?.let { this.arrowHeight.spring = it } in animateVertically() 445 arrowAlpha?.let { this.arrowAlpha.spring = it } in animateVertically() 446 backgroundAlpha?.let { this.backgroundAlpha.spring = it } in animateVertically() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimatorTest.kt | 112 .spring(DynamicAnimation.TRANSLATION_X, 50f, springConfig) in <lambda>() 121 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>() 122 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig) in <lambda>() 123 .spring(DynamicAnimation.SCALE_Y, 1.1f, springConfig) in <lambda>() 158 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>() 159 .spring(DynamicAnimation.TRANSLATION_Y, 500f, springConfig) in <lambda>() 213 .spring(DynamicAnimation.TRANSLATION_X, 100f, springConfig) in <lambda>() 214 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig) in <lambda>() 231 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>() 244 .spring(DynamicAnimation.TRANSLATION_X, 0f, springConfig) in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMotionHelper.java | 268 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mCatchUpSpringConfig) in movePip() 269 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mCatchUpSpringConfig) in movePip() 270 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip() 271 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip() 304 .spring(FloatProperties.RECT_X, destinationX, velX, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 305 .spring(FloatProperties.RECT_Y, destinationY, velY, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 306 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 307 .spring(FloatProperties.RECT_HEIGHT, desiredHeight, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 416 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mSpringConfig) in movetoTarget() 417 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mSpringConfig) in movetoTarget() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipMotionHelper.java | 260 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mCatchUpSpringConfig) in movePip() 261 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mCatchUpSpringConfig) in movePip() 262 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip() 263 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip() 296 .spring(FloatProperties.RECT_X, destinationX, velX, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 297 .spring(FloatProperties.RECT_Y, destinationY, velY, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 298 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 299 .spring(FloatProperties.RECT_HEIGHT, desiredHeight, mAnimateToDismissSpringConfig) in animateIntoDismissTarget() 408 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mSpringConfig) in movetoTarget() 409 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mSpringConfig) in movetoTarget() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | DismissView.kt | 81 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY) constant 151 .spring(DynamicAnimation.TRANSLATION_Y, 0f, spring) in show() 168 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(), in hide() 169 spring) in hide()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimator.kt | 172 fun spring( in spring() method 194 fun spring( in spring() method 200 return spring( in spring() 210 fun spring( in spring() method 215 return spring(property, toPosition, 0f, config) in spring() 224 fun spring( in spring() method 228 return spring(property, toPosition, 0f) in spring() 336 return spring(property, toPosition, startVelocity, springConfig) in flingThenSpring() 829 val springForce = anim.spring ?: SpringForce() in applyToAnimation() 830 anim.spring = springForce.apply { in applyToAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | DragToInteractView.kt | 87 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY) constant 198 animator.spring(DynamicAnimation.TRANSLATION_Y, 0f, spring).start() in show() 220 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(), spring) in hide()
|
D | MenuAnimationController.java | 225 float friction, SpringForce spring, Float finalPosition) { 256 springMenuWith(property, spring, endVelocity, endPosition, 272 void springMenuWith(DynamicAnimation.ViewProperty property, SpringForce spring, 277 .setSpring(spring)
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/ |
D | ToQuickSettingsShadeTransition.kt | 20 import androidx.compose.animation.core.spring 37 spring( in TransitionBuilder()
|
D | ToNotificationsShadeTransition.kt | 20 import androidx.compose.animation.core.spring 39 spring( in TransitionBuilder()
|
D | ToSplitShadeTransition.kt | 20 import androidx.compose.animation.core.spring 38 spring( in TransitionBuilder()
|
D | ToShadeTransition.kt | 20 import androidx.compose.animation.core.spring 40 spring( in toShadeTransition()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleEducationViewController.kt | 176 ?.spring(DynamicAnimation.ALPHA, if (show) 1f else 0f) in animateTransition() 177 ?.spring(DynamicAnimation.SCALE_X, if (show) 1f else EDU_SCALE_HIDDEN) in animateTransition() 178 ?.spring(DynamicAnimation.SCALE_Y, if (show) 1f else EDU_SCALE_HIDDEN) in animateTransition()
|
D | BubbleBarMenuViewController.java | 129 .spring(DynamicAnimation.ALPHA, show ? 1f : 0f) in animateTransition() 130 .spring(DynamicAnimation.SCALE_Y, show ? 1f : MENU_INITIAL_SCALE) in animateTransition()
|
D | BubbleBarAnimationHelper.java | 178 .spring(AnimatableScaleMatrix.SCALE_X, in animateExpansion() 181 .spring(AnimatableScaleMatrix.SCALE_Y, in animateExpansion() 217 .spring(AnimatableScaleMatrix.SCALE_X, in animateCollapse() 221 .spring(AnimatableScaleMatrix.SCALE_Y, in animateCollapse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShadeDepthController.kt | 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>() 536 springAnimation.spring.stiffness = stiffness in <lambda>() 540 springAnimation.spring.dampingRatio = dampingRation in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | TransitionDslTest.kt | 21 import androidx.compose.animation.core.spring 196 val defaultSpec = spring<Float>(stiffness = 1f) in springSpec() 197 val specFromAToC = spring<Float>(stiffness = 2f) in springSpec()
|
D | DraggableHandlerTest.kt | 20 import androidx.compose.animation.core.spring 1039 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>() 1065 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>() 1091 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>() 1118 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>() 1145 from(SceneA, to = SceneB) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>() 1174 from(SceneA, to = SceneC) { spec = spring(dampingRatio = Spring.DampingRatioNoBouncy) } in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | StackAnimationController.java | 450 SpringForce spring, 489 springFirstBubbleWithStackFollowing(property, spring, endVelocity, 620 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument 638 .setSpring(spring) in springFirstBubbleWithStackFollowing() 740 .spring(DynamicAnimation.ALPHA, 0f) in onChildRemoved() 741 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig) in onChildRemoved() 742 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig) in onChildRemoved()
|
D | ExpandedAnimationController.java | 592 .spring(DynamicAnimation.ALPHA, 0f) in onChildRemoved() 593 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig) in onChildRemoved() 594 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig) in onChildRemoved()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleStackView.java | 2390 .spring(AnimatableScaleMatrix.SCALE_X, in hideExpandedViewIfNeeded() 2394 .spring(AnimatableScaleMatrix.SCALE_Y, in hideExpandedViewIfNeeded() 2417 .spring(AnimatableScaleMatrix.SCALE_X, in showExpandedViewIfNeeded() 2420 .spring(AnimatableScaleMatrix.SCALE_Y, in showExpandedViewIfNeeded() 2570 .spring(AnimatableScaleMatrix.SCALE_X, in animateBubbleExpansion() 2573 .spring(AnimatableScaleMatrix.SCALE_Y, in animateBubbleExpansion() 2625 .spring(AnimatableScaleMatrix.SCALE_X, in animateOverflowExpansion() 2628 .spring(AnimatableScaleMatrix.SCALE_Y, in animateOverflowExpansion() 2729 .spring(DynamicAnimation.TRANSLATION_X, translationX, mTranslateSpringConfig) in animateSwitchBubbles() 2733 .spring(DynamicAnimation.TRANSLATION_Y, in animateSwitchBubbles() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaCarouselScrollHandler.kt | 322 .spring( in onTouch() 390 .spring( in onScroll() 429 .spring( in onFling() 458 .spring(CONTENT_TRANSLATION, 0.0f, config = translationConfig) in resetTranslation()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | UnfoldRemoteFilter.kt | 25 spring = in <lambda>()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | TransitionDslImpl.kt | 25 import androidx.compose.animation.core.spring 192 override var spec: AnimationSpec<Float> = spring(stiffness = Spring.StiffnessLow)
|