History log of /frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e06b816e0ec64bac284d44c543166e88c9167889 04-May-2017 George Mount <mount@google.com> Protect shared element transitions from removed views.

Bug 37970839

When a view is removed from the hierarchy during the shared element
transition, it should not cause a NullPointerException.

Test: I524d99c7235e5888e5be2567c5410644e187b196
Change-Id: I59cadec15ae782c18d95923ceda9851827649341
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
f85b3d48d692e60af0b01ce75424ccb68e11b2bb 06-Mar-2017 George Mount <mount@google.com> Excluded Views don't go through Transition.

Bug 35832096

When entering or exiting Views were excluded, they were still
being set to INVISIBLE during the exit transition. This made
them disappear instantly. Instead, I've reverted back to the
original implementation by not affecting excluded Views during
the transition.

This CL walks the transition and removes excluded Views from
the enter/exit from being affected.

Test: I5b1b75dd12a3914e35c1d0fb641850981a19f9c3
Change-Id: I2b00ba95575420bae690b1cd8d4894c98401da79
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
995f4b5721e092478881b8929bdd235ec5855646 06-Feb-2017 Ben Weiss <benweiss@google.com> Merge "Extract and unhide TransitionListenerAdapter"
b64e777f6c14d862f221f4da814079df22663db1 09-Dec-2016 Chet Haase <chet@google.com> Add methods to query animation state

Testing utilities want the ability to know whether things in the UI
are in flux and they need to wait before testing on-screen values.
These changes (a subset of what's needed, but will have to do for
a start) allow querying of ActivityTransitions and ProgressBar, two
common/difficult pieces in the puzzle.

Test: CTS tests at ag/1835467
Bug: 30978257 Provide view transition Api to prevent flaky tests

Change-Id: If63b3d0dde2178d826ac1dbfad0fc50e5ed9a780
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
e0c37bdea37f78778f6c4f23f03604e59dfb0d55 26-Oct-2016 Ben Weiss <benweiss@google.com> Extract and unhide TransitionListenerAdapter

Test: CTS tested

Change-Id: I8db99d5f212b15db70ee5a6d6debf25d7ad7922d
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
f0b46b9540b48448c1f1fbe55ca2930770bd72e2 31-Oct-2016 George Mount <mount@google.com> Use safe access to OnPreDrawListener.

Bug 32472451

It is important to remove an OnPreDrawListener from the correct
ViewTreeObserver. When a View is added to the view hierarchy, the
initial ViewTreeObserver is not active. The listener must then be
removed from the current OnPreDrawListener. When a View has been
removed from the hierarchy, it is important to remove the listener
from the orignal ViewTreeObserver.

Test: cts-tradefed run singleCommand cts -d --skip-preconditions
--skip-connectivity-check -m CtsUsageStatsTestCases
Test: cts-tradefed run singleCommand cts -d --skip-preconditions
--skip-connectivity-check -m CtsFragmentTestCases

Change-Id: I735f71d2d9c84e86ef846aab0088a8651300fbe8
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
aae763e692810fb411b83fdda57567e1b66577dd 28-Sep-2016 George Mount <mount@google.com> Fix bug in which some Views were not executing enter transition.

Bug 31236341

Strips the views from the enter transition as soon as they
are ready to prevent stripping from happening after
the shared element starts -- possibly changing the views
to strip. The stripped views are now excluded explicitly
from transitions when they are configured.

Test: Ia8c4e876d9978af17f1a34b0d35cf33e00389ab3

Change-Id: Id8f6132db173a9011f6346de70cfe770ddee1244
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
25f98a4c0156ec40d1d92cfe5a24459d9ffa6f91 14-Jun-2016 George Mount <mount@google.com> Remove TransitionListener after transition completes.

Bug 22232371

Change-Id: I1ba6f8742792ff00996b7fdaa892d5e1388ef61c
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
1349bb9c336e33bdb8a7edd3fdec9a7ecf8015d0 22-Mar-2016 George Mount <mount@google.com> Disable suppressLayout in Visibility Activity Transitoins.

Bug 27389255

