Loading services/core/java/com/android/server/wm/ActivityRecord.java +9 −16 Original line number Diff line number Diff line Loading @@ -620,10 +620,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A // TODO: Make this final int mTargetSdk; // Set to true when this app creates a surface while in the middle of an animation. In that // case do not clear allDrawn until the animation completes. boolean deferClearAllDrawn; // Is this window's surface needed? This is almost like visible, except // it will sometimes be true a little earlier: when the activity record has // been shown, but is still waiting for its app transition to execute Loading Loading @@ -771,10 +767,10 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A pw.print(" primaryColor="); pw.println(Integer.toHexString(taskDescription.getPrimaryColor())); pw.print(prefix + " backgroundColor="); pw.println(Integer.toHexString(taskDescription.getBackgroundColor())); pw.print(prefix + " statusBarColor="); pw.println(Integer.toHexString(taskDescription.getStatusBarColor())); pw.print(prefix + " navigationBarColor="); pw.print(Integer.toHexString(taskDescription.getBackgroundColor())); pw.print(" statusBarColor="); pw.print(Integer.toHexString(taskDescription.getStatusBarColor())); pw.print(" navigationBarColor="); pw.println(Integer.toHexString(taskDescription.getNavigationBarColor())); } } Loading Loading @@ -847,14 +843,13 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A pw.println(requestedVrComponent); } super.dump(pw, prefix, dumpAll); pw.print(" visible="); pw.print(mVisible); if (appToken != null) { pw.println(prefix + "app=true mVoiceInteraction=" + mVoiceInteraction); if (mVoiceInteraction) { pw.println(prefix + "mVoiceInteraction=true"); } pw.print(prefix); pw.print("mOccludesParent="); pw.print(mOccludesParent); pw.print(" mOrientation="); pw.println(mOrientation); pw.println(prefix + "mVisibleRequested=" + mVisibleRequested + " mClientVisible=" + mClientVisible + " mVisible=" + mVisible + " mClientVisible=" + mClientVisible + ((mDeferHidingClient) ? " mDeferHidingClient=" + mDeferHidingClient : "") + " reportedDrawn=" + reportedDrawn + " reportedVisible=" + reportedVisible); if (paused) { Loading Loading @@ -3234,7 +3229,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A // to move that animation to the new one. if (fromActivity.allDrawn) { allDrawn = true; deferClearAllDrawn = fromActivity.deferClearAllDrawn; } if (fromActivity.firstWindowDrawn) { firstWindowDrawn = true; Loading Loading @@ -3718,7 +3712,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A void clearAllDrawn() { allDrawn = false; deferClearAllDrawn = false; } /** Loading services/core/java/com/android/server/wm/AppTransitionController.java +0 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,6 @@ public class AppTransitionController { // this guy's animations regardless of whether it's // gotten drawn. wtoken.allDrawn = true; wtoken.deferClearAllDrawn = false; // Ensure that apps that are mid-starting are also scheduled to have their // starting windows removed after the animation is complete if (wtoken.startingWindow != null && !wtoken.startingWindow.mAnimatingExit) { Loading services/core/java/com/android/server/wm/WindowStateAnimator.java +0 −4 Original line number Diff line number Diff line Loading @@ -439,10 +439,6 @@ class WindowStateAnimator { if (!mWin.mActivityRecord.isAnimating(TRANSITION)) { mWin.mActivityRecord.clearAllDrawn(); } else { // Currently animating, persist current state of allDrawn until animation // is complete. mWin.mActivityRecord.deferClearAllDrawn = true; } } Loading services/core/java/com/android/server/wm/WindowToken.java +3 −2 Original line number Diff line number Diff line Loading @@ -280,10 +280,11 @@ class WindowToken extends WindowContainer<WindowState> { super.dump(pw, prefix, dumpAll); pw.print(prefix); pw.print("windows="); pw.println(mChildren); pw.print(prefix); pw.print("windowType="); pw.print(windowType); pw.print(" hasVisible="); pw.println(hasVisible); pw.print(" hasVisible="); pw.print(hasVisible); if (waitingToShow) { pw.print(prefix); pw.print("waitingToShow="); pw.print(waitingToShow); pw.print(" waitingToShow=true"); } pw.println(); } @Override Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +9 −16 Original line number Diff line number Diff line Loading @@ -620,10 +620,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A // TODO: Make this final int mTargetSdk; // Set to true when this app creates a surface while in the middle of an animation. In that // case do not clear allDrawn until the animation completes. boolean deferClearAllDrawn; // Is this window's surface needed? This is almost like visible, except // it will sometimes be true a little earlier: when the activity record has // been shown, but is still waiting for its app transition to execute Loading Loading @@ -771,10 +767,10 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A pw.print(" primaryColor="); pw.println(Integer.toHexString(taskDescription.getPrimaryColor())); pw.print(prefix + " backgroundColor="); pw.println(Integer.toHexString(taskDescription.getBackgroundColor())); pw.print(prefix + " statusBarColor="); pw.println(Integer.toHexString(taskDescription.getStatusBarColor())); pw.print(prefix + " navigationBarColor="); pw.print(Integer.toHexString(taskDescription.getBackgroundColor())); pw.print(" statusBarColor="); pw.print(Integer.toHexString(taskDescription.getStatusBarColor())); pw.print(" navigationBarColor="); pw.println(Integer.toHexString(taskDescription.getNavigationBarColor())); } } Loading Loading @@ -847,14 +843,13 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A pw.println(requestedVrComponent); } super.dump(pw, prefix, dumpAll); pw.print(" visible="); pw.print(mVisible); if (appToken != null) { pw.println(prefix + "app=true mVoiceInteraction=" + mVoiceInteraction); if (mVoiceInteraction) { pw.println(prefix + "mVoiceInteraction=true"); } pw.print(prefix); pw.print("mOccludesParent="); pw.print(mOccludesParent); pw.print(" mOrientation="); pw.println(mOrientation); pw.println(prefix + "mVisibleRequested=" + mVisibleRequested + " mClientVisible=" + mClientVisible + " mVisible=" + mVisible + " mClientVisible=" + mClientVisible + ((mDeferHidingClient) ? " mDeferHidingClient=" + mDeferHidingClient : "") + " reportedDrawn=" + reportedDrawn + " reportedVisible=" + reportedVisible); if (paused) { Loading Loading @@ -3234,7 +3229,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A // to move that animation to the new one. if (fromActivity.allDrawn) { allDrawn = true; deferClearAllDrawn = fromActivity.deferClearAllDrawn; } if (fromActivity.firstWindowDrawn) { firstWindowDrawn = true; Loading Loading @@ -3718,7 +3712,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A void clearAllDrawn() { allDrawn = false; deferClearAllDrawn = false; } /** Loading
services/core/java/com/android/server/wm/AppTransitionController.java +0 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,6 @@ public class AppTransitionController { // this guy's animations regardless of whether it's // gotten drawn. wtoken.allDrawn = true; wtoken.deferClearAllDrawn = false; // Ensure that apps that are mid-starting are also scheduled to have their // starting windows removed after the animation is complete if (wtoken.startingWindow != null && !wtoken.startingWindow.mAnimatingExit) { Loading
services/core/java/com/android/server/wm/WindowStateAnimator.java +0 −4 Original line number Diff line number Diff line Loading @@ -439,10 +439,6 @@ class WindowStateAnimator { if (!mWin.mActivityRecord.isAnimating(TRANSITION)) { mWin.mActivityRecord.clearAllDrawn(); } else { // Currently animating, persist current state of allDrawn until animation // is complete. mWin.mActivityRecord.deferClearAllDrawn = true; } } Loading
services/core/java/com/android/server/wm/WindowToken.java +3 −2 Original line number Diff line number Diff line Loading @@ -280,10 +280,11 @@ class WindowToken extends WindowContainer<WindowState> { super.dump(pw, prefix, dumpAll); pw.print(prefix); pw.print("windows="); pw.println(mChildren); pw.print(prefix); pw.print("windowType="); pw.print(windowType); pw.print(" hasVisible="); pw.println(hasVisible); pw.print(" hasVisible="); pw.print(hasVisible); if (waitingToShow) { pw.print(prefix); pw.print("waitingToShow="); pw.print(waitingToShow); pw.print(" waitingToShow=true"); } pw.println(); } @Override Loading