Home
last modified time | relevance | path

Searched refs:endActions (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DPhysicsAnimationLayout.java88 void startAll(Runnable... endActions); in startAll() argument
230 return (endActions) -> { in animationsForChildrenFromIndex()
232 for (Runnable action : endActions) { in animationsForChildrenFromIndex()
243 if (endActions != null) { in animationsForChildrenFromIndex()
734 mEndActionsForProperty.put(property, endActions);
746 return alpha(to, endActions);
759 return translationX(to, endActions);
772 return translationY(to, endActions);
781 mPositionEndActions = endActions;
851 return scaleX(to, endActions);
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleBarMenuViewController.java85 Runnable endActions = () -> { in showMenu() local
92 animateTransition(true /* show */, endActions); in showMenu()
94 endActions.run(); in showMenu()
105 Runnable endActions = () -> { in hideMenu() local
113 animateTransition(false /* show */, endActions); in hideMenu()
115 endActions.run(); in hideMenu()
124 private void animateTransition(boolean show, Runnable endActions) { in animateTransition() argument
133 endActions.run(); in animateTransition()
H A DBubbleEducationViewController.kt112 private fun animateTransition(show: Boolean, endActions: () -> Unit) {
118 .withEndActions(endActions)
120 } ?: endActions()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt118 private val endActions = ArrayList<EndAction>() regex
428 fun withEndActions(vararg endActions: EndAction?): PhysicsAnimator<T> {
429 this.endActions.addAll(endActions.filterNotNull())
437 fun withEndActions(vararg endActions: Runnable?): PhysicsAnimator<T> {
438 this.endActions.addAll(endActions.filterNotNull().map { it::run })
585 ArrayList(endActions)))
602 endActions.clear()
663 private var endActions: List<EndAction>
743 endActions.forEach { it() }