In Idf21542464a13bac7b4d4a17f6b9303f68d550c3, I had removed
a suppressLayout check from forced visibility. Unfortunately,
when the transition ends, it calls layout if there was a
requestLayout during the transition. This prevents the
suppression at the level of the individual views so that it
can be handled at the decor View level as it was before.

Change-Id: I0f016e6356fd1ceff705b122a6b4ac3f3f09600d
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
629767288a7f551d651f0405fdd9ed04e807d56b 05-Feb-2016 George Mount <mount@google.com> Don't use forceVisibility for Activity Transitions.

Bug 22291911

Forced visibility for transitions was introduced to make
Activity Transitions force going from INVISIBLE to VISIBLE
without triggering focus changes. setTransitionVisibility
was later introduced and now allows us to use visibility
without triggering focus changes.

Change-Id: Idf21542464a13bac7b4d4a17f6b9303f68d550c3
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
5fddd4ca581aeb7c6b526628cfbf7915a2e20574 14-Jan-2016 George Mount <mount@google.com> Fix crash in forceViewsToAppear

Bug 26549234

Change-Id: I57cfc8ea8831d46a2846b36b2ac4acff2112b414
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
3dec0d47215b56e3bd3e6f3287cf2c966bf8c22f 11-May-2015 George Mount <mount@google.com> Merge "Disable input during Activity Transition." into mnc-dev
18c2b0ef36400f4af6ee38dd84e2d65d18474b20 01-May-2015 Doris Liu <tianliu@google.com> Take into account scroll offset for transition animation

This CL fixed the issue where scroll offset was ignored when shared
elements are added to the ghost view and when they are laid out.

Bug: 20349408
Change-Id: Ifaeb821bffe6fcfe303221a1732125bf1c4a91b7
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
42161c5cb4f5f36cf83c8af3f20db70a70850a88 25-Feb-2015 George Mount <mount@google.com> Fix target location on nested shared elements.

Bug 19502062

When shared elements were nested, they *could* end in the wrong
location. Also, when the shared element transition was interrupted,
the final location was calculated incorrectly. This fixes
both conditions.

Change-Id: I23792507c1e9e96920721d38d7a2a21299f23112
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
fbd459642fe732115f135e456eafdec2dc8e9bb6 26-Jan-2015 George Mount <mount@google.com> Activity Transition: fix quick back after enter.

Bug 19105460

When an Activity Transition was receiving an exit call
immediately after the enter, the transition for the enter
was still in progress. TransitionManager does not allow
multiple transitions to work at once, so the enter transition
would run, but the exit did not. This CL detects when the
enter transition is still pending and tells the
ActivityTransitionState to delay one frame so that the
enter can finish its required work prior to starting the
exit transition.

Change-Id: I1b40f1e41d61a67da3fd672419ea321e7d0496da
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
92692c0284c2249e9a5381f7f19ec97f6b76d12f 02-Dec-2014 George Mount <mount@google.com> Keep snapshot order matching the shared elements.

Bug 18578796

When no snapshot was created, we weren't adding anything to
the snapshot list. When a snapshot is not created, we should
add an null snapshot to the snapshot list to keep them in
order.

Change-Id: I522e485163229230037dcdd635b83cff800df28f
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
ca5094a05ce177c586f873ad556e7afc2656fe12 30-Oct-2014 George Mount <mount@google.com> Fix NPE when snapshot ImageView uses ScaleType.MATRIX.

Bug 18170774

Change-Id: I28497f569f8a40242191196f059d8f40d17d52d6
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
95d520f160db65f90da56610eee1a047fb60fc4e 28-Oct-2014 George Mount <mount@google.com> Merge "Fix NPE in moveSharedElementsToOverlay" into lmp-mr1-dev
eca1ae5e442bf5f13617ab823343730619512632 27-Oct-2014 George Mount <mount@google.com> Fix NPE in moveSharedElementsToOverlay

Bug 18119532

Change-Id: I334bda2d63427032583a15a483e000412024c150
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
333b8093eaab4b55d91a7a0b3b1484424f8ac975 22-Oct-2014 George Mount <mount@google.com> Fixed: Nested shared elements now transition separately.

