diff options
author | Michael Jurka <mikejurka@google.com> | 2012-06-14 11:57:50 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-06-14 11:57:50 -0700 |
commit | b9a38c57fc47858eb16f4a8b7aa3d3dc9b98166c (patch) | |
tree | 23954f688842d172aba5ecab9041a1bd66ad2d45 | |
parent | d772c4878e2207795e92b26a462fd02bca7e3c2e (diff) | |
download | frameworks_base-b9a38c57fc47858eb16f4a8b7aa3d3dc9b98166c.zip frameworks_base-b9a38c57fc47858eb16f4a8b7aa3d3dc9b98166c.tar.gz frameworks_base-b9a38c57fc47858eb16f4a8b7aa3d3dc9b98166c.tar.bz2 |
Tweak recents launch app animation
- Sometimes the black background would flash; changing
animation durations to make this much less likely
- Fixing issue in Recents where we sometimes forgot
to disable drawing caches on views after enabling them
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java | 2 | ||||
-rwxr-xr-x | services/java/com/android/server/wm/WindowManagerService.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index bec9aa2..0bdf84a 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -790,7 +790,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener if (DEBUG) Log.v(TAG, "Starting activity " + intent); context.startActivity(intent, opts.toBundle()); } - if (!usingDrawingCache) { + if (usingDrawingCache) { holder.thumbnailViewImage.setDrawingCacheEnabled(false); } } diff --git a/services/java/com/android/server/wm/WindowManagerService.java b/services/java/com/android/server/wm/WindowManagerService.java index b85573f..a3f2c3e 100755 --- a/services/java/com/android/server/wm/WindowManagerService.java +++ b/services/java/com/android/server/wm/WindowManagerService.java @@ -3237,7 +3237,7 @@ public class WindowManagerService extends IWindowManager.Stub if (delayed) { a = new AlphaAnimation(1, 0); a.setStartOffset(0); - a.setDuration(delayDuration - 50); + a.setDuration(delayDuration - 120); a.setBackgroundColor(0xFF000000); } else { a = createExitAnimationLocked(transit, duration); |