History log of /frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0e3de6cacaffcfeda4d6353be61e2f1f9ed80705 30-Jul-2015 Dianne Hackborn <hackbod@google.com> Change MNC codename to just M.

Change-Id: I4281d200ff6560791c47cf9073ceea1cb509361e
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
2c256a04ae551780c733eea17995b4b2ce69eecd 16-Jul-2015 George Mount <mount@google.com> Make additional shared elements a version-checked feature.

Bug 22505481

ag/684544 added a feature to allow shared elements that weren't
shared into an Activity to be shared back. However, if you are
targeting an older version of the SDK, you may get an unexpected
shared element back. This change in behavior has been locked
behind a target version check.

Change-Id: I7162e24f3b14fedd6b308e89e9d04ac67660f7d6
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
80141d1c8b799cf7669a29b8837037cf3934ddb9 14-Jul-2015 George Mount <mount@google.com> Fix input pause without resume.

Bug 22455206

Previously, when an exit activity transition was created, the input
would be paused. This worked fine as long as the transition was
run. However, sometimes that transition wasn't run and this would
cause the input to fail to be started again.

This fix moves the input pause to when the transition is started.

Change-Id: I738d5471f7932f00b50897f87a8f8a71ecbc57e2
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
41725dedc33906aaafee36b2d6523596e2a8a52e 09-Apr-2015 George Mount <mount@google.com> Disable input during Activity Transition.

Bug 19437530

While the actual Activity Transitions are running,
input is stopped, except for the "back" button.

Change-Id: I112e6252b9de05ece10a6267681fee5487e5ef6b
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
8de1de1f0450c25ce6079f4b8674d4bb0114287e 04-May-2015 George Mount <mount@google.com> When returning, transition only existing shared elements.

Previously all shared element names were delivered when
returning from an Activity, even if no shared elements
existed in the exiting Activity. That prevented the calling
Activity from showing a shared element that it delivered,
but will not be receiving back again until shared elements
are transfered. That leaves a weird hole in the UI.

Now only the shared elements mapped in the returning view
hierarchy are delivered to the calling Activity.

Change-Id: I481a8bc7a771d7e819871f424d22313314c9ee8b
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
4dc668cd36fbb46b0c2cc196ae4b7105009ec089 09-Apr-2015 George Mount <mount@google.com> Revert "Revert "Allow delay of showing/hiding shared element when transferring.""

This reverts commit 44d15f1c2e8f07ae9a88d79721547cf8e5935b6c.

Fix doc comment errors.

Change-Id: Ieeb07b907f0c66a133ef57136c45c504bcc04694
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
44d15f1c2e8f07ae9a88d79721547cf8e5935b6c 09-Apr-2015 George Mount <mount@google.com> Revert "Allow delay of showing/hiding shared element when transferring."

This reverts commit bd93e69c8e0b06fc0b0bbba4bdd9e426b37f98e1.

Change-Id: I38daa39e8560f4901b242acc6394dfa37f3d084a
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
bd93e69c8e0b06fc0b0bbba4bdd9e426b37f98e1 08-Apr-2015 George Mount <mount@google.com> Allow delay of showing/hiding shared element when transferring.

Bug 18932344

Change-Id: Ic967551a4dd27967d2312a6c6c8a83b34c220031
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
f1abef6fc2194e72af521202ee4b17c10e03c935 22-Sep-2014 George Mount <mount@google.com> Force transitioning views to be visible when transition interrupted.

Bug 17553034

When an Activity Transition was interrupted prior to starting the
enter transition, the views were not being made visible.

Override the return ActivityOptions if interrupted so that the
entering activity doesn't launch with a transition when coming
back from recents.

Change-Id: Id4e00c7bb138babfee4de71247a9df4431376e21
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
1732f528952ea2df0bfd503fabb958af03dbfc81 18-Sep-2014 George Mount <mount@google.com> Fix NPE when shared element listener is null.

Bug 17544867

The shared element listener will be null after the transitions
have been canceled.

Change-Id: Id1182639b44ece27fc267702623641438f9974d5
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
b694e080546316a27d22eba759027f6cb0a24705 12-Sep-2014 George Mount <mount@google.com> Fix exit transitions hiding views permanently.

Bug 17480692

When a view was hidden prior to the transition completion,
the hidden views were being removed from the list and thus
weren't being reset to visible properly.

Change-Id: If778540156432eb19039fcec18d023d06e9c1b2a
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
48bd13c9cb2627847cf1f7707a084eb354e9c303 12-Sep-2014 George Mount <mount@google.com> Fixed: getDecor() NullPointeExceptions.

Bug 17481173

