Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use drag icon proxy for item drop animation in apps grid view
Make AppsGridView use AppDragIconProxy widget for the icon drop animation, and keep drag view hidden until the drag icon proxy animation ends. This simplifies the animation flow, as the same animation is used for dropping the drag icon into a folder vs. into the apps grid, but with different target bounds (previously reorder was performed using bounds animation, while folder drop was using special TopIconAnimationView). Also, this avoids hacks where the drag icon view's title had to be hidden during the drop animation, and makes AppsGridView drag code less reliant on hidden drag view's bounds matching the drag icon (avoiding a hack where drag icon bounds had to be manually adjusted for cardified state change before running the final bounds animation). BUG=1234002 Change-Id: I67ceb5f35b60e6d8204e8cf54cd9ba03c1e00519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3057396 Reviewed-by: James Cook <jamescook@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#906465}
- Loading branch information