OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2013 Google Inc. All Rights Reserved. | 2 Copyright 2013 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 anim1.timing.delay = 4.0; | 57 anim1.timing.delay = 4.0; |
58 expectEndTime(anim2, 13.0, | 58 expectEndTime(anim2, 13.0, |
59 "Animation 2 end time should be updated by changes to animation 1 delay"); | 59 "Animation 2 end time should be updated by changes to animation 1 delay"); |
60 anim1.timing.endDelay = 3.0; | 60 anim1.timing.endDelay = 3.0; |
61 expectDuration(anim1, 3.0, "Animation 1 duration should not include endDelay"); | 61 expectDuration(anim1, 3.0, "Animation 1 duration should not include endDelay"); |
62 expectEndTime(anim1, 10.0, "Animation 1 end time should include endDelay"); | 62 expectEndTime(anim1, 10.0, "Animation 1 end time should include endDelay"); |
63 expectEndTime(anim2, 16.0, "Animation 2 end time should include Animation 1 endD
elay"); | 63 expectEndTime(anim2, 16.0, "Animation 2 end time should include Animation 1 endD
elay"); |
64 expectDuration(animationSequence, 16.0, | 64 expectDuration(animationSequence, 16.0, |
65 "AnimationSequence duration should still be sum of childrens' total duration
s"); | 65 "AnimationSequence duration should still be sum of childrens' total duration
s"); |
66 </script> | 66 </script> |
OLD | NEW |