Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
DPhysicsAnimationLayout.java88 void startAll(Runnable... endActions); in startAll() argument
239 return (endActions) -> { in animationsForChildrenFromIndex()
241 for (Runnable action : endActions) { in animationsForChildrenFromIndex()
252 if (endActions != null) { in animationsForChildrenFromIndex()
748 DynamicAnimation.ViewProperty property, float value, Runnable... endActions) {
750 mEndActionsForProperty.put(property, endActions);
755 public PhysicsPropertyAnimator alpha(float alpha, Runnable... endActions) {
756 return property(DynamicAnimation.ALPHA, alpha, endActions);
760 public PhysicsPropertyAnimator alpha(float from, float to, Runnable... endActions) {
762 return alpha(to, endActions);
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
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()
DBubbleEducationViewController.kt78 fun hideEducation(animated: Boolean, endActions: () -> Unit = {}) { in <lambda>()
84 endActions() in <lambda>()
89 endActions()
174 private fun animateTransition(show: Boolean, endActions: () -> Unit) { in animateTransition()
179 ?.withEndActions(endActions) in animateTransition()
181 ?: endActions() in animateTransition()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimator.kt118 private val endActions = ArrayList<EndAction>() constant
428 fun withEndActions(vararg endActions: EndAction?): PhysicsAnimator<T> { in withEndActions()
429 this.endActions.addAll(endActions.filterNotNull()) in withEndActions()
437 fun withEndActions(vararg endActions: Runnable?): PhysicsAnimator<T> { in withEndActions()
438 this.endActions.addAll(endActions.filterNotNull().map { it::run }) in withEndActions()
584 ArrayList(endActions))) in startInternal()
601 endActions.clear() in clearAnimator()
662 private var endActions: List<EndAction> variable in com.android.wm.shell.shared.animation.InternalListener
740 endActions.forEach { it() } in onInternalAnimationEnd()