Bug 18073470

Shared element ordering was based on the key ordering in an
ArrayMap. This is normally fine, but when shared elements
are nested, the child's layout can be overwritten by the
parent's if it is laid out first. The only way to force the
ordering of shared element layout was the change the transition
name. To fix this, shared elements are now laid out parent
first, then child.

On return, nested shared elements were not transitioning to their
final destination properly because the matrix used to calculate
their position was not correct. This change recalculates the
parent matrices when appropriate.

Change-Id: I62333183cf03519e525587e4ea31fcf14bb83cdc
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
7c479f5a013fb5544be45cd3a952190fc3a923fc 16-Oct-2014 George Mount <mount@google.com> Use empty snapshots list when there are no shared elements.

Bug 17964119

Change-Id: Ia2a63e52623d1e4238b0fd4e25d565451e856834
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
c9a5227292ecc24f9735d4ba53cd1f9aaef3e6f4 24-Sep-2014 George Mount <mount@google.com> Fix NPE when detached View is added as a shared element.

Bug 17632940

This won't solve all problems in which the parent becomes null,
but it will protect against shared elements being added that aren't
attached when mapped.

Change-Id: I991722c671c57048aea84b59a3c187c77c93450f
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
e0947064aff971379a790625612e8f5d801ebfe0 13-Sep-2014 George Mount <mount@google.com> Merge "Fixed: getDecor() NullPointeExceptions." into lmp-dev
653ea66a9f609deec4b4370550396c47a85d713c 12-Sep-2014 George Mount <mount@google.com> Reset the alpha for offscreen views.

Bug 17469303

When stripping the offscreen views from a transition, the alpha
wasn't reset, so they were made permanently invisible.

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

Bug 17481173

Change-Id: Ie6e1710cadb7d1e52515c2927dce733b3ec3eabb
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
ffd09aed4e31cc52d273ce0280488c38547866b2 05-Sep-2014 George Mount <mount@google.com> Merge "Fix selection of epicenter in Activity Transitions." into lmp-dev
c2d66a0282854fc80ec9525e54d2335e6b055923 05-Sep-2014 George Mount <mount@google.com> Merge "Fix NPE when Window disappears during a transition." into lmp-dev
c6186bffe477b996e388046e8761908b813fd07f 05-Sep-2014 George Mount <mount@google.com> Fix selection of epicenter in Activity Transitions.

Bug 17393451

Change-Id: Ibbcdc104ef3193fe8ce11fa27799801ea7e73986
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
ce725a47f6eee75a6ef86397e9b9fe471aeb1f84 28-Aug-2014 George Mount <mount@google.com> Allow arbitrarily-added shared elements.

Bug 17112782

This allows the application developer to set any view as
a shared element so that it will avoid the enter and/or exit
transition. This will allow it to be transitioned along with
the shared element transition as well. It will also allow
the called Activity to return different shared elements than
those passed in.

Change-Id: I7b1f4f029af50dc6e2d5f025062b5669486f6427
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
b89d5cc2c64112a0ff7e66e4dd3bb2114caed935 19-Aug-2014 George Mount <mount@google.com> Allow Activities to opt into using Overlay for shared elements.

Bug 17001227

Change-Id: Icc49a81357ee69abd2a15a1d1efcead298ab3fb7
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
a2bbbb3bac464c3a52e33008401fed4a7542744c 12-Aug-2014 George Mount <mount@google.com> Don't blink in views that haven't transitioned yet.

Bug 16959262

Views that hadn't animated in during the enter transition were
being stripped from the exit transition. This caused them to
blink in as the enter transition was canceled.

This pauses the entering transition so that the view positions
are properly captured for the exit transition and aren't stripped.

Change-Id: I39cc94ed3bf92a51f8c5fe741f0aa5456b704bf0
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
8d2ba6dac36451bdd2313d9133a2151b1cb808aa 12-Aug-2014 George Mount <mount@google.com> Merge "Pass elevation to enable shadow in shared elements." into lmp-dev
26c82b6ed1e8e7276fe2ca65c241fc4c4cac6d12 09-Aug-2014 George Mount <mount@google.com> Pass elevation to enable shadow in shared elements.

