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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
f9c4b57b02d4fff00a5ca0d3dc2899415ec4f1bf |
|
10-Dec-2016 |
George Mount <mount@google.com> |
Fix blink of final position in activity transitions. Bug 33059372 When implementing OneShotPreDrawListener, one of the onPreDraw() calls was supposed to return false. This CL restores that behavior. Test: manual against Play Movies app Change-Id: I416da3bb3e84efb009f0efbacad71d0a2f66fe18
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
239ba2a3c892b385b360dbfbe2f6b80d47312888 |
|
30-Nov-2016 |
George Mount <mount@google.com> |
Stop a blink of the final position of shared element. Sometimes a frame from the final layout position of the shared element was showing on the first frame of the activity showing. This pushes the first frame to force it until after the transition has started. Test: manual testing Change-Id: I831ed4b419eaadf1aad9d5efbeb99f04eebd0640
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
96eb6ca719cd53ed1cdee1fc819979492d02e078 |
|
29-Nov-2016 |
George Mount <mount@google.com> |
Use transparent instead of null background during Activity Transitions Bug 32952142 When doing activity transitions, a window is temporarily translucent during the transition. When a view hierarchy completely covers the window, the background is never seen and applications can use a null background to avoid overdraw. However, during the activity transition, the underlying activity is seen during the transition. With a null background, the buffer isn't properly cleared and the uncleared buffer will show strange effects. This CL forces a transparent background temporarily during the activity transition to avoid this problem. Test: manual testing using test application Change-Id: I63f24dba3c2f810944bcbf07faf309f9f1c5889a
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
358856356cc744d6b0444c158e7b75ccefd054d4 |
|
14-Jun-2016 |
George Mount <mount@google.com> |
Fix mapping two shared elements to a single shared element. Bug 29090777 Change-Id: I7b51527096f0fb6564e3d84575b2270bc577fc68
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
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/app/EnterTransitionCoordinator.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/app/EnterTransitionCoordinator.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/app/EnterTransitionCoordinator.java
|
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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
52ff2b7798bdf5576b056663d45d2b491853c04e |
|
23-Mar-2016 |
George Mount <mount@google.com> |
Invalidate entire scene root when executing the transition. Bug 27778109 When switching from forced visibility to using real visibility, I didn't take into account the fact that invalidating INVISIBLE Views skip invalidation. This CL invalidates the scene root to ensure that the transition is properly executed. Change-Id: I092d0fe42229390927f7d1b65fc2b3ce5fc2938d
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
10d312b5dae0ee565876101b0c914d7a1aab6451 |
|
16-Dec-2015 |
George Mount <mount@google.com> |
Reset accessibility after Activity enter transition. Bug 25504648 Invisible views don't respond to accessibility. The transition system uses a sneaky way to make an invisible view visible with the GhostView, so the views becoming visible doesn't trigger the accessibility system to recognize the newly- visible views. This forces accessibility to rescan the contents after the transition completes. Change-Id: If57114b7e7ee304707d53dd235cd7795df8f509f
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
6e09942a7d06adc564e6ca4a0e7328b46b4af28c |
|
19-Nov-2015 |
George Mount <mount@google.com> |
Merge "Fix leak of Bundled data."
|
3bbc2ed1285a09a6e5c325d3e721ba8bb4072ff8 |
|
18-Nov-2015 |
George Mount <mount@google.com> |
Fix leak of Bundled data. Bug 25776890 Change-Id: Ib67c71e2fa01c902ad2b18f46bcaad73a73955ad
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
a228d7e1b1bf719f0baf797be91a58f47b2e2800 |
|
17-Nov-2015 |
George Mount <mount@google.com> |
Properly remove GhostViews when Activity Transition canceled. Bug 25744941 When the returning Activity finished without transferring the shared element, the shared elements in the underlying Activity were left as GhostViews. This CL transfers the shared elements back when the shared element transition is canceled. Change-Id: I9062f1d439bb5364ac939788c67b20a739c0627b
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
b1f1293355a1837d95095d28891f9218bdcf2bdd |
|
15-May-2015 |
George Mount <mount@google.com> |
Merge "Remove hidden/deleted APIs." into mnc-dev
|
5aec62eae12b35de8d5fe7cba29166048c167572 |
|
08-May-2015 |
George Mount <mount@google.com> |
Remove hidden/deleted APIs. Change-Id: Iabeaac2c9b485f1f25fb2fcc3193610b0d6478c4
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
1fb941dd4f089fd778d1438fe8588be0eca8848a |
|
30-Oct-2014 |
George Mount <mount@google.com> |
Ensure views are attached prior to starting enter transition. Bug 17964119 Change-Id: Ic4ecd5aa9a3bbe5565381b8d9b3c79dd47720e5d
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
45b701085b8507006c07f5eb86d9f29f4ee07457 |
|
28-Oct-2014 |
George Mount <mount@google.com> |
Merge "Fixed: Nested shared elements now transition separately." into lmp-mr1-dev
|
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/EnterTransitionCoordinator.java
|
83c692efd3c53050fce132dfd2ef21763d3cf010 |
|
23-Oct-2014 |
George Mount <mount@google.com> |
Fix NPE when rejected snapshots are null. Bug 18055705 Change-Id: Id0b98e7da5510af438c5d66c0ddb00489d581864
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
48bd13c9cb2627847cf1f7707a084eb354e9c303 |
|
12-Sep-2014 |
George Mount <mount@google.com> |
Fixed: getDecor() NullPointeExceptions. Bug 17481173 Change-Id: Ie6e1710cadb7d1e52515c2927dce733b3ec3eabb
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
4188d0de101e2d932130f15f1d11d8a83326c22f |
|
12-Sep-2014 |
George Mount <mount@google.com> |
Fixed NPE in EnterTransitionCoordinator Bug 17478213 Change-Id: I6614f6e9e91103fbf50c49d2560088969f90685a
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
05c4f7ad765e2178e6e28676fd3438d2aaa38894 |
|
10-Sep-2014 |
George Mount <mount@google.com> |
Merge "Fix ArrayIndexOutOfBoundsException." into lmp-dev
|
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/EnterTransitionCoordinator.java
|
214e7ad1750786d5f2af55b030a25b02b6986c0d |
|
08-Sep-2014 |
George Mount <mount@google.com> |
Merge "Use Alpha instead of TransitionAlpha for Activity Transitions." into lmp-dev
|
7fa7da221ef10113cda33c1cdc5810fe5ed0e00b |
|
08-Sep-2014 |
George Mount <mount@google.com> |
Fix ArrayIndexOutOfBoundsException. Bug 17419926 Change-Id: I211fe9c26d8e489c2a25f93f4076ad290c8c5af6
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
dd725ec4a70705d5ee35c9096e9efef57f71354f |
|
03-Sep-2014 |
Dake Gu <dake@google.com> |
Merge "ActivityTransition: fix activity not finished on back" 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/EnterTransitionCoordinator.java
|
f31d83ce700c586947d3fcdb589fc623249c7c8f |
|
29-Aug-2014 |
George Mount <mount@google.com> |
Fix NPE in EnterTransitionCoordinator. Bug 17324730 Change-Id: I2a8c5a4b82a7a252d4ac2319a26f3610b8e358ac
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
407d1fa52c621271c3e587a3a767d80443a7fbde |
|
29-Aug-2014 |
George Mount <mount@google.com> |
Fix NPE when clicking "back" quickly. Bug 17319368 Change-Id: I8cf544aefa75bd5fe4f606e185f84977a36b0cdc
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
9985aaf2688a84181f4c0efec47f51d453f76379 |
|
09-Aug-2014 |
George Mount <mount@google.com> |
Merge "Move shared elements to overlay when in a transition group." into lmp-dev
|
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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
82ffc141f50bedd7d0af4352e6b6370f4852f752 |
|
01-Jul-2014 |
George Mount <mount@google.com> |
Ensure views have been laid out before capturing the epicenter. Bug 15992706 Change-Id: If245040b756882bcc82f56ef2c4563ce25c24e9e
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
3cc716c445688228311bead8641c467e91effab9 |
|
13-Jun-2014 |
George Mount <mount@google.com> |
Don't make translucent window opaque during activity transition. Bug 15535332 Returning transitions will continue to not work until Bug 14869070 is fixed. Change-Id: If0128b58eb852b037924ae6dea8e975fedbe5be7
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|
233ceeebab7efe6ad4783371003c4cf29b896436 |
|
10-May-2014 |
Craig Mautner <cmautner@google.com> |
Pass ActivityOptions back from finishing activity. Adding an ActivityOptions parameter to convertToTranslucent provides a mechanism for delivering these options to the activity that launched the one that is returning. Fixes bug 13032208. Fixes bug 14469460. Fixes bug 14597427. Change-Id: I4115dd3c69de9d175f6df0498a6e964fca5eca29
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.java
|
8df5a07d880691e420cb7c702e4d41260e85d1b8 |
|
01-May-2014 |
George Mount <mount@google.com> |
Merge "Fix "blink" when going "back" quickly after entering Activity."
|
1a5b294d399c95e656c9ad1aebbc09d6c384be41 |
|
01-May-2014 |
George Mount <mount@google.com> |
Fix "blink" when going "back" quickly after entering Activity. Bug 14445508 Activity Transitions would occasionally blink to black when going "back." This was caused because the convertToTranslucent callback was slow to come and could occur during the exit transition while going back. Change-Id: I17db25197926399dc22b50c595416dfa7b32b026
/frameworks/base/core/java/android/app/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.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/EnterTransitionCoordinator.java
|