/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayout.java | 34 import androidx.dynamicanimation.animation.DynamicAnimation; 98 abstract Set<DynamicAnimation.ViewProperty> getAnimatedProperties(); in getAnimatedProperties() 111 abstract int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index); in getNextAnimationInChain() 121 DynamicAnimation.ViewProperty property, int index); in getOffsetForChainedPropertyAnimation() 129 abstract SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view); in getSpringForce() 222 final Set<DynamicAnimation.ViewProperty> allAnimatedProperties = new HashSet<>(); in animationsForChildrenFromIndex() 256 new DynamicAnimation.ViewProperty[0])); in animationsForChildrenFromIndex() 270 Runnable action, DynamicAnimation.ViewProperty property) { 279 Runnable action, DynamicAnimation.ViewProperty... properties) { 284 for (DynamicAnimation.ViewProperty property : properties) { [all …]
|
D | StackAnimationController.java | 34 import androidx.dynamicanimation.animation.DynamicAnimation; 142 private HashMap<DynamicAnimation.ViewProperty, DynamicAnimation> mStackPositionAnimations = 283 moveFirstBubbleWithStackFollowing(DynamicAnimation.TRANSLATION_X, x); in moveFirstBubbleWithStackFollowing() 284 moveFirstBubbleWithStackFollowing(DynamicAnimation.TRANSLATION_Y, y); in moveFirstBubbleWithStackFollowing() 313 springFirstBubbleWithStackFollowing(DynamicAnimation.TRANSLATION_X, in springStack() 320 springFirstBubbleWithStackFollowing(DynamicAnimation.TRANSLATION_Y, in springStack() 393 DynamicAnimation.TRANSLATION_X, in flingStackThenSpringToEdge() 402 DynamicAnimation.TRANSLATION_Y, in flingStackThenSpringToEdge() 447 DynamicAnimation.ViewProperty property, 463 property.equals(DynamicAnimation.TRANSLATION_X) [all …]
|
D | ExpandedAnimationController.java | 32 import androidx.dynamicanimation.animation.DynamicAnimation; 361 DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y) { in prepareForBubbleDrag() 410 bubbleView, DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y)) { in dragBubbleOut() 512 Set<DynamicAnimation.ViewProperty> getAnimatedProperties() { in getAnimatedProperties() 514 DynamicAnimation.TRANSLATION_X, in getAnimatedProperties() 515 DynamicAnimation.TRANSLATION_Y, in getAnimatedProperties() 516 DynamicAnimation.TRANSLATION_Z, in getAnimatedProperties() 517 DynamicAnimation.SCALE_X, in getAnimatedProperties() 518 DynamicAnimation.SCALE_Y, in getAnimatedProperties() 519 DynamicAnimation.ALPHA); in getAnimatedProperties() [all …]
|
D | OneTimeEndListener.java | 19 import androidx.dynamicanimation.animation.DynamicAnimation; 27 public class OneTimeEndListener implements DynamicAnimation.OnAnimationEndListener { 30 public void onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, in onAnimationEnd()
|
D | AnimatableScaleMatrix.java | 20 import androidx.dynamicanimation.animation.DynamicAnimation; 56 object.setScaleX(value * DynamicAnimation.MIN_VISIBLE_CHANGE_SCALE); 75 object.setScaleY(value * DynamicAnimation.MIN_VISIBLE_CHANGE_SCALE); 90 return scale * (1f / DynamicAnimation.MIN_VISIBLE_CHANGE_SCALE); in getAnimatableValueForScaleFactor()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimatorTest.kt | 25 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 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>() 136 .fling(DynamicAnimation.TRANSLATION_X, 1000f /* startVelocity */, flingConfig) in <lambda>() 137 .fling(DynamicAnimation.TRANSLATION_Y, 500f, flingConfig) in <lambda>() 158 .spring(DynamicAnimation.TRANSLATION_X, 10f, springConfig) in <lambda>() 159 .spring(DynamicAnimation.TRANSLATION_Y, 500f, springConfig) in <lambda>() 164 PhysicsAnimatorTestUtils.blockUntilAnimationsEnd(animator, DynamicAnimation.TRANSLATION_X) in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 34 import androidx.dynamicanimation.animation.DynamicAnimation; 71 DynamicAnimation.TRANSLATION_X, in setUp() 72 DynamicAnimation.TRANSLATION_Y, in setUp() 73 DynamicAnimation.TRANSLATION_Z)); in setUp() 74 mTestableController.setChainedProperties(Sets.newHashSet(DynamicAnimation.TRANSLATION_X)); in setUp() 76 DynamicAnimation.TRANSLATION_X, TEST_TRANSLATION_X_OFFSET); in setUp() 165 mTestableController.setEndActionForProperty(xEndAction, DynamicAnimation.TRANSLATION_X); in testSetEndActions() 166 mTestableController.setEndActionForProperty(yEndAction, DynamicAnimation.TRANSLATION_Y); in testSetEndActions() 200 mTestableController.setEndActionForProperty(xEndListener, DynamicAnimation.TRANSLATION_X); in testRemoveEndListeners() 215 mTestableController.removeEndActionForProperty(DynamicAnimation.TRANSLATION_X); in testRemoveEndListeners() [all …]
|
D | StackAnimationControllerTest.java | 33 import androidx.dynamicanimation.animation.DynamicAnimation; 93 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y); in testMoveFirstBubbleWithStackFollowing() 108 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y); in testMoveFirstBubbleWithStackFollowing() 123 DynamicAnimation.TRANSLATION_X, in testFlingSideways() 126 DynamicAnimation.TRANSLATION_Y, in testFlingSideways() 135 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, in testFlingSideways() 136 DynamicAnimation.TRANSLATION_Y); in testFlingSideways() 139 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, in testFlingSideways() 140 DynamicAnimation.TRANSLATION_Y); in testFlingSideways() 152 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y); in testFlingUpFromBelowBottomCenter() [all …]
|
D | PhysicsAnimationLayoutTestCase.java | 30 import androidx.dynamicanimation.animation.DynamicAnimation; 115 void waitForPropertyAnimations(DynamicAnimation.ViewProperty... properties) in waitForPropertyAnimations() 118 for (DynamicAnimation.ViewProperty property : properties) { in waitForPropertyAnimations() 202 Runnable action, DynamicAnimation.ViewProperty property) { in setTestEndActionForProperty() 220 protected void animateValueForChild(DynamicAnimation.ViewProperty property, View view, in animateValueForChild() 260 Set<DynamicAnimation.ViewProperty> getAnimatedProperties() { in getAnimatedProperties() 265 int getNextAnimationInChain(DynamicAnimation.ViewProperty property, int index) { in getNextAnimationInChain() 270 float getOffsetForChainedPropertyAnimation(DynamicAnimation.ViewProperty property, in getOffsetForChainedPropertyAnimation() 276 SpringForce getSpringForce(DynamicAnimation.ViewProperty property, View view) { in getSpringForce()
|
D | ExpandedAnimationControllerTest.java | 34 import androidx.dynamicanimation.animation.DynamicAnimation; 203 waitForPropertyAnimations(DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y); in waitForAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 32 import androidx.dynamicanimation.animation.DynamicAnimation; 79 final HashMap<DynamicAnimation.ViewProperty, DynamicAnimation> mPositionAnimations = 125 springMenuWith(DynamicAnimation.TRANSLATION_X, in moveToPositionX() 130 DynamicAnimation.TRANSLATION_X.setValue(mMenuView, positionX); in moveToPositionX() 140 springMenuWith(DynamicAnimation.TRANSLATION_Y, in moveToPositionY() 145 DynamicAnimation.TRANSLATION_Y.setValue(mMenuView, positionY); in moveToPositionY() 211 flingThenSpringMenuWith(DynamicAnimation.TRANSLATION_X, in flingMenuThenSpringToEdge() 217 flingThenSpringMenuWith(DynamicAnimation.TRANSLATION_Y, in flingMenuThenSpringToEdge() 224 private void flingThenSpringMenuWith(DynamicAnimation.ViewProperty property, float velocity, 231 property.equals(DynamicAnimation.TRANSLATION_X) [all …]
|
D | DragToInteractAnimationController.java | 29 import androidx.dynamicanimation.animation.DynamicAnimation; 197 DynamicAnimation.TRANSLATION_X), in createMagnetizedObjectAndAnimator() 199 DynamicAnimation.TRANSLATION_Y)) { in createMagnetizedObjectAndAnimator()
|
D | DragToInteractView.kt | 38 import androidx.dynamicanimation.animation.DynamicAnimation 198 animator.spring(DynamicAnimation.TRANSLATION_Y, 0f, spring).start() in show() 220 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(), spring) in hide()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationControllerTest.java | 36 import androidx.dynamicanimation.animation.DynamicAnimation; 66 private ArgumentCaptor<DynamicAnimation.OnAnimationEndListener> mEndListenerCaptor; 95 mEndListenerCaptor = ArgumentCaptor.forClass(DynamicAnimation.OnAnimationEndListener.class); in setUp() 103 mMenuAnimationController.mPositionAnimations.values().forEach(DynamicAnimation::cancel); in tearDown() 171 final Optional<DynamicAnimation> anyAnimation = in startSpringAnimationsAndEndOneAnimation_notTriggerEndAction() 200 .forEach(listener -> listener.onAnimationEnd(mock(DynamicAnimation.class), in flingThenSpringAnimationsAreEnded_triggerEndAction() 217 final Optional<DynamicAnimation.OnAnimationEndListener> anyAnimation = in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction() 220 listener -> listener.onAnimationEnd(mock(DynamicAnimation.class), /* canceled */ in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction() 235 DynamicAnimation.TRANSLATION_X).isRunning()).isTrue(); in tuck_animates() 243 DynamicAnimation.TRANSLATION_X).isRunning()).isTrue(); in untuck_animates() [all …]
|
D | MenuListViewTouchHandlerTest.java | 38 import androidx.dynamicanimation.animation.DynamicAnimation; 252 mMenuAnimationController.mPositionAnimations.values().forEach(DynamicAnimation::cancel); in tearDown()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/ |
D | PhysicsAnimator.kt | 22 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 628 anim: DynamicAnimation<*>, in configureDynamicAnimation() 630 ): DynamicAnimation<*> { in configureDynamicAnimation() 1017 DynamicAnimation.TRANSLATION_X -> "translationX" in getReadablePropertyName() 1018 DynamicAnimation.TRANSLATION_Y -> "translationY" in getReadablePropertyName() 1019 DynamicAnimation.TRANSLATION_Z -> "translationZ" in getReadablePropertyName() 1020 DynamicAnimation.SCALE_X -> "scaleX" in getReadablePropertyName() 1021 DynamicAnimation.SCALE_Y -> "scaleY" in getReadablePropertyName() 1022 DynamicAnimation.ROTATION -> "rotation" in getReadablePropertyName() 1023 DynamicAnimation.ROTATION_X -> "rotationX" in getReadablePropertyName() [all …]
|
/frameworks/base/core/java/android/window/ |
D | BackProgressAnimator.java | 25 import com.android.internal.dynamicanimation.animation.DynamicAnimation; 40 public class BackProgressAnimator implements DynamicAnimation.OnAnimationUpdateListener { 59 private final DynamicAnimation.OnAnimationEndListener mOnAnimationEndListener = 65 private final DynamicAnimation.OnAnimationUpdateListener mOnBackInvokedFlingUpdateListener = 91 public void onAnimationUpdate(DynamicAnimation animation, float value, float velocity) { in onAnimationUpdate()
|
/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
D | FlingAnimation.java | 39 public final class FlingAnimation extends DynamicAnimation<FlingAnimation> { 174 private final DynamicAnimation.MassState mMassState = new DynamicAnimation.MassState();
|
D | DynamicAnimation.java | 43 public abstract class DynamicAnimation<T extends DynamicAnimation<T>> class 343 DynamicAnimation(final FloatValueHolder floatValueHolder) { in DynamicAnimation() method in DynamicAnimation 366 <K> DynamicAnimation(K object, FloatProperty<K> property) { in DynamicAnimation() method in DynamicAnimation 794 void onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, in onAnimationEnd() 813 void onAnimationUpdate(DynamicAnimation animation, float value, float velocity); in onAnimationUpdate()
|
D | SpringForce.java | 106 private final DynamicAnimation.MassState mMassState = new DynamicAnimation.MassState(); 265 DynamicAnimation.MassState updateValues(double lastDisplacement, double lastVelocity, in updateValues()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleEducationViewController.kt | 28 import androidx.dynamicanimation.animation.DynamicAnimation 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 | 28 import androidx.dynamicanimation.animation.DynamicAnimation; 129 .spring(DynamicAnimation.ALPHA, show ? 1f : 0f) in animateTransition() 130 .spring(DynamicAnimation.SCALE_Y, show ? 1f : MENU_INITIAL_SCALE) in animateTransition()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/ |
D | PhysicsBasedUnfoldTransitionProgressProvider.kt | 28 import androidx.dynamicanimation.animation.DynamicAnimation 60 ) : UnfoldTransitionProgressProvider, FoldUpdatesListener, DynamicAnimation.OnAnimationEndListener { 205 animation: DynamicAnimation<out DynamicAnimation<*>>, in onAnimationEnd()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | DismissView.kt | 35 import androidx.dynamicanimation.animation.DynamicAnimation 151 .spring(DynamicAnimation.TRANSLATION_Y, 0f, spring) in show() 168 .spring(DynamicAnimation.TRANSLATION_Y, height.toFloat(), in hide()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 28 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 686 DynamicAnimation.TRANSLATION_X, in <lambda>() 687 DynamicAnimation.TRANSLATION_Y) { in <lambda>()
|