History log of /frameworks/base/core/java/android/view/RemoteAnimationDefinition.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
77be157a9ebe7c85687c38921322608950ceef14 09-Mar-2018 Jorim Jaggi <jjaggi@google.com> Add ability to filter remote animation adapter by activity type

Such that Launcher can choose not to use the remote animation
for assistant.

Test: Open assistant, close it
Test: go/wm-smoke

Bug: 72702760
Change-Id: Ib97cb5dd076afe5535e4e7951f423ccf9e78e720
/frameworks/base/core/java/android/view/RemoteAnimationDefinition.java
bc2aabe84568c6b1a54c1b1467a539781488c8ca 08-Mar-2018 Jorim Jaggi <jjaggi@google.com> Revert "Revert "Elevate remote/recents animation priority""

This reverts commit a8b48ab7332f61afe37b2e866e9cb67421fab1c0.

Original issue has been fixed in follow up CL.

Bug: 73555925
Change-Id: Ie0a157a91c3c66df52370adad7b188f59c4749ea
/frameworks/base/core/java/android/view/RemoteAnimationDefinition.java
a8b48ab7332f61afe37b2e866e9cb67421fab1c0 28-Feb-2018 Jorim Jaggi <jjaggi@google.com> Revert "Elevate remote/recents animation priority"

This reverts commit 574aea0f1b073889186a82c94a991cc746b1c58c.

Reason for revert: Crashes sometimes (chaselist issue)

Change-Id: I1440ef7a002e85c3e020d424f13073ca2516dd9c
Fixes: 73991490
/frameworks/base/core/java/android/view/RemoteAnimationDefinition.java
574aea0f1b073889186a82c94a991cc746b1c58c 21-Feb-2018 Jorim Jaggi <jjaggi@google.com> Elevate remote/recents animation priority

If we have another process running a remote animation, we need to
elevate its scheduling priority in order to achieve a smooth
animation. To do that, we set the priority as if it would be the
top app.

Test: go/wm-smoke
Test: Capture trace, open/close apps/recents, inspect priority in
trace.

Change-Id: Ia167eeff95700d86e96e96a984099f1e28040b59
Fixes: 73555925
/frameworks/base/core/java/android/view/RemoteAnimationDefinition.java
f84e2f60fec6f6d2ecfb3b90ddf075101f4b902f 16-Jan-2018 Jorim Jaggi <jjaggi@google.com> Add ability to register remote animation definitions per activity

This introduces a more stable way of setting a remote animation
than using overridePendingTransition: An activity can register
a set of remote animations which is broke down by transition type.
Whenever the activity is involved into such a transition, the
remote animation will be started.

Remote animations take precedence over regular animations, and
prefixOrderIndex in the hierarchy decides precedence within
multiple apps that set remote animation definitions such that
higher apps override lower apps.

Bug: 64674361
Test: go/wm-smoke
Test: Use with launcher
Change-Id: Id300ff62d9f60966ea2609168f6a02860b3de7af
/frameworks/base/core/java/android/view/RemoteAnimationDefinition.java