summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/anim
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-05-08 14:27:02 -0700
committerCraig Mautner <cmautner@google.com>2013-05-08 14:27:02 -0700
commitc20054a16691ddba0a885351c63e6bf7dcbd2faa (patch)
tree693b775fdda82c6264bc8c0a6e0c91b05e0c77c3 /packages/SystemUI/res/anim
parent525f3d9df632e485d1f75d8336e28a266eb7d96c (diff)
downloadframeworks_base-c20054a16691ddba0a885351c63e6bf7dcbd2faa.zip
frameworks_base-c20054a16691ddba0a885351c63e6bf7dcbd2faa.tar.gz
frameworks_base-c20054a16691ddba0a885351c63e6bf7dcbd2faa.tar.bz2
Eliminate flash when going from home to recents
When the wallpaper animation is coupled to the recents animation it will go from fully transparent to visible along with it. In master this is causing noticable jank if we are going from the home screen where it was previously visible. Detaching the wallpaper animation from the recents animation fixes it. Change-Id: If1d1a1478530610017d954983b00ca6101cbaa8b
Diffstat (limited to 'packages/SystemUI/res/anim')
-rw-r--r--packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_enter.xml1
-rw-r--r--packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_exit.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_enter.xml b/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_enter.xml
index 121daae..73ae9f2 100644
--- a/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_enter.xml
+++ b/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_enter.xml
@@ -18,6 +18,7 @@
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
android:shareInterpolator="false"
android:zAdjustment="normal">
<!--scale android:fromXScale="2.0" android:toXScale="1.0"
diff --git a/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_exit.xml b/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_exit.xml
index fa28cf4..7e257d9 100644
--- a/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_exit.xml
+++ b/packages/SystemUI/res/anim/wallpaper_recents_launch_from_launcher_exit.xml
@@ -18,6 +18,7 @@
-->
<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:detachWallpaper="true"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"