Implement new style folder icon
1. Enlarge folder icon to reveal partially hidden inner items when a dragged item is hovering the icon. To do this, we create two icon: unclipped and clipped icon. unclipped icon is only used inside AppListItemView to show the animation while clipped icon is provided by AppListItemView::GetIconImage(). 2. Enlarge preview circle when a dragged item is hovering non-folder icon. 3. Add mask layer to folder's background view so that it clips the top icons in folder opening and closing animation. Specs: https://screenshot.googleplex.com/ORnHSj8JYd1 Demo: https://drive.google.com/open?id=1pFna0cXFzMJ2Hqliq-T2EFbra2bkRaNw (With animation duration 10X) Bug: 860824 Change-Id: I174629a373bd398de418f8f66f2ad5b902d72c60 Reviewed-on: https://chromium-review.googlesource.com/1138641Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Yury Khmel <khmel@chromium.org> Commit-Queue: Weidong Guo <weidongg@chromium.org> Cr-Commit-Position: refs/heads/master@{#578412}
Showing
This diff is collapsed.
Please register or sign in to comment