Bug 15932772

Change-Id: Ia4cb89035244656a2dd24936bf0e36a5b7970ea6
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
480ca829e2d3313740b4d14d30afbea6c98ff965 09-Aug-2014 George Mount <mount@google.com> Custom snapshot capture and reconstitution.

Bug 16865996
Bug 14450297
Bug 16866642

Added a mechanism for custom capture and restore of snapshot
Views. By default, it captures a Bitmap and restores a View
using that Bitmap as a background.

Change-Id: I77c2c62df53b552872e467380565bbe0e6d5c114
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
fc0fc0e341f2a2d707d5a8eafd65db34bdffb35c 02-Aug-2014 Dake Gu <dake@google.com> ActivityTransitionCoordinator: Fix memory leak of ResultReceiver

The ActivityTransitionCoordinator is retained by reference from native code.
The coordinator refers to a app's listener which can cause leak.

b/16737906

Change-Id: Ibbb85480b852442f95b00a8d3beff0161bdadb47
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
f03c139018dd5b6f1ea53ac902caec7b6ee9ddd3 26-Jul-2014 Dake Gu <dake@google.com> fix ArrayIndexOutOfBoundException of ExitTransitionCoordinator

b/16575308

Change-Id: Ieb4f15a8ead7da9682c97d4d342cd77e0b85e5f8
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
c18f4cc0f2dfb05b22c6187c5c2c2dead4f504a5 12-Jul-2014 Dake Gu <dake@google.com> ActivityTransition: restore callee activity shared element position

Move the shared element of callee activity to animation start position,
then restore the measured size and locations to original values before
call requestLayout(), this fixes cases for RecyclerView optimized layout
which offsets siblings by delta of measure size.

Change-Id: I6e43c036e26986605ff008aba476e30ebd270fd1
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
eeda22b46f8ebd30ec065070c89eb3952a955e48 23-Jun-2014 George Mount <mount@google.com> Merge "Revert "Revert "API Review: Change View viewName attribute to transitionName."""
0a2ae002e60f7ea9b6bea282086b5eb0ae3c6e51 23-Jun-2014 George Mount <mount@google.com> Revert "Revert "API Review: Change View viewName attribute to transitionName.""

This reverts commit 1bdfbc68e22a64215ab8fa3e3d17676513546997.

Change-Id: Ie3fdf53b33cb2f61c1878055940f52ed9dfc8b08
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
a3c1025b80c910fd7c0e9b1c178de32cab83f6de 23-Jun-2014 John Reck <jreck@google.com> Revert "API Review: Change View viewName attribute to transitionName."

This reverts commit f1b1adf51b2a84e0ac83685812c7e8d86590af12.

Change-Id: I0e49aeed84f2a548e272a59f4e13c3fb74c2bfd9
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
4fb48d24bb5fb534cc6f017d80c3d6c423d9f94a 23-Jun-2014 John Reck <jreck@google.com> Merge "Revert "API Review: Change View viewName attribute to transitionName.""
7a73fda47d968954cb7de7143ee6709926b6ecf0 23-Jun-2014 George Mount <mount@google.com> Merge "API Review: Change View viewName attribute to transitionName."
125578a8637a9ad5e7430d16b9fc0096a8b596d7 18-Jun-2014 George Mount <mount@google.com> API Review: Change View viewName attribute to transitionName.

Bug 15548520

Change-Id: I4009458d83dbffb20ff0100aaa42eea44d943378
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
9285d1bf9c57e5f1da8f8d8ef7a6a38b2f0e4ec3 18-Jun-2014 George Mount <mount@google.com> Exclude views that aren't on screen from Activity Transitions.

Bug 15704207

Change-Id: I114a5191536b5c59c6c2d1074fab8505a8ad2fdb
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
d4c3c91dd0757eec9703ef90ea4c5a7ee99f18ca 09-Jun-2014 George Mount <mount@google.com> Allow antroid.transition Transitions in fragments.

