From 802320ef915db1a79e92ac2bee90c0bf5ec180bd Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Thu, 29 Jun 2017 14:32:00 -0400 Subject: [PATCH] Update auto rotate / portrait QS icon Animations and new icon for auto rotate. No landscape included here. Test: visual Bug: 62386498 Change-Id: If2862c24bed78be2110b2d58d1b4326b04b40c9d --- ...t_from_auto_rotate_animation_arrow_top.xml | 33 ---------- ...ait_to_auto_rotate_animation_arrow_top.xml | 33 ---------- ...rtrait_to_auto_rotate_animation_arrows.xml | 54 ---------------- ...portrait_to_rotate_arrows_0_animation.xml} | 31 +++++----- ...ic_portrait_to_rotate_arrows_animation.xml | 26 ++++++++ ...ait_to_rotate_bottom_merged_animation.xml} | 15 +++-- ...portrait_to_rotate_device_0_animation.xml} | 10 +-- ...ait_to_rotate_device_merged_animation.xml} | 11 ++-- ..._rotate_to_portrait_arrows_0_animation.xml | 33 ++++++++++ ...ic_rotate_to_portrait_arrows_animation.xml | 26 ++++++++ ...e_to_portrait_bottom_merged_animation.xml} | 15 +++-- ...rotate_to_portrait_device_0_animation.xml} | 17 +++--- ...e_to_portrait_device_merged_animation.xml} | 7 ++- .../drawable/ic_portrait_from_auto_rotate.xml | 57 ++++++++--------- ...ic_portrait_from_auto_rotate_animation.xml | 29 ++++----- .../drawable/ic_portrait_to_auto_rotate.xml | 61 ++++++++++--------- .../ic_portrait_to_auto_rotate_animation.xml | 29 ++++----- ...e_to_portrait_animation_interpolator_0.xml | 19 ++++++ 18 files changed, 253 insertions(+), 253 deletions(-) delete mode 100644 packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_top.xml delete mode 100644 packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_top.xml delete mode 100644 packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrows.xml rename packages/SystemUI/res/anim/{ic_portrait_from_auto_rotate_animation_arrows.xml => ic_portrait_to_rotate_arrows_0_animation.xml} (69%) create mode 100644 packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_animation.xml rename packages/SystemUI/res/anim/{ic_portrait_from_auto_rotate_animation_arrow_bottom.xml => ic_portrait_to_rotate_bottom_merged_animation.xml} (74%) rename packages/SystemUI/res/anim/{ic_portrait_from_auto_rotate_animation_device.xml => ic_portrait_to_rotate_device_0_animation.xml} (77%) rename packages/SystemUI/res/anim/{ic_portrait_from_auto_rotate_animation_device_1.xml => ic_portrait_to_rotate_device_merged_animation.xml} (94%) create mode 100644 packages/SystemUI/res/anim/ic_rotate_to_portrait_arrows_0_animation.xml create mode 100644 packages/SystemUI/res/anim/ic_rotate_to_portrait_arrows_animation.xml rename packages/SystemUI/res/anim/{ic_portrait_to_auto_rotate_animation_arrow_bottom.xml => ic_rotate_to_portrait_bottom_merged_animation.xml} (74%) rename packages/SystemUI/res/anim/{ic_portrait_to_auto_rotate_animation_device.xml => ic_rotate_to_portrait_device_0_animation.xml} (69%) rename packages/SystemUI/res/anim/{ic_portrait_to_auto_rotate_animation_device_1.xml => ic_rotate_to_portrait_device_merged_animation.xml} (96%) create mode 100644 packages/SystemUI/res/interpolator/ic_rotate_to_portrait_animation_interpolator_0.xml diff --git a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_top.xml b/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_top.xml deleted file mode 100644 index 4e20d8190bbc4..0000000000000 --- a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_top.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - diff --git a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_top.xml b/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_top.xml deleted file mode 100644 index 682dcf35e076a..0000000000000 --- a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_top.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - diff --git a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrows.xml b/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrows.xml deleted file mode 100644 index 9fa8ec0d65d4f..0000000000000 --- a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrows.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - diff --git a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrows.xml b/packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_0_animation.xml similarity index 69% rename from packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrows.xml rename to packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_0_animation.xml index 61bdfeaa27a00..ad2a5fad52681 100644 --- a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrows.xml +++ b/packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_0_animation.xml @@ -1,6 +1,6 @@ - + - diff --git a/packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_animation.xml b/packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_animation.xml new file mode 100644 index 0000000000000..cdb7890dc170d --- /dev/null +++ b/packages/SystemUI/res/anim/ic_portrait_to_rotate_arrows_animation.xml @@ -0,0 +1,26 @@ + + + + + diff --git a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_bottom.xml b/packages/SystemUI/res/anim/ic_portrait_to_rotate_bottom_merged_animation.xml similarity index 74% rename from packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_bottom.xml rename to packages/SystemUI/res/anim/ic_portrait_to_rotate_bottom_merged_animation.xml index 4e20d8190bbc4..46100b4078315 100644 --- a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_arrow_bottom.xml +++ b/packages/SystemUI/res/anim/ic_portrait_to_rotate_bottom_merged_animation.xml @@ -1,6 +1,6 @@ - + diff --git a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device.xml b/packages/SystemUI/res/anim/ic_portrait_to_rotate_device_0_animation.xml similarity index 77% rename from packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device.xml rename to packages/SystemUI/res/anim/ic_portrait_to_rotate_device_0_animation.xml index 6a0a20bd12424..8f6d24d0d61db 100644 --- a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device.xml +++ b/packages/SystemUI/res/anim/ic_portrait_to_rotate_device_0_animation.xml @@ -1,6 +1,6 @@ - + diff --git a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device_1.xml b/packages/SystemUI/res/anim/ic_portrait_to_rotate_device_merged_animation.xml similarity index 94% rename from packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device_1.xml rename to packages/SystemUI/res/anim/ic_portrait_to_rotate_device_merged_animation.xml index 92b19add4bcb8..300ed53052a84 100644 --- a/packages/SystemUI/res/anim/ic_portrait_from_auto_rotate_animation_device_1.xml +++ b/packages/SystemUI/res/anim/ic_portrait_to_rotate_device_merged_animation.xml @@ -1,6 +1,6 @@ - + + android:interpolator="@android:interpolator/linear" /> + + + + + diff --git a/packages/SystemUI/res/anim/ic_rotate_to_portrait_arrows_animation.xml b/packages/SystemUI/res/anim/ic_rotate_to_portrait_arrows_animation.xml new file mode 100644 index 0000000000000..6e8941d608cdc --- /dev/null +++ b/packages/SystemUI/res/anim/ic_rotate_to_portrait_arrows_animation.xml @@ -0,0 +1,26 @@ + + + + + diff --git a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_bottom.xml b/packages/SystemUI/res/anim/ic_rotate_to_portrait_bottom_merged_animation.xml similarity index 74% rename from packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_bottom.xml rename to packages/SystemUI/res/anim/ic_rotate_to_portrait_bottom_merged_animation.xml index 682dcf35e076a..3c3c131ef16b7 100644 --- a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_arrow_bottom.xml +++ b/packages/SystemUI/res/anim/ic_rotate_to_portrait_bottom_merged_animation.xml @@ -1,6 +1,6 @@ - + diff --git a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device.xml b/packages/SystemUI/res/anim/ic_rotate_to_portrait_device_0_animation.xml similarity index 69% rename from packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device.xml rename to packages/SystemUI/res/anim/ic_rotate_to_portrait_device_0_animation.xml index 3208eee2c2c63..fd8e4f8811604 100644 --- a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device.xml +++ b/packages/SystemUI/res/anim/ic_rotate_to_portrait_device_0_animation.xml @@ -1,6 +1,6 @@ - + + android:valueFrom="-135.0" + android:valueTo="-135.0" + android:valueType="floatType" + android:interpolator="@android:interpolator/linear" /> diff --git a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device_1.xml b/packages/SystemUI/res/anim/ic_rotate_to_portrait_device_merged_animation.xml similarity index 96% rename from packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device_1.xml rename to packages/SystemUI/res/anim/ic_rotate_to_portrait_device_merged_animation.xml index c1124af4e234b..a77a536e46c05 100644 --- a/packages/SystemUI/res/anim/ic_portrait_to_auto_rotate_animation_device_1.xml +++ b/packages/SystemUI/res/anim/ic_rotate_to_portrait_device_merged_animation.xml @@ -1,6 +1,6 @@ - + + android:interpolator="@android:interpolator/linear" /> - - - - - - - + android:fillColor="#FFFFFFFF" /> + + + + + + + + diff --git a/packages/SystemUI/res/drawable/ic_portrait_from_auto_rotate_animation.xml b/packages/SystemUI/res/drawable/ic_portrait_from_auto_rotate_animation.xml index 565ef269743dc..b8465f4ba6b63 100644 --- a/packages/SystemUI/res/drawable/ic_portrait_from_auto_rotate_animation.xml +++ b/packages/SystemUI/res/drawable/ic_portrait_from_auto_rotate_animation.xml @@ -1,6 +1,6 @@ - + + + + android:animation="@anim/ic_portrait_to_rotate_arrows_animation" /> + android:name="arrows_0" + android:animation="@anim/ic_portrait_to_rotate_arrows_0_animation" /> - - + android:name="bottom_merged" + android:animation="@anim/ic_portrait_to_rotate_bottom_merged_animation" /> diff --git a/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate.xml b/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate.xml index 88bf486be459c..0ef15f0582f77 100644 --- a/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate.xml +++ b/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate.xml @@ -1,6 +1,6 @@ - - - - - - - + + + + + + + + android:fillAlpha="0" /> diff --git a/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate_animation.xml b/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate_animation.xml index f75617f04befb..6d3fd372b2220 100644 --- a/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate_animation.xml +++ b/packages/SystemUI/res/drawable/ic_portrait_to_auto_rotate_animation.xml @@ -1,6 +1,6 @@ - + + + + android:animation="@anim/ic_rotate_to_portrait_arrows_animation" /> + android:name="arrows_0" + android:animation="@anim/ic_rotate_to_portrait_arrows_0_animation" /> - - + android:name="bottom_merged" + android:animation="@anim/ic_rotate_to_portrait_bottom_merged_animation" /> diff --git a/packages/SystemUI/res/interpolator/ic_rotate_to_portrait_animation_interpolator_0.xml b/packages/SystemUI/res/interpolator/ic_rotate_to_portrait_animation_interpolator_0.xml new file mode 100644 index 0000000000000..793e7fff11e00 --- /dev/null +++ b/packages/SystemUI/res/interpolator/ic_rotate_to_portrait_animation_interpolator_0.xml @@ -0,0 +1,19 @@ + + +