History log of /frameworks/base/core/java/android/transition/Transition.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
23d57f30c5c9a22c69d3b19a221d8e4c4405657f 08-Mar-2016 George Mount <mount@google.com> Fix propagation delay not working with minimum value = 0

Bug 27545221

When the propagation delay had a minimum value of 0, no
propagation delay was happening.

Change-Id: Id28c2cac1c40d5c57f6b49fa11a60218ac1787a0
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
71fbb81b14958b80fe55738607740c6630e4e9da 30-Nov-2015 Neil Fuller <nfuller@google.com> Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
/frameworks/base/core/java/android/transition/Transition.java
7a0f54b1400c9ca0cb32819dd3a3784f9aa7c351 26-Jun-2015 George Mount <mount@google.com> Merge "Fix addTarget not limiting to the given views." into mnc-dev
e3a4cb5b3818918e6552ac52026490809b37fe6d 25-Jun-2015 George Mount <mount@google.com> Fix addTarget not limiting to the given views.

Bug 22086521

Views matched by instance, or appearing/disappearing, or
named views were not limited.

Change-Id: I70fd1497c58a3cde771f4eafe11d8ebe0889ab6c
/frameworks/base/core/java/android/transition/Transition.java
5697c323a5647174530e13dcb31c393933ac594e 24-Jun-2015 George Mount <mount@google.com> Fix removeTarget to remove by ID instead of index.

Bug 22043875

Change-Id: I47933343381df7c46580279a864ab03d44c992ec
/frameworks/base/core/java/android/transition/Transition.java
aef1ae33915471983f10342dfbf6e37cb6f8c7a5 04-Jun-2015 George Mount <mount@google.com> API Council changes.

Bug 21571897

Change-Id: I681096c50a6f4a448e399b482742efc06229fab1
/frameworks/base/core/java/android/transition/Transition.java
1b4ae634f6a0b07f2773e980cf52fda78ad48a80 07-May-2015 George Mount <mount@google.com> Properly cancel animators when View doesn't exist in starting state.

Bug 19290065

When a transition was interrupted, if a View was not in the start
state, but in the end state, then any animator on that View was
not canceled. This detects that situation and allows canceling
the animator on that View.

Change-Id: Ib1d0579bb6b211782c40c6327be59b0c59682731
/frameworks/base/core/java/android/transition/Transition.java
f586c925d5199864a1087d153086079004b874e3 05-May-2015 George Mount <mount@google.com> Fix potential NPE in internal isValidTarget method.

Bug 19805383

Change-Id: Ib22d86cca5e1225b12ed39ac988824eeb9c58bbd
/frameworks/base/core/java/android/transition/Transition.java
0653f2596f769956f6c1bf491505979ec40453e3 13-Feb-2015 Todd Volkert <tvolkert@google.com> Increase visibility of Transition.areValuesChanged() to protected to allow
subclasses outside the android.transition package to override it.

Change-Id: Ib6a5502827e734de7494958b510afc9ddb80dffe
/frameworks/base/core/java/android/transition/Transition.java
455e0ea8f2cbfc05fe420f0ea82f4ead10fa41af 13-Feb-2015 Todd Volkert <tvolkert@google.com> Revert "Increase visibility of Transition.areValuesChanged() to protected to allow subclasses outside the android.transition package to override it."

This reverts commit d23391eafe9f46ff01d5dc936126a4d6ae1c53d3.

Change-Id: Id7211a0fd08b9bc8ad092501de3c3efa57bf8264
/frameworks/base/core/java/android/transition/Transition.java
d23391eafe9f46ff01d5dc936126a4d6ae1c53d3 12-Feb-2015 Todd Volkert <tvolkert@google.com> Increase visibility of Transition.areValuesChanged() to protected to allow
subclasses outside the android.transition package to override it.

Change-Id: Ife5de79b339b6d7598411ad851858f4c52a89f5c
/frameworks/base/core/java/android/transition/Transition.java
b592d845147f051613fb62896b4e893015f8c413 01-Nov-2014 George Mount <mount@google.com> Fix javadoc.

Bug 18183024

