[Autofill Assistant] Add animations when setting carousel chips.
This CL adds animations when carousels chips are changed. When setting the new list of chips, we compute the minimum set of operations (insert, delete, substitute) required to transform the old list into the new one (also known as Levenshtein Distance) and we apply those operations. Animations themselves are automatically added by the RecyclerView containing the chips. Videos: - Before: http://go/aa-carousel-before - After: http://go/aa-carousel-after Change-Id: Iaaf78e3a8280fead319dea338bd2a0eb5042aff6 Reviewed-on: https://chromium-review.googlesource.com/c/1491618 Commit-Queue: Jordan Demeulenaere <jdemeulenaere@chromium.org> Reviewed-by:Stephane Zermatten <szermatt@chromium.org> Cr-Commit-Position: refs/heads/master@{#636769}
Showing
This diff is collapsed.
Please register or sign in to comment