public abstract static class WindowManagerInternal.AppTransitionListener extends Object
AppTransition
events. Held
as an abstract class so a listener only needs to implement the methods of its interest.Constructor and Description |
---|
AppTransitionListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAppTransitionCancelledLocked()
Called when a pending app transition gets cancelled.
|
void |
onAppTransitionFinishedLocked(IBinder token)
Called when an app transition is finished running.
|
void |
onAppTransitionPendingLocked()
Called when an app transition is being setup and about to be executed.
|
void |
onAppTransitionStartingLocked(IBinder openToken,
IBinder closeToken,
Animation openAnimation,
Animation closeAnimation)
Called when an app transition gets started
|
public void onAppTransitionPendingLocked()
public void onAppTransitionCancelledLocked()
public void onAppTransitionStartingLocked(IBinder openToken, IBinder closeToken, Animation openAnimation, Animation closeAnimation)
openToken
- the token for the opening appcloseToken
- the token for the closing appopenAnimation
- the animation for the opening appcloseAnimation
- the animation for the closing apppublic void onAppTransitionFinishedLocked(IBinder token)
token
- the token for app whose transition has finished