Change-Id: Ia29d46e03b0137cc6964dcf488af052486b6898c
/frameworks/base/core/java/android/transition/Transition.java
cba01b2310e78fc2114ceed285f4e134469ae62b 22-Oct-2014 George Mount <mount@google.com> Fix transition being canceled improperly.

Bug 18092208

When a transition is determining whether or not it should be
canceled, the old values and new values are compared. Previously,
the if a value was in the old values, but not in the new values
then the value was considered changed. This discounts that
transitions sometimes don't target views and it may be that
no value was populated.

Change-Id: I8210ba1e44921fadedf9ead571d380ad34e73d3f
/frameworks/base/core/java/android/transition/Transition.java
2deeaa33143362846299bb424b3b1a52ca45deeb 19-Sep-2014 George Mount <mount@google.com> Target only shared elements with shared element Transition

Bug 17549213
Bug 17553253

Change-Id: If54aebb4e37d2012aa8d1c5354d5ec03f92b81a3
/frameworks/base/core/java/android/transition/Transition.java
cc82424b449f9d106d8d4caee74ad869d0e620ce 18-Sep-2014 George Mount <mount@google.com> Fix broken logic in isValidTarget

Bug 17553253

Change-Id: I9f3f2c80e59128fd5f8d4b1b2a67692c00804f62
/frameworks/base/core/java/android/transition/Transition.java
5030c7f6f15c5c2cac2403f863e4f618a8cfaedf 10-Sep-2014 George Mount <mount@google.com> Made Transitions act only the views that they target.

Bug 17465989
Bug 17452585

Change-Id: I2f921e98f68df3d549a370179c0a4488d56923ad
/frameworks/base/core/java/android/transition/Transition.java
21f54f39408d43705e4aa7060c562271ca2886f1 05-Sep-2014 George Mount <mount@google.com> Only call setHasTransientState in captureHierarchy.

Bug 17390936

Change-Id: I1a8cdc2820b53f6ca9f6edc41a7e87f45bea7811
/frameworks/base/core/java/android/transition/Transition.java
f9557619a7643c971e64e5b35583476202e77b7b 29-Aug-2014 George Mount <mount@google.com> API Review: Improve javadoc.

Bug 17189781
Also rename PatternMotion to PatternPathMotion

Change-Id: I1c4dcbdd65e33cf9de1504277e31f9f7ede0380d
/frameworks/base/core/java/android/transition/Transition.java
6276cd4b8defba1b6fef47ebc1bbe14498655b94 29-Aug-2014 George Mount <mount@google.com> Fix NPE when transitioning on unattached scene root.

Bug 17261558

Change-Id: Ib86c72e26f7fd9ac3fc47df650d95fdeeb43f1be
/frameworks/base/core/java/android/transition/Transition.java
c94e2b393f6eba684ee2c84eaa50746fc1459d0f 22-Jul-2014 Dake Gu <dake@google.com> Add Parent Change to ChangeTransform

Bug 16460123

Modified ChangeTransform to support any pivot changes.
Modified ChangeTransform to support changes between parents.

Change-Id: I6374890dab9f3d795f334b951bdb9d51d434b8ee
/frameworks/base/core/java/android/transition/Transition.java
4d1ecf5daf6ad0b5420f3f3657e2cbaeea630240 29-Jul-2014 George Mount <mount@google.com> Fixed ChangeBounds matching against the wrong View.

ChangeBounds must ensure that its parents match to use reparent,
but it used instance and ID matching. Matching can now be
done in several ways and that is insufficient.

Change-Id: Ic0432cd06549e4dc9ba49f33b0a6a42082e29dc1
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
51c014843a6d339d115dfa88b9ee2fff90a8b844 24-Jul-2014 George Mount <mount@google.com> Fix Monkey NPE.

Bug 16135577

Change-Id: If2ea474fd9ca9232fec325deed0e9b9b806595f6
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
58bbdbd1f1e2b2ed2e82caad6de6411fa2380cdc 01-Jul-2014 George Mount <mount@google.com> Fix targeting transition by transitionName.

Change-Id: I5e51b524a3a249cd2d7dbba3ccb06d0a5ca8fb73
/frameworks/base/core/java/android/transition/Transition.java
ecd857be3946283ebb4306e2c03ae70f5c5bb152 19-Jun-2014 George Mount <mount@google.com> Add curved motion to Transitions.

