Use ui::LayerAnimator for app-list folder-related animation
- The folder-view's expansion / shrink can be fully done through ui::LayerAnimator since it can animate all of the properties. - Item view can update the rounded corner and insets with animation on folder-item. It still has a slide-animation in item_view for the indicator circle of the non-folder items. I believe this can be done through the ui::LayerAnimator though it would need some amount of refactoring while it won't affect the performance so much; so this CL leaves it as-is. Bug: 983308 Test: manually Change-Id: Ib954280e3c72fd7c1add1b863349d4793059e14d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1710048 Commit-Queue: Jun Mukai <mukai@chromium.org> Reviewed-by:Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#680065}
Showing
Please register or sign in to comment