Change-Id: Ie6e1710cadb7d1e52515c2927dce733b3ec3eabb
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
ce2ee3d6de670e52abed7f432778701113ba9c07 10-Sep-2014 George Mount <mount@google.com> Fix fade transition not working with Activity Transitions.

Bug 17440475

transitionAlpha must be set when using Transition.forceVisibility,
but shouldn't be set when views initially come into the scene.

Change-Id: Icc61c83c701508d09dadb074c86094171dcce78a
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
214e7ad1750786d5f2af55b030a25b02b6986c0d 08-Sep-2014 George Mount <mount@google.com> Merge "Use Alpha instead of TransitionAlpha for Activity Transitions." into lmp-dev
0f0c473488f8e8becc8883d3cdd9610324610dc4 05-Sep-2014 George Mount <mount@google.com> Use Alpha instead of TransitionAlpha for Activity Transitions.

Bug 17406204

Chrome needs to be notified when the shared element
should be hidden. The alpha setter can be overridden,
but setTransitionAlpha cannot. By setting alpha as
well as transitionAlpha, we get the immediate effect
from transitionAlpha along with enabling a trigger
for Chrome's shared element to hide.

Change-Id: I6ecb44872fd237afe89dbb36e43aa50c98693b52
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
c2d66a0282854fc80ec9525e54d2335e6b055923 05-Sep-2014 George Mount <mount@google.com> Merge "Fix NPE when Window disappears during a transition." into lmp-dev
6e7fb60b93d3449d256282a9cc34ba3356add90e 05-Sep-2014 George Mount <mount@google.com> Fix NPE when Window disappears during a transition.

Bug 17343866

Change-Id: I421a28e833ecb78cd542f3f6a728ac87b65ef832
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
6558056e8fccc32f9e1dc59e46d09f8d916b7538 29-Aug-2014 George Mount <mount@google.com> API Review: Change SharedElementListener to SharedElementCallback.

Bug 15863001
Bug 17289526

Changed SharedElementListener to SharedElementCallback
Renamed methods to use "on" prefix.
Adjusted javadoc to reflect usage in Fragments.

Change-Id: I7cc517c269a8e417cb5c3a0948bdd3b654d42472
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
d847f1a1e3db50bd96386362369322ddda9af8f7 03-Sep-2014 George Mount <mount@google.com> Merge "Additional fixes for "back" with translucent windows." into lmp-dev
99c82fd1de23deeb8cf640bb574c76af76429df6 03-Sep-2014 George Mount <mount@google.com> Additional fixes for "back" with translucent windows.

Ensure background is mutated before changing its alpha.
Ensure resetViews is called when activity options is set.

Bug 16215650

Change-Id: I8482532777652a93b2c0d05c1b902516d281baf0
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
dd725ec4a70705d5ee35c9096e9efef57f71354f 03-Sep-2014 Dake Gu <dake@google.com> Merge "ActivityTransition: fix activity not finished on back" into lmp-dev
b4558e7e5f33ee4964c5395b2dc017509ebf3f1a 02-Sep-2014 George Mount <mount@google.com> Merge "Update window always on convertTo/FromTranslucent" into lmp-dev
872efe45d5b3a4d6376cd15e118d5bb68ef334da 30-Aug-2014 Dake Gu <dake@google.com> ActivityTransition: fix activity not finished on back

Fixed two corner cases that called activity is not finished
on back when there is no shared element in calling activity due
to "Do not keep activity" option re-creates calling activity.

b/17333777

Change-Id: I66567efcce39b301b0febd1ce7a5d67b9ff73c3c
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
85b764e22babfe5508286fbad5d7fee12345704f 27-Aug-2014 Craig Mautner <cmautner@google.com> Update window always on convertTo/FromTranslucent

Previously we would only update the window if the activity's
translucency was changed. That meant that if the window was
opaque for a translucent activity, transitioning to translucent
would not change the window to translucent. This change forces
the window to follow the convertToTranslucent and
convertFromTranslucent calls.

Also fix for setting background on enter and exit transitions.

Partial fix for 16215650.

Change-Id: I86ea68e4bbf604d0cc60cc6e34bf8090199525d6
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
ef247c323a34c98856344869e711631e631a3c07 25-Aug-2014 George Mount <mount@google.com> Call SharedElementListener#setSharedElementEnd on back.

Bug 17186485

Change-Id: I7dd46170fca08bc010fc44f7304a9c5e0293248d
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
fe361d2113b8f3c54797d7bd720ca739328bd7aa 09-Jul-2014 George Mount <mount@google.com> Move shared elements to overlay when in a transition group.

Bug 15744995

