-
Malay Keshav authored
This patch integrates SkiaVectorAnimation class with the views framework. Since most of the code is shared with ImageView, a new virtual super class is introduced, ImageViewBase. AnimatedImageView is added as a subclass of this virtual class. For now the integration class is a very basic view that can play and stop a given Skia vector animation at a custom size. This patch also adds an example to views/examples to load animations and play. Design doc: go/cros-skottie Bug: 890221 Change-Id: I55d7310ef74cdfb825cce441c8e61eadff9c5616 Component: Views, examples, skottie, SkiaVectorAnimation Reviewed-on: https://chromium-review.googlesource.com/c/1262967 Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#597646}
53c1dd90