Bug 15197527

Added two public PathMotions: PatternMotion and ArcMotion.
ArcMotion is the algorithm provided by UX. PatternMotion
provides a mechanism for using a Path as a pattern.

Change-Id: Ie57fd5f4e62269acc1164eced39853a12c52bd77
/frameworks/base/core/java/android/transition/Transition.java
31e8005e06acf363a0cd92b891d43f79c72dac30 27-Jun-2014 George Mount <mount@google.com> Merge "Don't use overlay to transition ImageViews."
990205eada00ad3e575761d19607bb03e12f9aa3 24-Jun-2014 George Mount <mount@google.com> Don't use overlay to transition ImageViews.

Bug 15744992

MoveImage used an overlay to transition ImageViews. This
caused strange problems when ImageViews were contained in
other Views. The new ChangeImageTransform does a smooth
transition for changes in scale type and bounds.

Change-Id: Ia5021f4828f8f818a8699b3bdd38437aeba1cfc8
/frameworks/base/core/java/android/transition/Transition.java
88f5993692ac768c0bb6a782a79ca7c6932d5731 25-Jun-2014 George Mount <mount@google.com> Merge "Allow custom transitions from XML."
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/transition/Transition.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/transition/Transition.java
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/transition/Transition.java
44d663849481576fb649aeb6234086406ced75f1 18-Jun-2014 George Mount <mount@google.com> Allow custom transitions from XML.

Bug 15699798

Change-Id: I841289a72d7c08bb24b3e18380c79ba7960f9b22
/frameworks/base/core/java/android/transition/Transition.java
4c20ea29728a80b42487b3ba1600d11d5ea47bcc 17-Jun-2014 George Mount <mount@google.com> Fix blinking animation during Visibility transitions.

Bug 15618501

Change-Id: I9dff9eb386a4bfb51caec24f3f7cc0fad06ae04c
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
208dcade9373905b7168feb24db141cd71c45159 06-Jun-2014 George Mount <mount@google.com> Prevent transitions from calling createAnimator for invalid views.

Bug 15285527

When two transitions affect different views, createAnimator is
on all Transitions for all views. This CL prevents createAnimator
from being called for Transitions that don't target a view.

Change-Id: I3f70a13b4ea38ad4a9b4724db438b40f6e80eafb
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
7b75062fb05a9981faf3c0c9f840dbdb9e97e7f7 14-May-2014 George Mount <mount@google.com> Allow changing order of matching Views in Transitions.

Bug 14899804

Change-Id: I13c080141fce6be8430d540e3c42d40a445bb224
/frameworks/base/core/java/android/transition/Transition.java
30da61d477bcb6cc7718f9516c444359352fe148 09-May-2014 George Mount <mount@google.com> Add view name to Transition matching.

Bug 14625214

Change-Id: Ia1b21e6bd0ea4892b504746e582aeb175e0f0506
/frameworks/base/core/java/android/transition/Transition.java
6de56bb07ec58480983932cb055aa9ed2ddfcc99 07-May-2014 George Mount <mount@google.com> Fix mismatch in Transition ID/instances

Bug 14597573

In a Transition, when a View is removed from a Scene
and that View has an ID in common with another View
in the end Scene, it will be matched, even if the
View in the start Scene already had a matching View
by instance. This CL prevents a match by ID when an
instance match is available.

Future: disable matching when two views have the
same ID.

Change-Id: I0e51d1f2d0a2d05d09e8e135f090d0e1b2a67efc
/frameworks/base/core/java/android/transition/Transition.java
a98fb7ab6a17d27395cf2c8e86060af49b861be6 24-Apr-2014 George Mount <mount@google.com> Add mechanism for Transitions to target a class.

Bug 14289299

Added ability to target a specific class similarly to the
mechanism for excluding a specific class in Transitions.
Also changed XML tag from excludeTargetId to excludeId to
make it symmetric with excludeClass.

