Change Picture: Improve photo taking animations.
This improves the flash animation for photo taking by removing the use of a mask-image in favor of a border that can be animated and doesn't conflict with flash animations. This makes the removal of the circular frame used for preview less jarring. It also adjusts the delay of animations and defers image processing so that flash animations have a chance to finish running. Single photo mode uses white color ease-in animation, while video mode uses a less intense flash with 0.67 opacity. Last, it uses the first frame of PNGs as placeholder while larger animated PNGs are loading from object URLs. This prevents the loading from appearing as a flash. Bug: 773987 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ibd1a2ec06984a38df685d6f5e29963debcc91190 Reviewed-on: https://chromium-review.googlesource.com/742801 Commit-Queue: David Reveman <reveman@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#512612}
Showing
Please register or sign in to comment