summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-05-09 11:17:19 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-09 11:17:19 -0700
commit393295fabff828d3bc974a617d152ff0895a4071 (patch)
tree9330e874ab9f72036b9bdde1dabf3c2652738168
parent14124c696d82e68f93baed905ca01fc498ae1fc6 (diff)
parenta83580614f4f75f7d474e81c7c10c2c784df1380 (diff)
downloadframeworks_base-393295fabff828d3bc974a617d152ff0895a4071.zip
frameworks_base-393295fabff828d3bc974a617d152ff0895a4071.tar.gz
frameworks_base-393295fabff828d3bc974a617d152ff0895a4071.tar.bz2
Merge "Keep layout from overwriting translate dimensions" into jb-dev
-rwxr-xr-xservices/java/com/android/server/wm/WindowManagerService.java18
1 files changed, 1 insertions, 17 deletions
diff --git a/services/java/com/android/server/wm/WindowManagerService.java b/services/java/com/android/server/wm/WindowManagerService.java
index 7687852..8957edf 100755
--- a/services/java/com/android/server/wm/WindowManagerService.java
+++ b/services/java/com/android/server/wm/WindowManagerService.java
@@ -6671,8 +6671,7 @@ public class WindowManagerService extends IWindowManager.Stub
public static final int SET_TRANSPARENT_REGION = ANIMATOR_WHAT_OFFSET + 1;
public static final int SET_WALLPAPER_OFFSET = ANIMATOR_WHAT_OFFSET + 2;
public static final int SET_DIM_PARAMETERS = ANIMATOR_WHAT_OFFSET + 3;
- public static final int SET_MOVE_ANIMATION = ANIMATOR_WHAT_OFFSET + 4;
- public static final int CLEAR_PENDING_ACTIONS = ANIMATOR_WHAT_OFFSET + 5;
+ public static final int CLEAR_PENDING_ACTIONS = ANIMATOR_WHAT_OFFSET + 4;
private Session mLastReportedHold;
@@ -7156,18 +7155,6 @@ public class WindowManagerService extends IWindowManager.Stub
break;
}
- case SET_MOVE_ANIMATION: {
- WindowAnimator.SetAnimationParams params =
- (WindowAnimator.SetAnimationParams) msg.obj;
- WindowStateAnimator winAnimator = params.mWinAnimator;
- winAnimator.setAnimation(params.mAnimation);
- winAnimator.mAnimDw = params.mAnimDw;
- winAnimator.mAnimDh = params.mAnimDh;
-
- scheduleAnimationLocked();
- break;
- }
-
case CLEAR_PENDING_ACTIONS: {
mAnimator.clearPendingActions();
break;
@@ -8415,9 +8402,6 @@ public class WindowManagerService extends IWindowManager.Stub
winAnimator.setAnimation(a);
winAnimator.mAnimDw = w.mLastFrame.left - w.mFrame.left;
winAnimator.mAnimDh = w.mLastFrame.top - w.mFrame.top;
- } else {
- winAnimator.mAnimDw = innerDw;
- winAnimator.mAnimDh = innerDh;
}
//Slog.i(TAG, "Window " + this + " clearing mContentChanged - done placing");