Loading services/java/com/android/server/wm/AppWindowAnimator.java +6 −6 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class AppWindowAnimator { public void setAnimation(Animation anim, boolean initialized) { if (WindowManagerService.localLOGV) Slog.v( TAG, "Setting animation in " + this + ": " + anim); TAG, "Setting animation in " + mAppToken + ": " + anim); animation = anim; animating = false; animInitialized = initialized; Loading @@ -81,7 +81,7 @@ public class AppWindowAnimator { public void setDummyAnimation() { if (animation == null) { if (WindowManagerService.localLOGV) Slog.v( TAG, "Setting dummy animation in " + this); TAG, "Setting dummy animation in " + mAppToken); animation = sDummyAnimation; animInitialized = false; } Loading Loading @@ -165,12 +165,12 @@ public class AppWindowAnimator { transformation.clear(); final boolean more = animation.getTransformation(currentTime, transformation); if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Stepped animation in " + this + ": more=" + more + ", xform=" + transformation); TAG, "Stepped animation in " + mAppToken + ": more=" + more + ", xform=" + transformation); if (!more) { animation = null; clearThumbnail(); if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Finished animation in " + this + " @ " + currentTime); TAG, "Finished animation in " + mAppToken + " @ " + currentTime); } hasTransformation = more; return more; Loading @@ -195,7 +195,7 @@ public class AppWindowAnimator { && animation != null) { if (!animating) { if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Starting animation in " + this + TAG, "Starting animation in " + mAppToken + " @ " + currentTime + ": dw=" + dw + " dh=" + dh + " scale=" + mService.mTransitionAnimationScale + " allDrawn=" + mAppToken.allDrawn + " animating=" + animating); Loading Loading @@ -248,7 +248,7 @@ public class AppWindowAnimator { } if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Animation done in " + this TAG, "Animation done in " + mAppToken + ": reportedVisible=" + mAppToken.reportedVisible); transformation.clear(); Loading services/java/com/android/server/wm/DimSurface.java +8 −1 Original line number Diff line number Diff line Loading @@ -33,10 +33,17 @@ class DimSurface { DimSurface(SurfaceSession session) { if (mDimSurface == null) { try { if (WindowManagerService.DEBUG_SURFACE_TRACE) { mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0, "DimSurface", -1, 16, 16, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); } else { mDimSurface = new Surface(session, 0, "DimSurface", -1, 16, 16, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); } if (WindowManagerService.SHOW_TRANSACTIONS || WindowManagerService.SHOW_SURFACE_ALLOC) Slog.i(WindowManagerService.TAG, " DIM " + mDimSurface + ": CREATE"); Loading services/java/com/android/server/wm/WindowAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -451,9 +451,9 @@ public class WindowAnimator { Surface.openTransaction(); try { testWallpaperAndBackgroundLocked(); updateWindowsAppsAndRotationAnimationsLocked(); performAnimationsLocked(); testWallpaperAndBackgroundLocked(); // THIRD LOOP: Update the surfaces of all windows. Loading Loading
services/java/com/android/server/wm/AppWindowAnimator.java +6 −6 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class AppWindowAnimator { public void setAnimation(Animation anim, boolean initialized) { if (WindowManagerService.localLOGV) Slog.v( TAG, "Setting animation in " + this + ": " + anim); TAG, "Setting animation in " + mAppToken + ": " + anim); animation = anim; animating = false; animInitialized = initialized; Loading @@ -81,7 +81,7 @@ public class AppWindowAnimator { public void setDummyAnimation() { if (animation == null) { if (WindowManagerService.localLOGV) Slog.v( TAG, "Setting dummy animation in " + this); TAG, "Setting dummy animation in " + mAppToken); animation = sDummyAnimation; animInitialized = false; } Loading Loading @@ -165,12 +165,12 @@ public class AppWindowAnimator { transformation.clear(); final boolean more = animation.getTransformation(currentTime, transformation); if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Stepped animation in " + this + ": more=" + more + ", xform=" + transformation); TAG, "Stepped animation in " + mAppToken + ": more=" + more + ", xform=" + transformation); if (!more) { animation = null; clearThumbnail(); if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Finished animation in " + this + " @ " + currentTime); TAG, "Finished animation in " + mAppToken + " @ " + currentTime); } hasTransformation = more; return more; Loading @@ -195,7 +195,7 @@ public class AppWindowAnimator { && animation != null) { if (!animating) { if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Starting animation in " + this + TAG, "Starting animation in " + mAppToken + " @ " + currentTime + ": dw=" + dw + " dh=" + dh + " scale=" + mService.mTransitionAnimationScale + " allDrawn=" + mAppToken.allDrawn + " animating=" + animating); Loading Loading @@ -248,7 +248,7 @@ public class AppWindowAnimator { } if (WindowManagerService.DEBUG_ANIM) Slog.v( TAG, "Animation done in " + this TAG, "Animation done in " + mAppToken + ": reportedVisible=" + mAppToken.reportedVisible); transformation.clear(); Loading
services/java/com/android/server/wm/DimSurface.java +8 −1 Original line number Diff line number Diff line Loading @@ -33,10 +33,17 @@ class DimSurface { DimSurface(SurfaceSession session) { if (mDimSurface == null) { try { if (WindowManagerService.DEBUG_SURFACE_TRACE) { mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0, "DimSurface", -1, 16, 16, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); } else { mDimSurface = new Surface(session, 0, "DimSurface", -1, 16, 16, PixelFormat.OPAQUE, Surface.FX_SURFACE_DIM); } if (WindowManagerService.SHOW_TRANSACTIONS || WindowManagerService.SHOW_SURFACE_ALLOC) Slog.i(WindowManagerService.TAG, " DIM " + mDimSurface + ": CREATE"); Loading
services/java/com/android/server/wm/WindowAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -451,9 +451,9 @@ public class WindowAnimator { Surface.openTransaction(); try { testWallpaperAndBackgroundLocked(); updateWindowsAppsAndRotationAnimationsLocked(); performAnimationsLocked(); testWallpaperAndBackgroundLocked(); // THIRD LOOP: Update the surfaces of all windows. Loading