I have prepared a few videos to show the change in the startup animation I am proposing<br>In all the videos, at the right is one XO with the patch and the left is another without the patch,<br>the method to compare the times is not very scientific, but I have tried to start the activities at the same time :)<br>
<br>In the first test, I used alpha and scale cairo operations to modify to render only one time the icon<br><div class="gmail_quote">you can see the zoom effect at the start and a little improvement in startup time:<br> <div>
<br></div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=dE7eXjsQm_g" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204); text-decoration: underline;" target="_blank">http://www.youtube.com/watch?v=dE7eXjsQm_g</a></span><div>


<br></div><div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=nHqcdsAFvgE" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204); text-decoration: none;" target="_blank">http://www.youtube.com/watch?v=nHqcdsAFvgE</a></span></div>


<div><br></div><div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=g4qMB4eayU4" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204); text-decoration: none;" target="_blank">http://www.youtube.com/watch?v=g4qMB4eayU4</a></span></div>


<div><br>If you want test in your system, you can download <a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/files_animation.zip">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/files_animation.zip</a><br>
and copy the files in the directory pulse in the following directories:<br>
icon.py -> /usr/lib/python/python2.7/site-packages/sugar/graphics/<br>
launcher.py and pulsingicon.py -> /usr/lib/python/python2.7/site-packages/jarabe/view/<br><br>The patches are:<br><a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/Add-alpha-and-scale-functionality-to-the-icon-can-be-used-in-the-launcher-to-do-the-animation---v2.patch">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/Add-alpha-and-scale-functionality-to-the-icon-can-be-used-in-the-launcher-to-do-the-animation---v2.patch</a><br>
<a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Do-startup-animation-of-the-activity-icon-using-scal.patch">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Do-startup-animation-of-the-activity-icon-using-scal.patch</a><br>
<br>You can see the effect is different, and may be is not so good like the original.<br><br>I did another try using two buffers, with the different colors, and changing the alpha <br>to obtain a similar effect. The code is a lot more complex, and is a little slower obviously.</div>
<div><br></div><div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=9rLaE0TKZXw" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204); text-decoration: none;" target="_blank">http://www.youtube.com/watch?v=9rLaE0TKZXw</a></span></div>


<div><br></div><div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=-Q2RliMTLRM" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204);" target="_blank">http://www.youtube.com/watch?v=-Q2RliMTLRM</a></span></div>


<div><br></div><div><span style="font-family: arial,sans-serif; font-size: 13px;"><a href="http://www.youtube.com/watch?v=SHBCSnrGsjA" style="margin: 0px; padding: 0px; border-width: 0px; font-size: 13px; background-color: transparent; color: rgb(0, 51, 204); text-decoration: none;" target="_blank">http://www.youtube.com/watch?v=SHBCSnrGsjA</a></span><span style="font-family: arial,sans-serif; font-size: 13px; font-weight: bold;"><br>

</span><span style="font-family: arial,sans-serif; font-size: 13px;"></span><br>The patchs are:<br><br><a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Add-alpha-to-icon-and-secondary-buffer-to-implement-.patch">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Add-alpha-to-icon-and-secondary-buffer-to-implement-.patch</a><br>
<br><a href="http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Do-startup-animation-using-alpha-scale-and-a-seconda.patch">http://dev.laptop.org/~gonzalo/alpha-pulsingicon/0001-Do-startup-animation-using-alpha-scale-and-a-seconda.patch</a><br>
<br>If you want test in one XO can use the files in the directory pulse-doublebuf in the files_animation.zip<br><br>I want include this in 0.94, thoughts? <br><br>Gonzalo<br><br></div></div>