Bug 15274281
Bug 15189829

Change-Id: I8e2974430b84a611866fe20afe1f5745e803683f
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
13ccb79b34f6db1580714ea980c8490121d7e5ae 07-Jun-2014 George Mount <mount@google.com> Fix when allowExitOverlap is true to start entering as soon as possible

Bug 15474908

Change-Id: I6d2e8f940c9ed8427183b58a712c244c9940d535
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
426a76897448308d84b9f89d931c6b771503527a 11-Jun-2014 George Mount <mount@google.com> Merge "Make more descriptive exception for null viewName."
d5f9d735b7e48f2ac60773c9c76b4b5f19a0cc72 06-Jun-2014 George Mount <mount@google.com> Make more descriptive exception for null viewName.

Bug 15114583

Change-Id: I73db179e032947843e3f9a7f1cc5228cbf6fc22b
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
8c2614ce4328640642d8e8be437859e0508a39b4 10-Jun-2014 George Mount <mount@google.com> Allow enter activity transitions to be delayed until data is ready.

Bug 15539194

Change-Id: I8de9806b0bcdf8129eb3b5a555a2433f0c7be634
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
446956f7893aec7adb618d0a3749325ff22c29d8 09-Jun-2014 George Mount <mount@google.com> Merge "Capture right/bottom of images properly when doing Activity Transitions."
8e43d6d62fb3a94b2a7175d1dee3174c62f217ba 06-Jun-2014 George Mount <mount@google.com> Capture right/bottom of images properly when doing Activity Transitions.

Bug 15140681

Change-Id: I91baf1708fc40e13133db8aa791697ac6bb654f8
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
dc21d3b2804c24fe29ec860796d11185901364c4 05-Jun-2014 George Mount <mount@google.com> API review: Constants to Gravity and Epicenter.

Bug 15432037

Constants for LEFT, RIGHT, TOP, BOTTOM moved to using Gravity.
Epicenter method name changed.

Change-Id: If226613794623fd50fdaf8fc61b0020d17628f68
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
4ee35806090a5e01600c87ff12ecd041ad4586f8 21-May-2014 Craig Mautner <cmautner@google.com> Merge "Change method name per API council request"
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/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
73f843de4b65772c624ca8ebb8c976a279e37ce9 19-May-2014 Craig Mautner <cmautner@google.com> Change method name per API council request

Activity.finishWithTransition() => finishAfterTransition().

Fixes bug 14997477.

Change-Id: I517f70b3bd6df9962f4bb2acf282e4b9fa91acde
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java
abb352a941cbd87c14cce9ccfa83157b913d41f2 09-May-2014 George Mount <mount@google.com> Change sharedElementName to viewName.

Bug 14624181

Change-Id: Ic98554c257d4115a917481eb50505373f6d58fa8
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
080443bcb63418245c2408500db735fece5e7083 05-May-2014 George Mount <mount@google.com> Add ImageView-specific shared element activity transition code.

Bug 14497858

Probably more than 50% of shared elements will be ImageViews and
sharing the scale type and matrix between the two Activities will
simplify shared element transitions.

Also fixed MoveImage, which had a bug when the scale type was FIX_XY.

Change-Id: Ic5548b4d1420ced12507c18edf76c9e50e27a929
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
d64616e8d2b8fe0e4b5385085e3d213d0b1147a1 30-Apr-2014 George Mount <mount@google.com> Fix NPE when going "back" from Activity Transition.

Also fixed failure to start enter transition when shared element
and exit transition complete simultaneously.

Bug 14399938

Change-Id: Id0d4171f8cf94a30e47aee41ce68b4a25960f219
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.java
caa03107d4322b0e30f92e6dc1eb1ea73b1bf747 15-Apr-2014 George Mount <mount@google.com> Transfer image of shared element to launched Activity.

First pass of the API will use a Bitmap. Future versions will use
more efficient mechanisms.

Change-Id: I111474dd031fef0b86de871017c85dc679166acf
/frameworks/base/core/java/android/app/ActivityTransitionCoordinator.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/ActivityTransitionCoordinator.java