From 3b3e145d3c41fd68974e08f799b1fd1f8f060cf0 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 24 Sep 2009 19:22:12 -0700 Subject: [PATCH] A variety of work on animations. - The lock screen now fades in and out. - Fixed a bug where we would accidentally freeze the screen when switching to an activity with a different orientation than the current (but the screen itself is in the current orientation). This would mess up the animations on the car dock. - New API to force a particular animation for an activity transition (untested). - New wallpaper animations. - Resources now uses the next API version when in a development build, to help applications being developed against such builds. Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b --- api/current.xml | 15 + core/java/android/app/Activity.java | 17 + .../android/app/ActivityManagerNative.java | 25 + core/java/android/app/IActivityManager.java | 4 + .../android/content/pm/ApplicationInfo.java | 2 +- core/java/android/content/res/Resources.java | 7 +- core/java/android/view/IWindowManager.aidl | 1 + core/java/android/view/WindowManager.java | 7 + .../android/view/WindowManagerPolicy.java | 60 ++- .../res/res/anim/lock_screen_behind_enter.xml | 23 + core/res/res/anim/lock_screen_exit.xml | 3 +- core/res/res/anim/wallpaper_close_enter.xml | 15 + core/res/res/anim/wallpaper_close_exit.xml | 13 + core/res/res/anim/wallpaper_open_enter.xml | 13 + core/res/res/anim/wallpaper_open_exit.xml | 14 + core/res/res/values/config.xml | 2 +- .../android/server/WindowManagerService.java | 445 +++++++++++++----- .../server/am/ActivityManagerService.java | 23 + 18 files changed, 557 insertions(+), 132 deletions(-) create mode 100644 core/res/res/anim/lock_screen_behind_enter.xml diff --git a/api/current.xml b/api/current.xml index 35bfab3b1b67e..d5f3f4640b750 100644 --- a/api/current.xml +++ b/api/current.xml @@ -16877,6 +16877,21 @@ visibility="public" > + + + + + +