Searched refs:PhysicsAnimator (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
H A D | PhysicsAnimatorTestUtils.kt | 39 typealias UpdateMatcher = (PhysicsAnimator.AnimationUpdate) -> Boolean 65 val defaultConstructor = PhysicsAnimator.instanceConstructor 66 PhysicsAnimator.instanceConstructor = fun(target: Any): PhysicsAnimator<*> { 118 animator: PhysicsAnimator<T>, 131 object : PhysicsAnimator.EndListener<T> { 166 PhysicsAnimator.getInstance(target) as PhysicsAnimator<T>, properties) 181 animator: PhysicsAnimator<T>, 248 animator: PhysicsAnimator<T>, 314 animator: PhysicsAnimator<T>, 346 fun <T : Any> getAnimationUpdateFrames(animator: PhysicsAnimator<T>): [all …]
|
H A D | PhysicsAnimator.kt | 61 internal val animators = WeakHashMap<Any, PhysicsAnimator<*>>() 75 private val globalDefaultFling = PhysicsAnimator.FlingConfig( 91 class PhysicsAnimator<T> private constructor (target: T) { regex 184 ): PhysicsAnimator<T> { 205 ): PhysicsAnimator<T> { 220 ): PhysicsAnimator<T> { 233 ): PhysicsAnimator<T> { 264 ): PhysicsAnimator<T> { 284 ): PhysicsAnimator<T> { 318 ): PhysicsAnimator<T> { [all …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipMotionHelper.java | 45 import com.android.wm.shell.animation.PhysicsAnimator; 113 private PhysicsAnimator<Rect> mTemporaryBoundsPhysicsAnimator; 123 private PhysicsAnimator.FlingConfig mFlingConfigX; 124 private PhysicsAnimator.FlingConfig mFlingConfigY; 126 private PhysicsAnimator.FlingConfig mStashConfigX; 129 private final PhysicsAnimator.SpringConfig mSpringConfig = 130 new PhysicsAnimator.SpringConfig(700f, DAMPING_RATIO_NO_BOUNCY); 139 private final PhysicsAnimator.SpringConfig mCatchUpSpringConfig = 212 mTemporaryBoundsPhysicsAnimator = PhysicsAnimator.getInstance( in init() 574 mFlingConfigX = new PhysicsAnimator.FlingConfig(DEFAULT_FRICTION, [all …]
|
H A D | PipDismissTargetHandler.java | 43 import com.android.wm.shell.animation.PhysicsAnimator; 85 private PhysicsAnimator<View> mMagneticTargetAnimator; 88 private final PhysicsAnimator.SpringConfig mTargetSpringConfig = 89 new PhysicsAnimator.SpringConfig( 190 mMagneticTargetAnimator = PhysicsAnimator.getInstance(mTargetView); in init()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/animation/ |
H A D | PhysicsAnimatorTest.kt | 30 import com.android.wm.shell.animation.PhysicsAnimator.EndListener 31 import com.android.wm.shell.animation.PhysicsAnimator.UpdateListener 62 private lateinit var animator: PhysicsAnimator<View> 64 private val springConfig = PhysicsAnimator.SpringConfig( 66 private val flingConfig = PhysicsAnimator.FlingConfig(2f) 94 animator = PhysicsAnimator.getInstance(testView) 104 assertEquals(animator, PhysicsAnimator.getInstance(testView)) 105 assertEquals(PhysicsAnimator.getInstance(testView), PhysicsAnimator.getInstance(testView)) 106 assertNotEquals(animator, PhysicsAnimator.getInstance(testView2)) 586 animator: PhysicsAnimator<T>, [all …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
H A D | MagnetizedObject.kt | 34 import com.android.wm.shell.animation.PhysicsAnimator 139 private val animator: PhysicsAnimator<T> = PhysicsAnimator.getInstance(underlyingObject) 172 var physicsAnimatorUpdateListener: PhysicsAnimator.UpdateListener<T>? = null 178 var physicsAnimatorEndListener: PhysicsAnimator.EndListener<T>? = null 262 var springConfig = PhysicsAnimator.SpringConfig(
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleStackView.java | 76 import com.android.wm.shell.animation.PhysicsAnimator; 133 new PhysicsAnimator.SpringConfig( 137 private final PhysicsAnimator.SpringConfig mScaleInSpringConfig = 138 new PhysicsAnimator.SpringConfig(300f, 0.9f); 141 new PhysicsAnimator.SpringConfig(900f, 1f); 144 new PhysicsAnimator.SpringConfig( 757 private PhysicsAnimator.SpringConfig mManageSpringConfig = new PhysicsAnimator.SpringConfig( 1825 PhysicsAnimator.getInstance(mExpandedViewContainerMatrix) in hideExpandedViewIfNeeded() 2241 PhysicsAnimator.getInstance(mFlyout) in animateForIme() 2650 PhysicsAnimator.getInstance(mManageMenu) in showManageMenu() [all …]
|
H A D | DismissView.kt | 29 import com.android.wm.shell.animation.PhysicsAnimator 42 private val animator = PhysicsAnimator.getInstance(circle) 43 private val spring = PhysicsAnimator.SpringConfig(STIFFNESS_LOW, DAMPING_RATIO_LOW_BOUNCY)
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaCarouselScrollHandler.kt | 37 import com.android.wm.shell.animation.PhysicsAnimator 49 private val translationConfig = PhysicsAnimator.SpringConfig( 328 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, 388 val physicsAnimator = PhysicsAnimator.getInstance(this) 428 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, 455 PhysicsAnimator.getInstance(this).spring(CONTENT_TRANSLATION, 459 PhysicsAnimator.getInstance(this).cancel()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | ExpandedAnimationController.java | 33 import com.android.wm.shell.animation.PhysicsAnimator; 73 private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig = 74 new PhysicsAnimator.SpringConfig( 529 PhysicsAnimator.getInstance(child) in onChildRemoved()
|
H A D | StackAnimationController.java | 40 import com.android.wm.shell.animation.PhysicsAnimator; 83 private final PhysicsAnimator.SpringConfig mAnimateOutSpringConfig = 84 new PhysicsAnimator.SpringConfig( 381 final float estimatedY = PhysicsAnimator.estimateFlingEndValue( in flingStackThenSpringToEdge() 383 new PhysicsAnimator.FlingConfig( in flingStackThenSpringToEdge() 758 PhysicsAnimator.getInstance(child) in onChildRemoved()
|