History log of /frameworks/base/core/java/android/transition/TransitionSet.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
413739e8c62a7cd83ec519203a2628504b1b0d16 08-Jun-2016 George Mount <mount@google.com> Re-add Internal API for cross-task Activity used by assistant.

Bug: 29091742

This reverts commit 563df3b328f5488aaa33b894748029ed00d0e263.

This also fixes the problems experienced by b/29128683.

Change-Id: I8e3d485cb818ea9e03ca475cba88934f6f903f11
/frameworks/base/core/java/android/transition/TransitionSet.java
563df3b328f5488aaa33b894748029ed00d0e263 07-Jun-2016 Eino-Ville Talvala <etalvala@google.com> Revert "Internal API for cross-task Activity used by assistant."

This reverts commit 04073dc5be4c8faad41f549617ed1c3ef999d6b2.

Bug: 29128683
Change-Id: I7d9bb7bb388f38e8e5ab159a211ee7f9f4fb7ab9
/frameworks/base/core/java/android/transition/TransitionSet.java
04073dc5be4c8faad41f549617ed1c3ef999d6b2 27-May-2016 George Mount <mount@google.com> Internal API for cross-task Activity used by assistant.

29091742

A new internal API has been created for use by assistant
to launch an Activity Transition from a non-Activity.

The ActivityOptions are also passed along when using
a spring board Activity so that the shared elements
can be properly synchronized.

This also fixes TransitionManager.endTransition so
that it forces Transitions to end the animations.

Change-Id: Id18d9765bfc0c7b438e17966455aa66d3fa3aeda
/frameworks/base/core/java/android/transition/TransitionSet.java
c47738d8c22ae09cd93096888def0cf33f39d285 16-Feb-2016 George Mount <mount@google.com> Merge "Fix TransitionSet javadoc to use transitionOrdering attribute." into nyc-dev
93aaab034fec85d3a6ca9dab6d1fd6c0610c6b62 11-Feb-2016 George Mount <mount@google.com> Fix TransitionSet javadoc to use transitionOrdering attribute.

Bug 27056771

Change-Id: Idb00d7e49857f6aed88a898edd957b5202581a2f
/frameworks/base/core/java/android/transition/TransitionSet.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/TransitionSet.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/TransitionSet.java
a374bc049c6de95186c2f9e5a9032134a5428665 12-Sep-2014 George Mount <mount@google.com> Merge "Fixed empty TransitionSet not notifying listeners." into lmp-dev
e6f66e78a5030ae525b449d3dda94f41107a555c 12-Sep-2014 George Mount <mount@google.com> Merge "Fixed: TransitionSet setStartDelay did nothing." into lmp-dev
04600023d096dfd7ed2b53d6ee273c57b6c2c20f 10-Sep-2014 George Mount <mount@google.com> Fixed: TransitionSet setStartDelay did nothing.

Bug 17452965

Change-Id: Id2fd6ed3bd8e7156dd3d22dcd83117cec12e3528
/frameworks/base/core/java/android/transition/TransitionSet.java
38a664986ba5ed101916c49c926d176c434b725b 10-Sep-2014 George Mount <mount@google.com> Fixed empty TransitionSet not notifying listeners.

Bug 17469482

Change-Id: I2673960e75737d659e52132f1f3b8230080adb7b
/frameworks/base/core/java/android/transition/TransitionSet.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/TransitionSet.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/TransitionSet.java
7f15164ecb4c93cbb3cc886a3028621c0d0fffcc 19-Aug-2014 George Mount <mount@google.com> Add a way to get Transitions from a TransitionSet.

Bug 17113732

Change-Id: I0a157a59448e66560ba2252709971131c5dea401
/frameworks/base/core/java/android/transition/TransitionSet.java
d761dcaf1c79fe38ecb533b36f852b3a38a4f6f1 25-Jul-2014 Dake Gu <dake@google.com> TransitionSet: fix excludeTarget not working

b/16552254

Change-Id: I01467e258754d95f1b9fa61a27d1da98eed9b57c
/frameworks/base/core/java/android/transition/TransitionSet.java
e3b50aecfd913d3032460a99224803ba688bab27 15-Jul-2014 George Mount <mount@google.com> Fix NPE during construction from XML.

Bug 16322214

Change-Id: Ie2811a54880ab60b607ae29d7df04b0636e67197
/frameworks/base/core/java/android/transition/TransitionSet.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/TransitionSet.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/TransitionSet.java
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/TransitionSet.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/TransitionSet.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/TransitionSet.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/TransitionSet.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/TransitionSet.java
8c0ceb34c3de5153dad162be719e2933c56886ae 15-Apr-2014 George Mount <mount@google.com> Properly filter out excluded views in createAnimators() call.

Bug 14258783

Change-Id: I2d07e9d72a87674c215d36ccfc004c45623e7c24
/frameworks/base/core/java/android/transition/TransitionSet.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/TransitionSet.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/TransitionSet.java
aafc91c05acfb2d5a95f46f27e1deb2dfaa15c32 06-Oct-2013 Chet Haase <chet@google.com> Fix resource-loading code for TransitionSet

The inflation code in TransitionInflater was using the wrong
tag ("set") for TransitionSet. This fix corrects that problem
(changing it to "transitionSet") and documents the correct
tag in the TransitionSet javadocs.

Issue #11085279 Transitions: transition sets loaded from resources don't work

Change-Id: I8aaea9f31bbe368cffcca63d4eb6a5ec06c3ce7b
/frameworks/base/core/java/android/transition/TransitionSet.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/TransitionSet.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/TransitionSet.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/TransitionSet.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/TransitionSet.java