Change-Id: Ib371820ec75761243e75b659565b905b1b19c9a2
/frameworks/base/core/java/android/transition/Transition.java
608b87d9e57b71a86374a439bf5c3febd1e142f2 15-Apr-2014 George Mount <mount@google.com> Add Transform and ClipBounds Transitions.

Made MoveImage use an overlay view. Drawables
cover all Views in the overlay and there may
be a desire to order the overlays.

Change-Id: Ic7b81f0d26d8cce3f475c2eebbce01538bc55d46
/frameworks/base/core/java/android/transition/Transition.java
f976c3d42bc2f14333bae5ed26d96c45d207a443 15-Apr-2014 George Mount <mount@google.com> Add ability to exclude Views in transition XML.

Bug 14259955

Change-Id: I47bb10c530c9fec8910ddd96156fc38d6027e1f6
/frameworks/base/core/java/android/transition/Transition.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/transition/Transition.java
d6107a3170df61d9e776fcd5666acfc9135c6f16 11-Mar-2014 George Mount <mount@google.com> Add Transitions useful for Activity transitions.

Slide: transition in and out of the edge of the scene.
Explode: transition to the scene borders

Moved capability from Fade to Visibility.

Change-Id: Ibeb0d8f751c990edc467570d9665fbe251af2703
/frameworks/base/core/java/android/transition/Transition.java
cf68aad3164303df59b2a669d186a94533c9c743 06-Mar-2014 George Mount <mount@google.com> Fix problem with Animators pausing the wrong Window.

Bug 13347005

Because Windows can share a UI thread, pausing/resuming
Animators in transitions can affect other Windows. This
isolates the pause/resume to the Window being operated
on.

Change-Id: Iac84a0a2c838f30c309eea4931467ba758c6ba78
/frameworks/base/core/java/android/transition/Transition.java
e180337ee99b9155fe441ea55451f4d2167b5d9a 26-Feb-2014 George Mount <mount@google.com> Change Activity Scene Transitions to be more automatic redo.

This reverts commit 206e30cd93afe3eb72ec94178324417db5424ed2
along with removing the additional startActivity* methods
and replaces them with ActivityOptions makeSceneTransitionAnimation
methods.

Change-Id: I52bec31ae3c4cea6d549810ae5a7acd8aea176d8
/frameworks/base/core/java/android/transition/Transition.java
206e30cd93afe3eb72ec94178324417db5424ed2 26-Feb-2014 George Mount <mount@google.com> Revert "Change Activity Scene Transitions to be more automatic."

This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482.

Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
/frameworks/base/core/java/android/transition/Transition.java
f10587faadb9080a7bf9991cbe04bac5525da482 06-Feb-2014 George Mount <mount@google.com> Change Activity Scene Transitions to be more automatic.

Shared element transitions are enabled by default
when the Window has a TransitionManager.

Shared element location and size are captured and
transferred to the target Activity.

ActionBar is treated as a shared element.

Change-Id: I0f22ea4e5cbe80254e848444e3f235cb742684f4
/frameworks/base/core/java/android/transition/Transition.java
0a778eda690a66173733a63622886e888d405c45 13-Dec-2013 George Mount <mount@google.com> Cross-Activity Scene transition API.

First pass at API for cross-Activity Scene transitions.
Remaining work:
Transition back
Automatically capture hero element info
Transfer of surface texture to synchronize between Activities
Possibly use scene names to indicate preferred transition

Change-Id: I59d07de1fae694a46b92b1c82525daa301ec1377
/frameworks/base/core/java/android/transition/Transition.java
58ad12208afcf9fdce735dead8449c4db375344d 30-Oct-2013 Chet Haase <chet@google.com> Fix leak in TransitionInflater

A static map in TransitionInflater keyed off of Context instances,
which could cause contexts/activities to leak over time. This
fix removes that map and simply creates a new inflater each time.
The savings of the cached inflater was minimal an unnecessary, and the
intended sharing is in the context embedded in the inflater anyway.

Issue #11436919 leak in TransitionInflator

Change-Id: Ic05ca47f57723bd572bb6143df4035d66eedf5ad
/frameworks/base/core/java/android/transition/Transition.java
df32aa87150768795816852c6393306893467eca 22-Oct-2013 Chet Haase <chet@google.com> Fix leak with transitions when views get removed

