/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationController.java | 33 import androidx.dynamicanimation.animation.DynamicAnimation; 81 final HashMap<DynamicAnimation.ViewProperty, DynamicAnimation> mPositionAnimations = 129 springMenuWith(DynamicAnimation.TRANSLATION_X, in moveToPositionX() 134 DynamicAnimation.TRANSLATION_X.setValue(mMenuView, positionX); in moveToPositionX() 145 springMenuWith(DynamicAnimation.TRANSLATION_Y, in moveToPositionY() 150 DynamicAnimation.TRANSLATION_Y.setValue(mMenuView, positionY); in moveToPositionY() 225 flingThenSpringMenuWith(DynamicAnimation.TRANSLATION_X, in flingMenuThenSpringToEdge() 232 flingThenSpringMenuWith(DynamicAnimation.TRANSLATION_Y, in flingMenuThenSpringToEdge() 238 flingThenSpringMenuWith(DynamicAnimation.TRANSLATION_Y, in flingMenuThenSpringToEdge() 246 private void flingThenSpringMenuWith(DynamicAnimation.ViewProperty property, float velocity, [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/dialog/ui/utils/ |
D | JankListenerFactory.kt | 21 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 33 fun show(view: View): DynamicAnimation.OnAnimationUpdateListener { in <lambda>() 37 fun dismiss(view: View): DynamicAnimation.OnAnimationUpdateListener { in <lambda>() 44 ): DynamicAnimation.OnAnimationUpdateListener { in <lambda>() 46 return DynamicAnimation.OnAnimationUpdateListener { animation, _, _ -> in <lambda>()
|
D | SuspendAnimators.kt | 24 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 104 DynamicAnimation.OnAnimationUpdateListener { _, value, _ -> onAnimationUpdate(value) } in continuation() 106 DynamicAnimation.OnAnimationEndListener { _, _, _, _ -> continuation.resumeIfCan(Unit) } in continuation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuAnimationControllerTest.java | 35 import androidx.dynamicanimation.animation.DynamicAnimation; 67 private ArgumentCaptor<DynamicAnimation.OnAnimationEndListener> mEndListenerCaptor; 98 mEndListenerCaptor = ArgumentCaptor.forClass(DynamicAnimation.OnAnimationEndListener.class); in setUp() 106 mMenuAnimationController.mPositionAnimations.values().forEach(DynamicAnimation::cancel); in tearDown() 174 final Optional<DynamicAnimation> anyAnimation = in startSpringAnimationsAndEndOneAnimation_notTriggerEndAction() 203 .forEach(listener -> listener.onAnimationEnd(mock(DynamicAnimation.class), in flingThenSpringAnimationsAreEnded_triggerEndAction() 220 final Optional<DynamicAnimation.OnAnimationEndListener> anyAnimation = in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction() 223 listener -> listener.onAnimationEnd(mock(DynamicAnimation.class), /* canceled */ in existFlingIsRunningAndTheOtherAreEnd_notTriggerEndAction() 238 DynamicAnimation.TRANSLATION_X).isRunning()).isTrue(); in tuck_animates() 246 DynamicAnimation.TRANSLATION_X).isRunning()).isTrue(); in untuck_animates() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/education/ |
D | DesktopWindowingEducationPromoController.kt | 33 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 143 ?.spring(DynamicAnimation.ALPHA, 1f) in <lambda>() 144 ?.spring(DynamicAnimation.SCALE_X, 1f) in <lambda>() 145 ?.spring(DynamicAnimation.SCALE_Y, 1f) in <lambda>() 152 ?.spring(DynamicAnimation.ALPHA, 0f) in <lambda>() 153 ?.spring(DynamicAnimation.SCALE_X, 0f) in <lambda>() 154 ?.spring(DynamicAnimation.SCALE_Y, 0f) in <lambda>()
|
D | DesktopWindowingEducationTooltipController.kt | 38 import androidx.dynamicanimation.animation.DynamicAnimation in <lambda>() 149 ?.spring(DynamicAnimation.ALPHA, 1f) in <lambda>() 150 ?.spring(DynamicAnimation.SCALE_X, 1f) in <lambda>() 151 ?.spring(DynamicAnimation.SCALE_Y, 1f) in <lambda>() 158 ?.spring(DynamicAnimation.ALPHA, 0f) in <lambda>() 159 ?.spring(DynamicAnimation.SCALE_X, 0f) in <lambda>() 160 ?.spring(DynamicAnimation.SCALE_Y, 0f) in <lambda>()
|
/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() 1022 DynamicAnimation.TRANSLATION_X -> "translationX" in getReadablePropertyName() 1023 DynamicAnimation.TRANSLATION_Y -> "translationY" in getReadablePropertyName() 1024 DynamicAnimation.TRANSLATION_Z -> "translationZ" in getReadablePropertyName() 1025 DynamicAnimation.SCALE_X -> "scaleX" in getReadablePropertyName() 1026 DynamicAnimation.SCALE_Y -> "scaleY" in getReadablePropertyName() 1027 DynamicAnimation.ROTATION -> "rotation" in getReadablePropertyName() 1028 DynamicAnimation.ROTATION_X -> "rotationX" in getReadablePropertyName() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | PhysicsPropertyAnimator.kt | 21 import com.android.internal.dynamicanimation.animation.DynamicAnimation in <lambda>() 70 var doubleOvershootAvoidingListener: DynamicAnimation.OnAnimationUpdateListener? = null 116 endListener: DynamicAnimation.OnAnimationEndListener? = null, in setProperty() 137 endListener: DynamicAnimation.OnAnimationEndListener?, in startAnimation() 169 DynamicAnimation.OnAnimationUpdateListener { _, offset: Float, velocity: Float -> in startAnimation()
|
/frameworks/base/core/java/android/window/ |
D | BackProgressAnimator.java | 32 import com.android.internal.dynamicanimation.animation.DynamicAnimation; 47 public class BackProgressAnimator implements DynamicAnimation.OnAnimationUpdateListener { 72 private final DynamicAnimation.OnAnimationEndListener mOnAnimationEndListener = 78 private final DynamicAnimation.OnAnimationUpdateListener mOnBackInvokedFlingUpdateListener = 105 public void onAnimationUpdate(DynamicAnimation animation, float value, float velocity) { in onAnimationUpdate()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/ |
D | PhysicsPropertyAnimatorTest.kt | 26 import com.android.internal.dynamicanimation.animation.DynamicAnimation 60 private var finishListener: DynamicAnimation.OnAnimationEndListener? = null 65 finishListener = Mockito.mock(DynamicAnimation.OnAnimationEndListener::class.java) in setUp() 226 val finishListener2 = Mockito.mock(DynamicAnimation.OnAnimationEndListener::class.java) in testUsingListenerProperties() 231 ): DynamicAnimation.OnAnimationEndListener { in testUsingListenerProperties()
|
/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 798 void onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, in onAnimationEnd() 817 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 26 import com.android.internal.dynamicanimation.animation.DynamicAnimation; 85 public DynamicAnimation.OnAnimationEndListener getAnimationEndListener(Property property) { 105 public Consumer<DynamicAnimation> getAnimationStartListener(Property property) {
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
D | FlingOnBackAnimationCallback.kt | 28 import com.android.internal.dynamicanimation.animation.DynamicAnimation in <lambda>() 55 DynamicAnimation.OnAnimationUpdateListener { _, progress: Float, _ -> in <lambda>() 69 DynamicAnimation.OnAnimationEndListener { _, _, _, _ -> in <lambda>()
|
/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()
|