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 --- ...rtrait_from_auto_rotate_animation_arrow_top.xml | 33 ------------ ...portrait_to_auto_rotate_animation_arrow_top.xml | 33 ------------ ...ic_portrait_to_auto_rotate_animation_arrows.xml | 54 ------------------- ...> ic_portrait_to_rotate_arrows_0_animation.xml} | 31 ++++++----- .../ic_portrait_to_rotate_arrows_animation.xml | 26 +++++++++ ...portrait_to_rotate_bottom_merged_animation.xml} | 15 +++--- ...> ic_portrait_to_rotate_device_0_animation.xml} | 10 ++-- ...portrait_to_rotate_device_merged_animation.xml} | 11 ++-- .../ic_rotate_to_portrait_arrows_0_animation.xml | 33 ++++++++++++ .../ic_rotate_to_portrait_arrows_animation.xml | 26 +++++++++ ...rotate_to_portrait_bottom_merged_animation.xml} | 15 +++--- ...> ic_rotate_to_portrait_device_0_animation.xml} | 17 +++--- ...rotate_to_portrait_device_merged_animation.xml} | 7 +-- .../res/drawable/ic_portrait_from_auto_rotate.xml | 57 ++++++++++---------- .../ic_portrait_from_auto_rotate_animation.xml | 27 +++++----- .../res/drawable/ic_portrait_to_auto_rotate.xml | 61 +++++++++++----------- .../ic_portrait_to_auto_rotate_animation.xml | 27 +++++----- ...rotate_to_portrait_animation_interpolator_0.xml | 19 +++++++ 18 files changed, 251 insertions(+), 251 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 4e20d8190bbc..000000000000 --- 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 682dcf35e076..000000000000 --- 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 9fa8ec0d65d4..000000000000 --- 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 61bdfeaa27a0..ad2a5fad5268 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 000000000000..cdb7890dc170 --- /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 4e20d8190bbc..46100b407831 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 6a0a20bd1242..8f6d24d0d61d 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 92b19add4bcb..300ed53052a8 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 000000000000..6e8941d608cd --- /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 682dcf35e076..3c3c131ef16b 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 3208eee2c2c6..fd8e4f881160 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 c1124af4e234..a77a536e46c0 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 565ef269743d..b8465f4ba6b6 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:name="device_0" + android:animation="@anim/ic_portrait_to_rotate_device_0_animation" /> + android:name="device_merged" + android:animation="@anim/ic_portrait_to_rotate_device_merged_animation" /> + android:name="arrows" + 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 88bf486be459..0ef15f0582f7 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 f75617f04bef..6d3fd372b222 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:name="device_0" + android:animation="@anim/ic_rotate_to_portrait_device_0_animation" /> + android:name="device_merged" + android:animation="@anim/ic_rotate_to_portrait_device_merged_animation" /> + android:name="arrows" + 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 000000000000..793e7fff11e0 --- /dev/null +++ b/packages/SystemUI/res/interpolator/ic_rotate_to_portrait_animation_interpolator_0.xml @@ -0,0 +1,19 @@ + + + -- 2.11.0