Transitions, when started, add an OnPreDrawListener to the current
ViewTreeObserver (which is global to the view hierarchy). This listener
is removed when the listener is called.

It is possible to add this listener and then remove the view from
the hierarchy before the listener is called. This could result in
either the listener not getting called at all (since there was no
drawing event) or (in the case of this bug) the listener getting called
when the sceneRoot had no AttachInfo (which is the case when that
root has been removed from the hierarchy). This results in the listener
trying to remove itself from a *different* ViewTreeObserver than the one
it added itself to, leaving the actual listener still sitting on a list
of listeners in that original VTO. This can result in a growing list of
listeners and a growing amount of work that gets done on every frame.
It can also lead to a serious memory leak, since the objects referred to
by the transition may be non-trivial (as in the case of this bug).

The fix is to add another mechanism for the listener to get removed.
Specifically, we now listen for detach events on the sceneRoot. If that
view gets detached before the listener is called, then we have a chance to
remove it from the correct VTO before the AttachInfo becomes null.

Issue #11307391 keyguard is slow after updating to krt16c and playing music

Change-Id: I108413ea2f18f5351df0a11d4ae56fec0b4aa154
/frameworks/base/core/java/android/transition/Transition.java
b7a7fc9d233bad507ce893882352618b13647058 21-Sep-2013 Chet Haase <chet@google.com> Make fading transitions work better

Previously, a Fade transition would only affect a view if its
parent hierarchy was not also affected between the start/end states.
This caused problems for views which were removed from their parents
between scenes when their parents' visibility also changed between those
scenes. The effect would be that the transition would fade the parent...
but the child would no longer be in that parent, so the user would just see the
child view blink out.

This fix ensure that views are faded appropriately by fading them
regardless the parent hierarchy; if a view is removed from its
parent, fade it out.

Additionally, if that view has not been removed from its parent, but
its parent is no longer parented *and* scene being
transitioned from is based on a layout resource file (and thus
the views are considered temporary after transitioning), then it is
removed from its parent to be faded out in the overlay.

Also, renamed TextChange to ChangeText to be more consistent with
other transition class names.

Change-Id: I4e0e7dfc9e9d95c7a4ca586534b6d204c4f3bae0
/frameworks/base/core/java/android/transition/Transition.java
d8d7c38533d20062166e5e7ef89b80ff9dbd8903 23-Sep-2013 Chet Haase <chet@google.com> Disable ActionBar usage of transitions

Various artifacts across apps were coming from ActionBar's use of
the new transitions framework. Disabling transitions for now to get
things back to a more stable state.

Also, fixed some related bugs in transitions themselves, including
a change in TextChange to account for text selection, which was causing
errors in Keep's SearchView.

Issue #10860557 TextChange animator may old stale value
Issue #10819685 sometimes icons are lighter
Issue #10750525 Share and Settings icons overlap when stopping slideshow
Issue #10839551 Sometimes the search text box is right-aligned in Keep
Issue #10727484 Cursor incorrectly positioned after entering first letter during search action in keep app

Change-Id: Iad7cbf3297e18018308b8148b3519b032e63dace
/frameworks/base/core/java/android/transition/Transition.java
c46181a963be736186ae29101625a05b5c1f0ba8 16-Sep-2013 Chet Haase <chet@google.com> Use transition-only alpha property for fading transitions

The original bug is fixed already, but showed up some problems in
the underlying fade-transition implementation. This fix addresses
those and other issues. The biggest part of the change should help
transition robustness in general, as it removes the dependency on the
public 'alpha' property of views and uses, instead, a new hidden property
on views called 'transitionAlpha'. This is a value which is normally
opaque (1), but which can be used by transitions (only) to animate the
translucency of views without disturbing the actual 'alpha' value which
might be manipulated outside of transitions. This should make transitions
much more robust in general.

