Home
last modified time | relevance | path

Searched refs:spring (Results 1 – 24 of 24) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DBackPanel.kt195 var spring: SpringForce
196 get() = animation.spring
199 animation.spring = value
218 spring = SpringForce()
228 animation.spring.finalPosition = newPosition
247 springForce?.let { spring = springForce }
435 arrowLength?.let { this.arrowLength.spring = it }
436 arrowHeight?.let { this.arrowHeight.spring = it }
437 arrowAlpha?.let { this.arrowAlpha.spring = it }
438 backgroundAlpha?.let { this.backgroundAlpha.spring = it }
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/
H A DPhysicsAnimatorTest.kt112 .spring(DynamicAnimation.TRANSLATION_X, 50f, springConfig)
121 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig)
122 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig)
123 .spring(DynamicAnimation.SCALE_Y, 1.1f, springConfig)
158 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig)
214 .spring(DynamicAnimation.TRANSLATION_Y, 50f, springConfig)
244 .spring(DynamicAnimation.TRANSLATION_X, 0f, springConfig)
261 .spring(
276 .spring(
306 .spring(
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMotionHelper.java261 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mCatchUpSpringConfig) in movePip()
263 .spring(FloatProperties.RECT_X, toBounds.left, mCatchUpSpringConfig) in movePip()
264 .spring(FloatProperties.RECT_Y, toBounds.top, mCatchUpSpringConfig); in movePip()
297 .spring(FloatProperties.RECT_X, destinationX, velX, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
298 .spring(FloatProperties.RECT_Y, destinationY, velY, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
299 .spring(FloatProperties.RECT_WIDTH, desiredWidth, mAnimateToDismissSpringConfig) in animateIntoDismissTarget()
399 .spring(FloatProperties.RECT_WIDTH, getBounds().width(), mSpringConfig) in movetoTarget()
400 .spring(FloatProperties.RECT_HEIGHT, getBounds().height(), mSpringConfig) in movetoTarget()
439 .spring(FloatProperties.RECT_X, bounds.left, springConfig)
440 .spring(FloatProperties.RECT_Y, bounds.top, springConfig);
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
H A DDismissView.kt79 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY) regex
148 .spring(DynamicAnimation.TRANSLATION_Y, 0f, spring)
165 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(),
166 spring)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt172 fun spring( regex
194 fun spring( regex
200 return spring(
210 fun spring( regex
215 return spring(property, toPosition, 0f, config)
224 fun spring( regex
228 return spring(property, toPosition, 0f)
336 return spring(property, toPosition, startVelocity, springConfig)
832 val springForce = anim.spring ?: SpringForce()
833 anim.spring = springForce.apply {
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleEducationViewController.kt115 .spring(DynamicAnimation.ALPHA, if (show) 1f else 0f)
116 .spring(DynamicAnimation.SCALE_X, if (show) 1f else EDU_SCALE_HIDDEN)
117 .spring(DynamicAnimation.SCALE_Y, if (show) 1f else EDU_SCALE_HIDDEN)
H A DBubbleBarAnimationHelper.java152 .spring(AnimatableScaleMatrix.SCALE_X, in animateExpansion()
155 .spring(AnimatableScaleMatrix.SCALE_Y, in animateExpansion()
190 .spring(AnimatableScaleMatrix.SCALE_X, in animateCollapse()
194 .spring(AnimatableScaleMatrix.SCALE_Y, in animateCollapse()
H A DBubbleBarMenuViewController.java129 .spring(DynamicAnimation.ALPHA, show ? 1f : 0f) in animateTransition()
130 .spring(DynamicAnimation.SCALE_Y, show ? 1f : MENU_INITIAL_SCALE) in animateTransition()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationControllerTest.java322 SpringForce spring, Float finalPosition) { in flingThenSpringFirstBubbleWithStackFollowing() argument
325 property, vel, friction, spring, finalPosition)); in flingThenSpringFirstBubbleWithStackFollowing()
330 SpringForce spring, float vel, float finalPosition, Runnable... after) { in springFirstBubbleWithStackFollowing() argument
333 property, spring, vel, finalPosition, after)); in springFirstBubbleWithStackFollowing()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShadeDepthController.kt514 springAnimation.spring = SpringForce(0.0f)
515 springAnimation.spring.dampingRatio = SpringForce.DAMPING_RATIO_NO_BOUNCY
516 springAnimation.spring.stiffness = SpringForce.STIFFNESS_HIGH
535 springAnimation.spring.stiffness = stiffness
539 springAnimation.spring.dampingRatio = dampingRation
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationController.java198 float friction, SpringForce spring, Float finalPosition) {
229 springMenuWith(property, spring, endVelocity, endPosition);
244 void springMenuWith(DynamicAnimation.ViewProperty property, SpringForce spring,
249 .setSpring(spring)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationController.java449 SpringForce spring,
488 springFirstBubbleWithStackFollowing(property, spring, endVelocity,
619 DynamicAnimation.ViewProperty property, SpringForce spring, in springFirstBubbleWithStackFollowing() argument
637 .setSpring(spring) in springFirstBubbleWithStackFollowing()
739 .spring(DynamicAnimation.ALPHA, 0f) in onChildRemoved()
740 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig) in onChildRemoved()
741 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig) in onChildRemoved()
H A DExpandedAnimationController.java562 .spring(DynamicAnimation.ALPHA, 0f) in onChildRemoved()
563 .spring(DynamicAnimation.SCALE_X, 0f, mAnimateOutSpringConfig) in onChildRemoved()
564 .spring(DynamicAnimation.SCALE_Y, 0f, mAnimateOutSpringConfig) in onChildRemoved()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleStackView.java2159 .spring(AnimatableScaleMatrix.SCALE_X, in hideExpandedViewIfNeeded()
2163 .spring(AnimatableScaleMatrix.SCALE_Y, in hideExpandedViewIfNeeded()
2186 .spring(AnimatableScaleMatrix.SCALE_X, in showExpandedViewIfNeeded()
2189 .spring(AnimatableScaleMatrix.SCALE_Y, in showExpandedViewIfNeeded()
2319 .spring(AnimatableScaleMatrix.SCALE_X, in animateExpansion()
2322 .spring(AnimatableScaleMatrix.SCALE_Y, in animateExpansion()
2485 .spring(AnimatableScaleMatrix.SCALE_X, in animateSwitchBubbles()
3000 .spring(DynamicAnimation.ALPHA, 1f) in showManageMenu()
3001 .spring(DynamicAnimation.SCALE_X, 1f) in showManageMenu()
3002 .spring(DynamicAnimation.SCALE_Y, 1f) in showManageMenu()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaCarouselScrollHandler.kt319 .spring(
387 .spring(
426 .spring(
455 .spring(CONTENT_TRANSLATION, 0.0f, config = translationConfig)
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DTransitionDslImpl.kt23 import androidx.compose.animation.core.spring
80 override var spec: AnimationSpec<Float> = spring(stiffness = Spring.StiffnessLow)
H A DSwipeToScene.kt21 import androidx.compose.animation.core.spring
359 spring(
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
H A DUnfoldRemoteFilter.kt25 spring =
H A DPhysicsBasedUnfoldTransitionProgressProvider.kt208 spring =
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObject.kt507 .spring(xProperty, xProperty.getValue(underlyingObject) + xDiff, velX,
509 .spring(yProperty, yProperty.getValue(underlyingObject) + yDiff, velY,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardSurfaceBehindParamsApplier.kt63 spring =
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java558 return PhysicsAnimator.getInstance((ExpandableNotificationRow) target).spring( in createSnapBackAnimation()
564 return PhysicsAnimator.getInstance(target).spring(TRANSLATION_X, toPosition, startVelocity, in createSnapBackAnimation()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dphysics-animation-layout.md64 This would use the physics animations constructed by the layout to spring the view to *(100, 200)* …
/aosp14/frameworks/base/packages/CredentialManager/
H A Dprofile.txt.prof273 HSPLandroidx/compose/animation/core/AnimationSpecKt;->spring$default(FFLjava/lang/Object;ILjava/lan…
274 HSPLandroidx/compose/animation/core/AnimationSpecKt;->spring(FFLjava/lang/Object;)Landroidx/compose…