419754545ea0768a7fa715daddedef75b7b31bfa |
20-Nov-2014 |
George Mount <mount@google.com> |
Merge "Reset the transitionAlpha after the transition completes." into lmp-mr1-dev
|
6c211ff43e1e8055ecd08d30fa8d7fdde04942ae |
20-Nov-2014 |
George Mount <mount@google.com> |
Reset the transitionAlpha after the transition completes. Bug 18423893 Change-Id: I2ea30c3b7c45eca70d1518e73f814b827f519fa0
hangeTransform.java
|
2db3bf5c49ebcd56f02f10145aa40b2445f6be06 |
19-Nov-2014 |
George Mount <mount@google.com> |
Slide supports Gravity.START and Gravity.END. Bug 18444396 Change-Id: Id7b82b44948e4501c2b4fb5302d22672fa20cd00
idePropagation.java
lide.java
|
20559079ab05aa5e976bb0f7aa63fd9e6868f02e |
13-Nov-2014 |
George Mount <mount@google.com> |
Fix Visibility transitions canceling when nothing has changed. Bug 18377719 Change-Id: I4ba282bba928781e7b8a62e813cb83f8bf78b58c
isibility.java
|
8f7d3715c5b26069a55464b1d3e517c6ecc600c7 |
10-Nov-2014 |
George Mount <mount@google.com> |
Merge "Allow PathMotion to affect translations in ChangeTransform." into lmp-mr1-dev
|
fa35d14e431dbfc2418fe736b826922fde6503e7 |
01-Nov-2014 |
George Mount <mount@google.com> |
Allow PathMotion to affect translations in ChangeTransform. Bug 18207599 Change-Id: I813976527de426ba6fbdc89291d2ecde0135c19d
hangeTransform.java
|
b592d845147f051613fb62896b4e893015f8c413 |
01-Nov-2014 |
George Mount <mount@google.com> |
Fix javadoc. Bug 18183024 Change-Id: Ia29d46e03b0137cc6964dcf488af052486b6898c
ransition.java
|
4c2e3491ec6cf20bcf95a922f396473e33bc4e98 |
27-Oct-2014 |
Dake Gu <dake@google.com> |
Merge "ActivityTransition: Encode scaleType and matrix in snapshot view" into lmp-mr1-dev
|
e0f76e9a6d352c45a1729b99ea0df59bd4359423 |
27-Oct-2014 |
George Mount <mount@google.com> |
Merge "Fix transition being canceled improperly." into lmp-mr1-dev
|
b7573c2dbaff442a0f9f814bdc05aaa685574870 |
24-Oct-2014 |
George Mount <mount@google.com> |
Add resizeClip attribute to ChangeBounds. Bug 17765948 Added the XML attribute for the resizeClip property of ChangeBounds. Also updated support for resizing a view using its clip bounds and position to fix the TODO. Change-Id: I358d07d6a28fed4b7f39f9ccb9d89b9325f64239
hangeBounds.java
|
d359952459f96a9b57f50a7434b8660836c6e987 |
23-Oct-2014 |
George Mount <mount@google.com> |
Use one method to change bounds in ChangeBounds. Bug 17936593 Instead of calling setLeft(), setTop(), setRight(), setBottom() separately, make one call that does all at the same time. Change-Id: I986274f3a98b3136e71204501ffc272986ad31dd
hangeBounds.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
ransition.java
isibility.java
|
5ac9b20b41f72baabcb8a7d114bcaac3ed37e352 |
10-Oct-2014 |
George Mount <mount@google.com> |
Allow using setLeft/Top/Right/Bottom to control ChangeBounds. Bug 17938614 Change-Id: Ia341fdd63ab57ec16a3de6349b7eb07fdc0a48ae
hangeBounds.java
|
f791703f9bc566bee4f4809910d09dd415342078 |
06-Oct-2014 |
Chris Craik <ccraik@google.com> |
Avoid changeBounds animations on Views that are not yet laidout bug:17683930 This means that GONE views with empty bounds don't trigger ChangeBounds animations the first time they're shown. Change-Id: I6503c5b0a790d3d31f7566fab27a0b12c5f61f26
hangeBounds.java
|
24314e7d10d0354cd548de35a2c4795a87fbfb21 |
01-Oct-2014 |
George Mount <mount@google.com> |
Fix ChangeTransform works only once on a View. Bug 17762118 When ChangeTransform is used on a View, its intermediate values are being set, but not cleared after the transition completes unless it uses a GhostView. This CL clears the intermediate values when the animation ends if no GhostView is used. Change-Id: I2590d9c2bc36d31023b3e1af94d2bd72c9589eb5
hangeTransform.java
|
017b13a50c1225ca338357dc1315befa38dc3e33 |
01-Oct-2014 |
Dake Gu <dake@google.com> |
ActivityTransition: Encode scaleType and matrix in snapshot view So that SharedElementCallback can setup initial imageView scale type properly to run transition against. b/17703309 Change-Id: I0ab212e0413fd666de605bc51ef64c8d66e4d09d
ransitionUtils.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
ransition.java
|
7343ba2f80e9d58f97da6753703e02c934686177 |
19-Sep-2014 |
George Mount <mount@google.com> |
Merge "Fix broken logic in isValidTarget" into lmp-dev
|
cc82424b449f9d106d8d4caee74ad869d0e620ce |
18-Sep-2014 |
George Mount <mount@google.com> |
Fix broken logic in isValidTarget Bug 17553253 Change-Id: I9f3f2c80e59128fd5f8d4b1b2a67692c00804f62
ransition.java
|
dc5bf6a7f0e9d05a1019bb01b406ec1f54cdaa2b |
18-Sep-2014 |
George Mount <mount@google.com> |
Default to using hardware layer during fade transition. Bug 17499864 When hasOverlappingRendering() is true, a layer is used to to fade views because performance can be much worse then. When hasOverlappingRendering() is false, the performance is not hurt and a layer is not used. Change-Id: If3fb1c23ffc8d0bef85c9d16df6c26ff4bbd49ac
ade.java
|
79b2781aa763cbd770f690c16af4448139f37061 |
13-Sep-2014 |
George Mount <mount@google.com> |
Fixed OOM due to visibility transitions. Have maximum size for Visibility transition bitmaps. Also changed Visibility to avoid transitioning out child views while transitioning out their parents. Also moved view-to-bitmap code to common utility. Bug 17469198 Change-Id: I05f069a267539b479da1b39cdad2cc9270c5c381
ransitionUtils.java
isibility.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
ransition.java
ransitionSet.java
ransitionValues.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
ransitionSet.java
|
38a664986ba5ed101916c49c926d176c434b725b |
10-Sep-2014 |
George Mount <mount@google.com> |
Fixed empty TransitionSet not notifying listeners. Bug 17469482 Change-Id: I2673960e75737d659e52132f1f3b8230080adb7b
ransitionSet.java
|
e988ee1eb2cc0cd345e42bcc549363a0e8c339aa |
11-Sep-2014 |
Craig Stout <cstout@google.com> |
Omit appearing views that have a parent that is also appearing. b/17460766 Change-Id: Ib3fe619e271688c93a5cd4cb4d557e6cca5baa34
isibility.java
|
a740b2bf9a492df5301336e2533651fa90e57c6b |
08-Sep-2014 |
George Mount <mount@google.com> |
Merge "Only call setHasTransientState in captureHierarchy." into lmp-dev
|
24e08d0692583fbb038ea26236d9700b9019f1f1 |
08-Sep-2014 |
George Mount <mount@google.com> |
Merge "Improve Visibility parent value check." into lmp-dev
|
9f1ac3976ea3aa08c20c06fa6678e367e1ed424d |
08-Sep-2014 |
George Mount <mount@google.com> |
Improve Visibility parent value check. Bug 17412818 Bug 16398271 The Visibility Transition must not run against children that are already disappearing or there will be, for example, a double fade-out effect. Before this change, if a parent matched another view, it would prevent its child from disappearing. This change also removes using the overlay for children that have been removed from the view hierarchy indirectly. This prevents ListView and RecyclerView children from being added to the overlay. Change-Id: Iac0610f0939da8643b98812ee1ec1c8d1d70a215
isibility.java
|
21f54f39408d43705e4aa7060c562271ca2886f1 |
05-Sep-2014 |
George Mount <mount@google.com> |
Only call setHasTransientState in captureHierarchy. Bug 17390936 Change-Id: I1a8cdc2820b53f6ca9f6edc41a7e87f45bea7811
ransition.java
ransitionSet.java
|
f9557619a7643c971e64e5b35583476202e77b7b |
29-Aug-2014 |
George Mount <mount@google.com> |
API Review: Improve javadoc. Bug 17189781 Also rename PatternMotion to PatternPathMotion Change-Id: I1c4dcbdd65e33cf9de1504277e31f9f7ede0380d
rcMotion.java
hangeTransform.java
atternMotion.java
atternPathMotion.java
ransition.java
ransitionInflater.java
|
66946e22b10a435108b1405061280a4463ce51c4 |
03-Sep-2014 |
George Mount <mount@google.com> |
Merge "Fix ChangeTransform to work with interruptions" into lmp-dev
|
dc19ac008c5065521ac9843d66c8701af8845264 |
03-Sep-2014 |
George Mount <mount@google.com> |
Fix ChangeTransform to work with interruptions Bug 17372872 If ChangeTransform was interrupted after its animation completed, but before the parent's Transition completed, it would think that its start location was relative to its parent's current position and not relative to its end position. Change-Id: Iad25aafc03c41c1e0a7530548fb38acafbaffb8e
hangeTransform.java
|
95f3bcdce0b026369d924982dd3315da8dffaf3a |
03-Sep-2014 |
Chet Haase <chet@google.com> |
Merge "Fix TransitionManager.go() to allow null transitions" into lmp-dev
|
5a7cf3eeeb208c2dac52541cb09b519b4342a5ff |
03-Sep-2014 |
Chet Haase <chet@google.com> |
Fix TransitionManager.go() to allow null transitions The doc'd behavior of go() is that a null transition is equivalent to just switching to a scene with no transition. The actual behavior was an NPE crash. Issue #17342291 TransitionManager.go() with null Transition parameter throws NPE unlike documentation Change-Id: I9416aa6e307f80eefc201ca3264fd64f8587ac2f
ransitionManager.java
|
a2327aacac0336aa549fa123e4e8342287787c86 |
03-Sep-2014 |
George Mount <mount@google.com> |
Merge "Make Fragment Transitions match Acitivty Transitions API" into lmp-dev
|
c03da0e7a9ef721709d51cf8a2d539a5bd8a320e |
23-Aug-2014 |
George Mount <mount@google.com> |
Make Fragment Transitions match Acitivty Transitions API Bug 17188255 Change-Id: I506a097be4010d7156caf465c95295c58612c16e
ransitionUtils.java
|
9a61f9485e4a178ff4b34f0563944c61059cc571 |
30-Aug-2014 |
George Mount <mount@google.com> |
Merge "Use offsetLeftAndRight and offsetTopAndBottom in ChangeBounds." into lmp-dev
|
ff8e6d85dc5ef03b8d7c94b014fa4da800b5402c |
29-Aug-2014 |
George Mount <mount@google.com> |
Use offsetLeftAndRight and offsetTopAndBottom in ChangeBounds. Bug 17015836 When the size does not change, use offsetLeftAndRight and offsetTopAndBottom to improve performance. Change-Id: I3e70c783321346bb98867ec60bd899c39293c9e7
hangeBounds.java
|
46a761db9a281657fe31522caccbfcc94a8e8e56 |
29-Aug-2014 |
George Mount <mount@google.com> |
Merge "Fix NPE when transitioning on unattached scene root." into lmp-dev
|
6276cd4b8defba1b6fef47ebc1bbe14498655b94 |
29-Aug-2014 |
George Mount <mount@google.com> |
Fix NPE when transitioning on unattached scene root. Bug 17261558 Change-Id: Ib86c72e26f7fd9ac3fc47df650d95fdeeb43f1be
ransition.java
|
3b2cd1d59fd894ac67a044c6c540fa69360a34a2 |
25-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Update API per council requests launchTaskBehindBackgroundAnimation => launchTaskBehindTargetAnimation visibilityMode => transitionVisiblityMode makeLaunchTaskBehindAnimation => makeTaskLaunchBehind launch_task_behind_background = launch_task_behind_target Fixes bug 16958544. Change-Id: I3b7c791fc0671b8071a5377cf6fa878bd5861f70
isibility.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
hangeBounds.java
hangeImageTransform.java
hangeTransform.java
ransition.java
ransitionUtils.java
isibility.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
hangeBounds.java
ransition.java
ransitionSet.java
|
dbe3655c0b93b4bf80c751b4148fcbefbfe96d5b |
19-Aug-2014 |
George Mount <mount@google.com> |
Set start transform before animator starts. Bug 16958319 ChangeImageTransform was waiting until the animator started before setting the image matrix. Animators with a start delay would leave the ImageView with the final transform before the animator started. Change-Id: I5ebc03b58a8697da3edf4a01c8906d60e7938f44
hangeImageTransform.java
|
7f15164ecb4c93cbb3cc886a3028621c0d0fffcc |
19-Aug-2014 |
George Mount <mount@google.com> |
Add a way to get Transitions from a TransitionSet. Bug 17113732 Change-Id: I0a157a59448e66560ba2252709971131c5dea401
ransitionSet.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
ransition.java
|
6ceac2eafbb43dafd18bf547fee6fe51aee6b59b |
31-Jul-2014 |
George Mount <mount@google.com> |
Fix visibility propagation check. Bug 16704963 Change-Id: I2538bac4b4565ac8c6b27407c7679fea55b1092b
isibility.java
isibilityPropagation.java
|
964c3cf5b25ccbb5b07c1bda6eb147c912e96a7b |
24-Jul-2014 |
George Mount <mount@google.com> |
Add default propagation back to Explode. Bug 16217557 Change-Id: I47460db128749af978077755a777068392492aee
xplode.java
|
2cacfe3a98ff4f777503cedca5e6fc44e6df269f |
24-Jul-2014 |
George Mount <mount@google.com> |
Allow changing bounds to and from a zero-sized bounds. Bug 14590183 Change-Id: I596cb384198a6f7de14afed0d78711f127d3511e
hangeBounds.java
|
d761dcaf1c79fe38ecb533b36f852b3a38a4f6f1 |
25-Jul-2014 |
Dake Gu <dake@google.com> |
TransitionSet: fix excludeTarget not working b/16552254 Change-Id: I01467e258754d95f1b9fa61a27d1da98eed9b57c
ransitionSet.java
|
51c014843a6d339d115dfa88b9ee2fff90a8b844 |
24-Jul-2014 |
George Mount <mount@google.com> |
Fix Monkey NPE. Bug 16135577 Change-Id: If2ea474fd9ca9232fec325deed0e9b9b806595f6
ransition.java
|
2dcab18c6c9381122df6e06a93912e53dff69408 |
22-Jul-2014 |
Paul Soulos <psoulos@google.com> |
Adds ScrollBounds to the Transition framework Change-Id: If22ab5162737f2d109e5eaf407a735523a146b7f
hangeBounds.java
hangeScroll.java
ransitionInflater.java
ransitionUtils.java
|
ad88e1b1b2c57fa56bde68764b22240d145fa0ef |
19-Jul-2014 |
George Mount <mount@google.com> |
API Council: Change docs and constant names. Bug 16401545 Changed doc for ChangeImageTransform. Changed IN/OUT to MODE_IN/MODE_OUT. Changed mode to flag attribute. Change-Id: Ia2ae9930f9725871c9b1d80b758a3a0808a8f0c6
hangeImageTransform.java
ade.java
isibility.java
|
e3b50aecfd913d3032460a99224803ba688bab27 |
15-Jul-2014 |
George Mount <mount@google.com> |
Fix NPE during construction from XML. Bug 16322214 Change-Id: Ie2811a54880ab60b607ae29d7df04b0636e67197
ransitionSet.java
|
f3de5a2e34412710234cd1f5f3933ce266ea0e49 |
09-Jul-2014 |
George Mount <mount@google.com> |
Remove modified APIs viewName was changed to transitionName and MoveImage was replaced with ChangeImageTransform + ChangeBounds. Change-Id: I5e0b0250ef3c926d1c3de212de3a5e1503e89b86
oveImage.java
ransitionInflater.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
hangeBounds.java
ransition.java
ransitionSet.java
isibility.java
|
58bbdbd1f1e2b2ed2e82caad6de6411fa2380cdc |
01-Jul-2014 |
George Mount <mount@google.com> |
Fix targeting transition by transitionName. Change-Id: I5e51b524a3a249cd2d7dbba3ccb06d0a5ca8fb73
ransition.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
rcMotion.java
utoTransition.java
hangeBounds.java
hangeClipBounds.java
hangeImageTransform.java
hangeTransform.java
xplode.java
ade.java
oveImage.java
athMotion.java
atternMotion.java
ecolor.java
lide.java
ransition.java
ransitionInflater.java
ransitionSet.java
isibility.java
|
31e8005e06acf363a0cd92b891d43f79c72dac30 |
27-Jun-2014 |
George Mount <mount@google.com> |
Merge "Don't use overlay to transition ImageViews."
|
18ab79967ce8bcde4b1507164ac8186e5135622e |
26-Jun-2014 |
George Mount <mount@google.com> |
Add IN/OUT flag for all Visibility transitions. Bug 15758206 Change-Id: If9b1871117a6808c87adc84ab9215b913ebd2704
ade.java
ransitionInflater.java
isibility.java
|
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
hangeImageTransform.java
atrixClippedDrawable.java
oveImage.java
ransition.java
ransitionInflater.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
ransition.java
ransitionInflater.java
ransitionSet.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
ransition.java
ransitionInflater.java
ransitionSet.java
|
125578a8637a9ad5e7430d16b9fc0096a8b596d7 |
18-Jun-2014 |
George Mount <mount@google.com> |
API Review: Change View viewName attribute to transitionName. Bug 15548520 Change-Id: I4009458d83dbffb20ff0100aaa42eea44d943378
ransition.java
ransitionInflater.java
ransitionSet.java
|
44d663849481576fb649aeb6234086406ced75f1 |
18-Jun-2014 |
George Mount <mount@google.com> |
Allow custom transitions from XML. Bug 15699798 Change-Id: I841289a72d7c08bb24b3e18380c79ba7960f9b22
ransition.java
ransitionInflater.java
|
1f8c01181bcdef6e7e7e359ecde003939523b718 |
17-Jun-2014 |
George Mount <mount@google.com> |
Handle interruptions in Explode and Slide transitions. Bug 15618842 Change-Id: I22431b59c6516ee330d897791b79fa9ed17ba727
xplode.java
lide.java
ranslationAnimationCreator.java
|
4c20ea29728a80b42487b3ba1600d11d5ea47bcc |
17-Jun-2014 |
George Mount <mount@google.com> |
Fix blinking animation during Visibility transitions. Bug 15618501 Change-Id: I9dff9eb386a4bfb51caec24f3f7cc0fad06ae04c
ransition.java
isibility.java
|
d4c3c91dd0757eec9703ef90ea4c5a7ee99f18ca |
09-Jun-2014 |
George Mount <mount@google.com> |
Allow antroid.transition Transitions in fragments. Bug 15274281 Bug 15189829 Change-Id: I8e2974430b84a611866fe20afe1f5745e803683f
ransition.java
ransitionSet.java
isibility.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
ransition.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
idePropagation.java
lide.java
ransition.java
ransitionInflater.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
hangeTransform.java
|
7b75062fb05a9981faf3c0c9f840dbdb9e97e7f7 |
14-May-2014 |
George Mount <mount@google.com> |
Allow changing order of matching Views in Transitions. Bug 14899804 Change-Id: I13c080141fce6be8430d540e3c42d40a445bb224
ransition.java
ransitionInflater.java
|
11d04154811f8f64f86ff0652efe84868284ef8e |
14-May-2014 |
George Mount <mount@google.com> |
Merge "Check for null Drawable in MoveImage"
|
30da61d477bcb6cc7718f9516c444359352fe148 |
09-May-2014 |
George Mount <mount@google.com> |
Add view name to Transition matching. Bug 14625214 Change-Id: Ia1b21e6bd0ea4892b504746e582aeb175e0f0506
ransition.java
ransitionInflater.java
ransitionSet.java
ransitionValuesMaps.java
isibility.java
|
d8cdb8cc2ca509e48cc468bd60c12f08eeeb2e39 |
13-May-2014 |
George Mount <mount@google.com> |
Check for null Drawable in MoveImage Bug 14676155 Change-Id: Ic8d2c3fc471a876f5369e743e60ffb0f238f3eed
oveImage.java
|
764af2958bccd3e4dacf4e4be18b1267f8715961 |
08-May-2014 |
George Mount <mount@google.com> |
Merge "Fix mismatch in Transition ID/instances"
|
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
ransition.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
oveImage.java
|
265f209d551092a08f2969ec5fed94292d7741b6 |
01-May-2014 |
George Mount <mount@google.com> |
Fixed transition start delay propagation when duration = 0. Bug 14443184 Also gave the propagation speed a tweak to make it more obvious that there is a propagation. Change-Id: If9dc3172ae6ce7e6a712ccd1b83ebec9bf880bfa
ircularPropagation.java
idePropagation.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
ransition.java
ransitionInflater.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
hangeClipBounds.java
hangeTransform.java
oveImage.java
ransition.java
ransitionInflater.java
|
f976c3d42bc2f14333bae5ed26d96c45d207a443 |
15-Apr-2014 |
George Mount <mount@google.com> |
Add ability to exclude Views in transition XML. Bug 14259955 Change-Id: I47bb10c530c9fec8910ddd96156fc38d6027e1f6
ransition.java
ransitionInflater.java
|
80c1210e5978aee112285b4c506c4cf326718daa |
28-Apr-2014 |
George Mount <mount@google.com> |
Merge "Fade Transition sometimes disappeared improperly."
|
1b2fb2ca13694e5cef4973d9d5852b826a86c890 |
26-Apr-2014 |
George Mount <mount@google.com> |
Fade Transition sometimes disappeared improperly. Bug 14320504 Change-Id: I43c2ddd34a5bd3a366027cd3c09d088baa4fb6f4
ade.java
isibility.java
|
8c0ceb34c3de5153dad162be719e2933c56886ae |
15-Apr-2014 |
George Mount <mount@google.com> |
Properly filter out excluded views in createAnimators() call. Bug 14258783 Change-Id: I2d07e9d72a87674c215d36ccfc004c45623e7c24
ransitionSet.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
ransition.java
ransitionInflater.java
ransitionManager.java
isibility.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
ircularPropagation.java
xplode.java
ade.java
atrixClippedDrawable.java
oveImage.java
idePropagation.java
lide.java
ransition.java
ransitionInflater.java
ransitionPropagation.java
ransitionSet.java
isibility.java
isibilityPropagation.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
ransition.java
ransitionManager.java
ransitionSet.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
ransition.java
ransitionInflater.java
ransitionManager.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
ransition.java
ransitionInflater.java
ransitionManager.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
ransition.java
ransitionInflater.java
ransitionManager.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
ransition.java
|
cfbe9be5b3b701d95fb24fa0f7c8d9be43eec776 |
06-Nov-2013 |
Adam Powell <adamp@google.com> |
Add support for cross-activity scenes and transitions * Add theme attributes for specifying a top-level TransitionManager for an activity window. * Add window feature for automatic content transitions. This automatically assigns/creates a Scene for setContentView calls. * Add named transitions. This allows apps to define APIs for handshake-agreements about which exit/entrance transitions to play. * Add new transition type for ActivityOptions. This lets the system use ActivityOptions to communicate transition specifics and arguments to the called activity. * Have ActivityManager pass appropriate ActivityOptions through to the called Activity. Have the called activity call back into the caller to let it know which transition of a possible requested set was chosen. Still to do: * Define and pass arguments for transitions. This will require defining a Parcelable version of TransitionValues and deciding how much leeway apps should have for these things. * Determine how to appropriately filter the ActivityOptions bundle so that only appropriate data reaches the target. * Determine if generalizing the auto-Scenes functionality to ViewGroups is appropriate. Change-Id: I10684b926129ab2fbc1adec9ef31767237acae79
ransitionInflater.java
ransitionManager.java
|
ab42aec4bc0311b2d36aaa85ad73dd91768d7e4c |
07-Nov-2013 |
Adam Powell <adamp@google.com> |
Fix docs Change-Id: Iaeef1812e3dfa76abe40468066860f73d8a10f79
cene.java
|
18e905f42d017c4721d33bd25d7d39ef8d64b5d5 |
24-Oct-2013 |
Adam Powell <adamp@google.com> |
Make Scenes and Transitions first-class in PhoneWindow/Themes Add a window feature for content transitions. This implicitly creates a Scene for each setContentView operation and runs the appropriate transition. Applications can specify a TransitionManager XML in their theme that will apply the appropriate transitions when these implicit scene changes occur. Apps can specify a "to" with no "from" in a transition to request an entrance transition for the given content. This lays the groundwork for further full content change/activity to activity transitions. Change-Id: Ic815d9e0b9ce958152d70bf6ee01be075aa9fe88
cene.java
|
9f30380db3b14f8282d26d42d2b29591dbda1ed5 |
31-Oct-2013 |
Chet Haase <chet@google.com> |
am 93830ffb: am df52471c: am 5747919f: Merge "Fix leak in TransitionInflater" into klp-dev * commit '93830ffb1479dad289958c96cc66c11d0efdae34': Fix leak in TransitionInflater
|
5747919fed5180956387c50cb03671b9e67be1d5 |
31-Oct-2013 |
Chet Haase <chet@google.com> |
Merge "Fix leak in TransitionInflater" into klp-dev
|
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
ransition.java
ransitionInflater.java
|
1e9a2478be45c94d38a240d80cf1fdd33134a3b7 |
25-Oct-2013 |
Adam Powell <adamp@google.com> |
am 098bc61f: am fd08694e: am 215add2e: Merge "Hide TransitionManager default transition methods" into klp-dev * commit '098bc61f6c1683c63c5210025e1f65bb41d41037': Hide TransitionManager default transition methods
|
1e9f3d868bab573072dcfa28d3b3f984de5a6756 |
25-Oct-2013 |
Adam Powell <adamp@google.com> |
Hide TransitionManager default transition methods Pending future API consideration. Change-Id: Ia4b162392e1c96b485bc28781a199bc2979ec53f
ransitionManager.java
|
75c74a4098e25bbcdcd927038adc4f251142e1e9 |
25-Oct-2013 |
Adam Powell <adamp@google.com> |
am c3661b16: am 1fcdee0d: am 92da1779: Merge "Fix bug in Scene\'s use of setTag" into klp-dev * commit 'c3661b169876bf094f09f69f40349b598bf3a745': Fix bug in Scene's use of setTag
|
f3c157721260b3cfc45874fc4f613ba2bd2e7f9e |
25-Oct-2013 |
Adam Powell <adamp@google.com> |
Fix bug in Scene's use of setTag setTagInternal must be used for framework resource IDs. Bug 11374402 Change-Id: If4d256dbf05055dac70796edd8d7b94bf65d947d
cene.java
|
d5c54bba105d948ff8647fa6d71f61fdc6b60495 |
24-Oct-2013 |
Chet Haase <chet@google.com> |
am 39e991bd: am f8525caf: am 02e4c3a1: Merge "Cache Scene objects by layout ID on the scene root" into klp-dev * commit '39e991bd5e477b6d3849ecf4824d4f247316a690': Cache Scene objects by layout ID on the scene root
|
40a67888f91c2bb94c8654fbfe402f84795d17cf |
23-Oct-2013 |
Adam Powell <adamp@google.com> |
Cache Scene objects by layout ID on the scene root The current tracking of scene objects in a static ThreadLocal is problematic as it leaks the Context associated with the SceneRoot and returns the wrong Scene object if the same layout ID is used across different scene roots. Track Scene objects on the scene root view instead to avoid these issues. Change-Id: I891986897f757f2666897c937b5ebb0ed1d531c1
cene.java
|
28e8db1940ba49a503a85737b4348c72d470440c |
23-Oct-2013 |
Chet Haase <chet@google.com> |
am 43757cc8: am 2a8eaff4: am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev * commit '43757cc8438e85bf0633580c660c4861338f1da2': Fix leak with transitions when views get removed
|
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
ransition.java
ransitionManager.java
|
1ffb280a7d2c70cc16d709c685f5d31fdb86b5e4 |
10-Oct-2013 |
George Mount <mount@google.com> |
Add ofArgb to ObjectAnimator and ValueAnimator. Bug 10396985 Change-Id: Ib1fcea04b5a915800fc415b3d548a8853b05389c
ecolor.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
ransitionInflater.java
ransitionSet.java
|
aa006133228facf2f9b61e0492fd8f724fac472f |
04-Oct-2013 |
Chet Haase <chet@google.com> |
Enable transitions in lockscreen media controller Media controller now fades between different states. The code for doing this was already there, but this CL enables them and changes the behavior of transition's OnPreDrawListener to do the right thing. Also, this CL fixes a bug in ChangeText found while testing this change. Issue #11083563 ChangeText transition crashes when KEEP transition type used Change-Id: I5e04c28e1b5faac017b0a4e49734d9faa7fe79cd
hangeText.java
ransitionManager.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
hangeText.java
ade.java
cene.java
extChange.java
ransition.java
ransitionManager.java
ransitionSet.java
isibility.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
extChange.java
ransition.java
|
9b985721dafaa28d1aa34499d23a83afc6d0a2fa |
19-Sep-2013 |
Chet Haase <chet@google.com> |
Add equals() and hashcode() to SpannableString ActionBar uses a transition to animate text changes. This transition depends on testing the equality of start/end text values in CharSequence objects. Without equals(), SpannableString will return false for objects whose references are different, but whose text is exactly the same. This CL adds the equals() method, and the accompanying hashcode method, to ensure that two Spanned implementations will always be equal if their text and span data are equal. Issue #10760075 Wrong unread count in actionbar Change-Id: I5e77d40dd302eca035e8c56d40f3cd0aef8e6424
extChange.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
ade.java
ransition.java
ransitionSet.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
ade.java
ransition.java
ransitionManager.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
ransition.java
ransitionManager.java
isibility.java
|
7d077d0364535a9865db2884bf3c3ed93db127be |
14-Sep-2013 |
Chet Haase <chet@google.com> |
Disable ActionBar transitions A problem with transitions is causing various ActionBar icons to go missing occasionally. This CL disables these transitions for now to allow ActionBar to work as expected. Issue #10726905 ActionBar weirdness in People app Change-Id: I0cb774840ae84cbb733d65865f8c1b4c6d7490fa
ransitionManager.java
|
90b10f89d7c1dd217f07f4b51ed8e5c93deccc52 |
12-Sep-2013 |
Chet Haase <chet@google.com> |
Merge "Fix TechChange's assumption about TextView targets" into klp-dev
|
8529b30b91a3af235cda52ea0889ae9af7590129 |
12-Sep-2013 |
Chet Haase <chet@google.com> |
Fix TechChange's assumption about TextView targets Some of the code in the TextChange transition assumed that the start values for a transition were for a TextView object. This may not be the case, and we should return early (without creating an animator) when it is not. Issue #10725388 Frequent Framework crashes across apps Change-Id: I6999eb2288f107f4b93ddb5b77cd068069d831ed
extChange.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
ransition.java
ransitionInflater.java
ransitionSet.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
ransition.java
|
2a83181bd1a025eb8a1763b11ae9ba33925625b3 |
07-Sep-2013 |
Chet Haase <chet@google.com> |
TextChange transition now uses CharSequence instead of String TextChange made a bad assumption that target text views contained String objects as their text, which is not always the case. For example, Gmail ActionBar text views may contain SpannableString objects, which caused a crash due to a bad cast operation. Fix is to simply use CharSequence instead of String as the value that is being stored and set on the text view. Issue #10651858 TextChange transition casts CharSequence to String when not necessarily safe Change-Id: I3f67f5d5e39201dc0fd2edcd3e4243033cf9ae08
extChange.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
utoTransition.java
hangeBounds.java
rossfade.java
ade.java
ecolor.java
otate.java
cene.java
lide.java
extChange.java
ransition.java
ransitionInflater.java
ransitionManager.java
ransitionSet.java
ransitionValues.java
ransitionValuesMaps.java
isibility.java
ackage.html
|