From 1e9f6a5938672635a3caf5a1fa08388a2b450510 Mon Sep 17 00:00:00 2001 From: Riddle Hsu Date: Tue, 30 Jun 2020 02:06:52 +0800 Subject: [PATCH] Add alpha animation for 180 rotation Fixes: 160161214 Test: Rotate device with 180 degree and check there is no obvious jump cut. Change-Id: I6fb195edd580e0e07d3feea8b52079342213646d --- core/res/res/anim/screen_rotate_180_enter.xml | 6 ++++++ core/res/res/anim/screen_rotate_180_exit.xml | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/core/res/res/anim/screen_rotate_180_enter.xml b/core/res/res/anim/screen_rotate_180_enter.xml index 889a615e07f48..3b6b4072dbcde 100644 --- a/core/res/res/anim/screen_rotate_180_enter.xml +++ b/core/res/res/anim/screen_rotate_180_enter.xml @@ -25,4 +25,10 @@ android:fillBefore="true" android:fillAfter="true" android:interpolator="@interpolator/fast_out_slow_in" android:duration="@android:integer/config_screen_rotation_total_180" /> + diff --git a/core/res/res/anim/screen_rotate_180_exit.xml b/core/res/res/anim/screen_rotate_180_exit.xml index 766fcfae1f91b..26fb6d8df506b 100644 --- a/core/res/res/anim/screen_rotate_180_exit.xml +++ b/core/res/res/anim/screen_rotate_180_exit.xml @@ -25,4 +25,9 @@ android:fillBefore="true" android:fillAfter="true" android:interpolator="@interpolator/fast_out_slow_in" android:duration="@android:integer/config_screen_rotation_total_180" /> - \ No newline at end of file + +