Change-Id: Icf1ee603de23c7bb3bce3723cb24009e36f153d7
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
68f96d8db5e5e701b6a12b5cddecc985e56a26c6 31-Jul-2014 George Mount <mount@google.com> Add differentiating transitions for returning/reentering.

Bug 16550363

Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
09d9c3be8ab46cb2919af0eadb9851186575834a 29-Jul-2014 Dake Gu <dake@google.com> Transition: Don't suppressLayout(false) for returning activity

Change-Id: I7be8a779ab8996809b36baa107acd55ab872580c
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
f7ff2205d96e468950e9011de60d2ff4bd84c66d 25-Jul-2014 Dake Gu <dake@google.com> ExitTransitionCoordinator: suppressLayout during running transition

b/16570734

Change-Id: I52d7132b91256085aa9e535575e978a6031fb276
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
b4c5d7bf218865d28f030c852fd303e127d676db 24-Jul-2014 George Mount <mount@google.com> Fix no transition when only shared element exists.

Bug 16245703

Change-Id: Ie31baaf7f58038fc79ffca0206ce3bec0ef64cb4
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
7bf379c8af399626d5b8b568fe1d4f96f56badcc 16-Jul-2014 Dake Gu <dake@google.com> ActivityTransition: fix wrong width/height applied to sharedelement.

transform screen position/size to position/size in parent of sharedelement.
fixed bug of transformMatirxToLocal() and transformMatrixToGlobal() that gets

Change-Id: I4c7b12f1ada7004ab7594961df4079be4ca4c909
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
01e9a97fe68dbba42a0edd0ad965ccfe2b8efe7d 10-Jul-2014 George Mount <mount@google.com> Don't lose ActivityOptions during orientation change.

Bug 16188506

Change-Id: I056153e6ddbaf328dd65b8b27a91ae773c33ea22
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
b5ef7f8c6d4629b2998de6c0b27bc1a4779b3e49 09-Jul-2014 George Mount <mount@google.com> Don't change View visibility during activity transitions.

Bug 16187776

Changing View visibility can change the View's focused item.
To prevent this, a backdoor is introduced into Transition
and Visiblity to set the target Visibility used in Activity Transitions.

Change-Id: Idfd2c6fba2cad80fecdfd086990ddc604f86ca68
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
8d3cd2c8cf8ec355265941a8457ffd8e2e348648 08-Jul-2014 George Mount <mount@google.com> Make shared element visible when exit transition finishes early.

Bug 16124915

Change-Id: I91aa4a4912f3edb298ec75dd4178572a2c941a31
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
700db2a325bced35cebc403f272f988fad522892 08-Jul-2014 George Mount <mount@google.com> Fix converting to opaque when "back" hit quickly after entering.

Bug 16044696

Also ensured that there were no memory leaks.

Change-Id: I9b32592a5b57b496903b2c5ede6d742e86ab5fa7
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
00dde0bd469ba7a34369dcaaa701bd06fdf6c3ad 02-Jul-2014 George Mount <mount@google.com> Fix hang when there is no shared element in activity transition.

Bug 15990826

Change-Id: Id494a51baf8694abd6c5207389cd8334db485d1a
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
e678ab686643127b4b297ae7a1e4869b4cfc6e53 01-Jul-2014 George Mount <mount@google.com> Wait 2 frames before hiding shared elements.

Bug 15991516

Because of double and triple buffering, we can't guarantee
that the called Activity will show shared elements prior to
the calling activity hiding them. This forces the called
Activity to wait 2 frames prior to telling the calling activity
to hide its shared elements.

Change-Id: Ia49e71637ea04f8d7f93093abf6f47b00dcc7c06
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
8881502da5b319e139ab85c1825d2d2d239356a1 25-Jun-2014 George Mount <mount@google.com> Target only the proper views in activity transitions.

Bug 15725361

Change-Id: I0b50aac9323653b6652d6ec638d54ff2d55ba8d5
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
566cbf20cc0a75c6c4942d4b443ec7f2013bb50d 27-Jun-2014 George Mount <mount@google.com> Merge "Fix activity transitions enter transition."
60625b02ac099bacc96a387ec270751745dafae0 24-Jun-2014 George Mount <mount@google.com> Fix activity transitions enter transition.

Bug 15851310

Change-Id: I25ccbe4466251eaa0991fc6f25713772871e5f7b
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
a0a0260e48e1ee4e9b5d98b49571e8d2a6fd6c3a 21-Jun-2014 George Mount <mount@google.com> Activity Transitions: Fix memory leak.

Bug 15731459

