History log of /frameworks/base/core/java/android/app/ActivityTransitionState.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ae0b7abf0d026973d556a8d6685dc2b986bf7b5 31-May-2016 George Mount <mount@google.com> Better handling of confused finish transition.

Bug 28347277

When an activity calls startActivity with makeSceneTransitionAnimation
and then calls finishAfterTransition, it should not do any transition
and just finish.

Change-Id: I00e537638fa6f24c95605f09bbafd843b569bb4d
/frameworks/base/core/java/android/app/ActivityTransitionState.java
056b7d5403cffeea4ae5693fb4565715efeb4eec 01-Apr-2016 George Mount <mount@google.com> Removed improper check on mCalledExitCoordinator.

Bug 27969302

mCalledExitCoordinator can be nulled before the onResume is called,
so it cannot be used to determine whether or not the Activity is
a caller or called.

Change-Id: Ie3696ed59b89cfc8c6145d22bc230111f0813701
/frameworks/base/core/java/android/app/ActivityTransitionState.java
bdc4d8dc9635064fd67f379c341b69bdc03f8968 23-Mar-2016 George Mount <mount@google.com> If resume occurs, force finish of exiting activity.

Bug 27231404
Bug 27274246

Change-Id: Ia92fe6fdebced3e5a1fc9d165212ac1196f395bd
/frameworks/base/core/java/android/app/ActivityTransitionState.java
d7d0fb3e65f993ae02d71388dc616b467639cd8d 04-Jan-2016 George Mount <mount@google.com> Fix for Activity Transitions restoring views bug.

Bug 26426496

When finish() came immediately after finishAfterTransition(),
the Views of the reentering Activity would not be restored
properly. This forces the entering Views to show if they
aren't already transitioning in.

Change-Id: If3ab37be8eb5dd3d7649db75385adb9fa214cb4c
/frameworks/base/core/java/android/app/ActivityTransitionState.java
52d77f2429685978923eb63ac9c0ec938f928243 09-Sep-2015 George Mount <mount@google.com> Ensure feature flags are set prior to checking Activity Transition.

Bug 23764120

Window features are set in PhoneWindow.installDecor. The Activity
Transition feature is checked after onCreate. If the developer
hasn't accessed the decor View in onCreate, the Activity Transition
feature will not have been set prior to checking it. To correct
this, the decor View will be forced to be created prior to
checking the Activity Transition feature state.

Change-Id: I2c756b6736ae7f3a346f4f9bcef6936371ff03c5
/frameworks/base/core/java/android/app/ActivityTransitionState.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/app/ActivityTransitionState.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/ActivityTransitionState.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/ActivityTransitionState.java
9826f636ad4fe3714d60972acd918e09eb44d971 11-Sep-2014 George Mount <mount@google.com> Have Activity Transitions activited by a new window attribute.

Bug 17006497

Window content transitions were being enabled by default in
the Material Theme so that Activity Transitions could be
enabled by default. Unfortunately, this gave the effect that
many applications did not want -- the default transition between
window content is a fade out/in. Here, a new attribute is
added: windowActivityTransitions that is enabled by default
in the Material theme and windowContentTransitions is disabled
by default in all themes.

Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294
/frameworks/base/core/java/android/app/ActivityTransitionState.java
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/ActivityTransitionState.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/ActivityTransitionState.java
b04b36eaadb2f3e56206d8ae157df06bb89f9866 08-Aug-2014 Dake Gu <dake@google.com> Transition: remap if views in calling activity became invalid

In activity back, the calling activity might have re-constructed
UI, the accepted views captured in calling activity was detached
and no longer valid. Re-query the calling activity for shared
element in such case. If the app has reconstructed UI of calling
activity, it is app's responsibility to assign same transition name
to new view where it desires to transition back to.

b/16853679

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