In implementing and testing this overall fix, I noticed a couple of things
about transitions that were simply wrong (such as starting fades from the
wrong start value, and incorrectly avoiding transitions on some views
that didn't happen to have ids), and those are fixed in this CL as well.

Issue #10726905 ActionBar weirdness in People app
Issue #10727937 Menu items in gallery appear in faded color after selecting an image/album by long press

Change-Id: If1618446db10c1bfcff4761449241de4f559afc1
/frameworks/base/core/java/android/transition/Transition.java
23c61f6bc57a611d97d333bce0d8fe00ab81af4c 14-Sep-2013 Chet Haase <chet@google.com> Ensure that transitions animating alpha end on a reasonable value

The Fade transition sets an initial alpha value of 0 when items are
appearing. This makes items invisible to start with, and then they
eventually fade in as part of the transition when the transition's
animation runs.

But if that animation/transition gets interrupted, or not started, then
the alpha value would not be restored, and the value would stay 0,
making the items invisible indefinitely. This is what was happening in
the action bar of the People app when performing a search.

The fix is to handle Transition and animation events to restore the alpha
to its true value when the transition completes, whether that
transition is canceled or not.

Issue #10726905 ActionBar weirdness in People app

Change-Id: Idb65fd8d471d2ac0a1ddc243fee00ae99f7e72d8
/frameworks/base/core/java/android/transition/Transition.java
7660d121b2ef21164ed33e6091e5dd50f5d0f939 13-Sep-2013 Chet Haase <chet@google.com> Plug leaks in transitions

Transitions were leaking views due to TransitionsValues holding references
to views/parents. The references were fine, but the retention of the transition
objects themselves were not. There were a few different places that needed to
be plugged:
- clones were not making new copies of some fields, leading to caching references
in the original object (which was then cloned later to other clones)
- Visibility was using a persistent field to cache temporary values. This transition,
when cloned, would retain these instances, keeping references to views
- ViewTreeObserver had a bug that would leak listeners

Issue #10749071 Activity instance leak between TransitionManager and InputMethodManager

Change-Id: I1d5d457dc5e020c7b9e8392a95e3b2c488461119
/frameworks/base/core/java/android/transition/Transition.java
ff58f92a0a77ad849ba714b5adac96790eca0048 11-Sep-2013 Chet Haase <chet@google.com> Add exclude() methods to Transition

It would be useful for a transition to declare not just which
targets it wants to be run on, but also which targets it wants
to avoid. For example, you may not want to animate the items of
a ListView, or some other specific target in the view hierarchy.

This change adds various exclude*() methods which make it
possible to alter a transition to automatically ignore specific
views, ids, or classes in the hierarchy.

Issue #10692794 Transitions: Need API for excluding targets

Change-Id: If38025cdbee537a545e5a4268cbbd763af4622c5
/frameworks/base/core/java/android/transition/Transition.java
a56205c485deb5a95c1e4f79ef2b09d14cbc9524 10-Sep-2013 Chet Haase <chet@google.com> Fix for transition layout suppression

The ChangeBounds transition causes its target view parents to suppress
layout for the duration of the transition. This is done to avoid artifacts
caused by running layout while layout bounds are being animated between
different scene values.

In order to react correctly to new transition/scene information (such as
running a new transition while another is already running), the transition
system calls pause() on all running transitions to allow layout (among other
things) to work correctly, then resume() after this is finished. This works
in general, but pause/resume do not take account of child transitions that
have already played and ended. ChangeBounds, uses pause/resume to
restore normal layout and re-enable layout suppression. This means that
when resume() is called on a ChangeBounds transition that has already
ended, that transition will leave the parent in a suppressed-layout
state, basically forever. This can cause artifacts like we're seeing in
recent ActionBar changes where the account spinner is never repopulated because
layout is never allowed to run.

The fix is to note when a transition ends and noop future calls to pause/resume.

Issue #10648936 Transitions don't work with new ActionBar functionality

Change-Id: Id9d41c0352b2270d46cfd5ad4dba130767bbf303
/frameworks/base/core/java/android/transition/Transition.java
d82c8ac4db7091d2e976af4c89a1734465d20cd2 26-Aug-2013 Chet Haase <chet@google.com> Transition API changes from API council recommendations

Issue #10460684 KLP API Review: android.view.transition and android.animation
Issue #10570740 Transitions: inflate transition targets from xml

Change-Id: I7a3f6d3aece2fcafc5efd555d033f79e86635c98
/frameworks/base/core/java/android/transition/Transition.java