Change-Id: Id357d841a0db832e2525b7bbd75c8d8ccdb757d1
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
f451d8a6d1a454f338e37f99c0867e17ce9e06f1 23-Jun-2014 George Mount <mount@google.com> Activity Transitions: Don't do a shared element exit transition twice.

Bug 15671433

Change-Id: I888702df5661c769cc1c093d859fd85e5e33d282
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
1fecfb2ddcdf4335ff543bdd549b8e4d36139da8 18-Jun-2014 George Mount <mount@google.com> Activity Transitions: don't require transitionName.

Bug 15585623
Bug 15607591

Exit transitions now run because exit transitions are executed
with startActivity.

Change-Id: Ie55793a9514c64d96e2cf1abdd2d39c4d2606a23
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
4d994261e94b8d7fd2bb383a1d41b5997fab970b 13-Jun-2014 George Mount <mount@google.com> Fix NPE when shared elements are empty.

Bug 15608384

Change-Id: Id7ae383873d8d09b51d9c680942076a3a8ffea5b
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
67d924341a1d0994ac68b3b7898d5576edd987b4 06-Jun-2014 George Mount <mount@google.com> Better coordination of transition destination.

Bug 15470128
Bug 15470558

Wait for shared element destinations to be complete
before sending it to the calling activity.

Don't allow layout between setting final destination
and the transition values capture.

Use snapshots to hold the final position while waiting
for the called Activity to take the shared element.

Fixed problem with exiting views sometimes disappearing
when exiting.

Change-Id: Ibc655f7bb9e8dd6e8a15778c96931e3d845cc15c
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
ed1e01d7e431edbcaab983b4b240418f2b090fac 05-Jun-2014 George Mount <mount@google.com> Allow customization of background fade duration.

Bug 15195468

Change-Id: I02c1ef446cfa8aaedce640ab5694b6d9245bb9f7
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
d265bd7446e662c9597226c596e8f91eda824982 02-Jun-2014 George Mount <mount@google.com> Delay sending shared element position until after layout.

Bug 15380396

Also updated fade duration to 300ms now that shared element
transition can take place before fade.

Change-Id: I9053615c83b9e0938b015645de0eb6c1534cbb34
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
c93ca1617397aace8449f88d1a1e94ec704a2ef4 24-May-2014 George Mount <mount@google.com> Moved shared element motion to be in called Activity.

Bug 15198605

Change-Id: I07ce4f3366dbdc6957d789f724e49d260fe34faf
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
c9b6df8fa4df3968b2420a52c5281b4765478f68 22-May-2014 George Mount <mount@google.com> fixed mIsReturning initialized too late. DO NOT MERGE.

Change-Id: Ic77e44b0deaf67e118a0564205646891b4d1a07b
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
d80154fba1c23834b5139aa764f9426bbf38a721 21-May-2014 George Mount <mount@google.com> Fixed inverse of listener assignment.

Change-Id: Icaa68d54c3f4ca74009edd19ef5ab197b73eb66a
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
8cab50afda0d8485436f72a93d668697f549d3b3 15-May-2014 George Mount <mount@google.com> Fix for quick "back" in Activity Transitions.

Bug 14990153

Stops two potential animators working against the background
drawable. Forces the entering views to become visible onResume.

Change-Id: I2da66b54a16c6c69533eebbeff6db7f5a7794a89
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
a712e8cc2f16ac32ee5f1bbf5b962969f2f3451e 21-May-2014 George Mount <mount@google.com> Enter and exit transitions are inverted in calling Activity.

Bug 15115028

Also fixes NPE when there is shared element name mismatch.

Change-Id: I8a65428d4b215ada532e98a555649c2e046de5ef
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
800d72b0e05049e4a8f90ea96ec165fc975264ce 19-May-2014 George Mount <mount@google.com> Add to activity transition API as requested by consumers.

Change-Id: Iae01d7560770bab0ff9a1728d6552b98b17108ce
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
62ab9b78b77b7dd851c47115f4d8d7611d657585 02-May-2014 George Mount <mount@google.com> Support Activity Transitions when activity stopped.

Bug 14459812
Bug 14454812
Bug 14450295

A new transport was supported for Activity Transitions
in which convertToTranslucent can now take a Bundle
to transport to the calling Activity. This also allows
waking Activities to regain the communication between
the exiting Activity and the calling Activity.

Change-Id: I29aee14b7e56d9b8b9fb656f382b2c4172b02e14
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java
31a217290cf376d0573fc36e21c8940987485019 25-Mar-2014 George Mount <mount@google.com> Split Activity Transitions out of PhoneWindow.

Bug 13622834
Made it possible to use shared elements without making
Views invisible.

Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
/frameworks/base/core/java/android/app/ExitTransitionCoordinator.java