Merge "Add alpha animation for 180 rotation" into rvc-dev am: 04e81462ce

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12033206

Change-Id: I13e1817d9188793c2c906119c935ed14b2d03890
This commit is contained in:
TreeHugger Robot
2020-06-30 03:32:24 +00:00
committed by Automerger Merge Worker
2 changed files with 12 additions and 1 deletions

View File

@@ -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" />
<alpha android:fromAlpha="0.0" android:toAlpha="1.0"
android:fillEnabled="true"
android:fillBefore="true" android:fillAfter="true"
android:interpolator="@interpolator/screen_rotation_alpha_in"
android:startOffset="@android:integer/config_screen_rotation_fade_in_delay"
android:duration="@android:integer/config_screen_rotation_fade_in" />
</set>

View File

@@ -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" />
</set>
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
android:fillEnabled="true"
android:fillBefore="true" android:fillAfter="true"
android:interpolator="@interpolator/screen_rotation_alpha_out"
android:duration="@android:integer/config_screen_rotation_fade_out" />
</set>