From f185f5d032335d883c16355fa07e381edfba5be4 Mon Sep 17 00:00:00 2001 From: Michael Kwan Date: Mon, 12 Sep 2016 21:53:27 -0700 Subject: [PATCH] Add power efficient indeterminate progress drawable animations for watch devices. Bug: 31124138 Change-Id: I09000f9c1c4226c75c7b1f86f0cf7bc961b4b0f7 --- .../progress_indeterminate_material.xml | 42 +++++++++++++++++++ ...ogress_indeterminate_rotation_material.xml | 24 +++++++++++ ...ss_indeterminate_rotation_interpolator.xml | 18 ++++++++ .../trim_end_interpolator.xml | 18 ++++++++ .../trim_offset_interpolator.xml | 18 ++++++++ .../trim_start_interpolator.xml | 18 ++++++++ 6 files changed, 138 insertions(+) create mode 100644 core/res/res/anim-watch/progress_indeterminate_material.xml create mode 100644 core/res/res/anim-watch/progress_indeterminate_rotation_material.xml create mode 100644 core/res/res/interpolator-watch/progress_indeterminate_rotation_interpolator.xml create mode 100644 core/res/res/interpolator-watch/trim_end_interpolator.xml create mode 100644 core/res/res/interpolator-watch/trim_offset_interpolator.xml create mode 100644 core/res/res/interpolator-watch/trim_start_interpolator.xml diff --git a/core/res/res/anim-watch/progress_indeterminate_material.xml b/core/res/res/anim-watch/progress_indeterminate_material.xml new file mode 100644 index 0000000000000..8f00d6c4cb666 --- /dev/null +++ b/core/res/res/anim-watch/progress_indeterminate_material.xml @@ -0,0 +1,42 @@ + + + + + + + diff --git a/core/res/res/anim-watch/progress_indeterminate_rotation_material.xml b/core/res/res/anim-watch/progress_indeterminate_rotation_material.xml new file mode 100644 index 0000000000000..63e66ec244102 --- /dev/null +++ b/core/res/res/anim-watch/progress_indeterminate_rotation_material.xml @@ -0,0 +1,24 @@ + + + diff --git a/core/res/res/interpolator-watch/progress_indeterminate_rotation_interpolator.xml b/core/res/res/interpolator-watch/progress_indeterminate_rotation_interpolator.xml new file mode 100644 index 0000000000000..ed2655cb0ac8c --- /dev/null +++ b/core/res/res/interpolator-watch/progress_indeterminate_rotation_interpolator.xml @@ -0,0 +1,18 @@ + + + diff --git a/core/res/res/interpolator-watch/trim_end_interpolator.xml b/core/res/res/interpolator-watch/trim_end_interpolator.xml new file mode 100644 index 0000000000000..f46d5e0e7c821 --- /dev/null +++ b/core/res/res/interpolator-watch/trim_end_interpolator.xml @@ -0,0 +1,18 @@ + + + diff --git a/core/res/res/interpolator-watch/trim_offset_interpolator.xml b/core/res/res/interpolator-watch/trim_offset_interpolator.xml new file mode 100644 index 0000000000000..d58672e9cb42e --- /dev/null +++ b/core/res/res/interpolator-watch/trim_offset_interpolator.xml @@ -0,0 +1,18 @@ + + + diff --git a/core/res/res/interpolator-watch/trim_start_interpolator.xml b/core/res/res/interpolator-watch/trim_start_interpolator.xml new file mode 100644 index 0000000000000..365609c97d758 --- /dev/null +++ b/core/res/res/interpolator-watch/trim_start_interpolator.xml @@ -0,0 +1,18 @@ + + +